/* =====================================================================
   SUB/orgmap_set — 조직도 세트 (맵 + 바뀌는 이미지 + 섹션 보이기, 상하 / 좌우)
   .om_wrap 클래스 : om_lay_{tb|lr} om_al_* om_bw_* om_iw_* om_hl_off om_has_bg om_has_mo om_no_pc
   .om_wrap 변수   : --om-pt/pb/pl/pr (바깥 여백) --om-bg --om-r --om-bp (박스) --om-lw (좌우 왼쪽 폭) --om-gap
   ===================================================================== */
.orgmap_set{width:100%; float:left; position:relative;}
.orgmap_set.om_inner_off > .contents-container{width:100% !important; max-width:100% !important; padding-left:0 !important; padding-right:0 !important;}

.orgmap_set .om_wrap{
  width:100%; float:left; box-sizing:border-box;
  padding:var(--om-pt, 0) var(--om-pr, 0) var(--om-pb, 0) var(--om-pl, 0);
}
/* 좌우 배열 : 왼쪽 = 맵 / 오른쪽 = 고른 섹션 (JS 가 섹션을 옮겨 넣음) */
.orgmap_set .om_lay_lr{display:flex; align-items:flex-start; gap:var(--om-gap, 40px);}
.orgmap_set .om_lay_lr > .om_left{flex:0 0 calc(var(--om-lw, 50%) - var(--om-gap, 40px) / 2); min-width:0;}
.orgmap_set .om_lay_lr > .om_right{flex:1 1 0; min-width:0;}
.orgmap_set .om_right > .block_box{width:100%; float:none;}
.orgmap_set .om_right > .block_box .contents-container{width:100% !important; max-width:100% !important; padding-left:0 !important; padding-right:0 !important;}

.orgmap_set .om_left{text-align:center;}
.orgmap_set .om_al_left .om_left{text-align:left;}
.orgmap_set .om_al_right .om_left{text-align:right;}

/* 감싸는 박스 */
.orgmap_set .om_box{
  display:inline-block; vertical-align:top; max-width:100%; box-sizing:border-box;
  padding:var(--om-bp, 0); background:var(--om-bg, transparent); border-radius:var(--om-r, 0); text-align:inherit;
}
.orgmap_set .om_bw_full .om_box{display:block; width:100%;}
.orgmap_set .om_frame{display:inline-block; vertical-align:top; max-width:100%; line-height:0; border-radius:max(0px, calc(var(--om-r, 0px) - var(--om-bp, 0px))); overflow:hidden;}
.orgmap_set .om_wrap:not(.om_has_bg) .om_frame{border-radius:var(--om-r, 0px);}
.orgmap_set .om_iw_full .om_frame{display:block; width:100%;}

/* 무대 = 바탕 이미지 크기 그대로 (영역 % 기준) · 바뀔 이미지는 같은 크기로 겹쳐 페이드 */
.orgmap_set .om_stage{position:relative; display:inline-block; max-width:100%; vertical-align:top;}
.orgmap_set .om_iw_full .om_stage{display:block; width:100%;}
.orgmap_set .om_base{display:block; max-width:100%; height:auto;}
.orgmap_set .om_iw_full .om_base{width:100%;}
.orgmap_set .om_layer{position:absolute; inset:0; width:100%; height:100%; object-fit:fill; opacity:0; transition:opacity .25s ease; pointer-events:none;}
.orgmap_set .om_layer.show{opacity:1;}
.orgmap_set .om_map{position:absolute; inset:0; z-index:2;}
.orgmap_set .om_area{position:absolute; display:block; cursor:pointer; border-radius:4px; transition:background-color .2s, box-shadow .2s;}
.orgmap_set .om_area:hover,
.orgmap_set .om_area:focus-visible{background:rgba(255,255,255,.18); box-shadow:0 0 0 2px rgba(255,255,255,.85), 0 0 0 4px color-mix(in srgb, var(--primary, #2563eb) 70%, transparent); outline:none;}
.orgmap_set .om_hl_off .om_area:hover{background:none; box-shadow:none;}
.orgmap_set .om_wrap[data-om] .om_area{outline:1px dashed rgba(124,58,237,.45); outline-offset:-1px;}
.orgmap_set .om_wrap.om_hl_off .om_area,
body.wg-labels-off .orgmap_set .om_area{outline:0;}

/* ★ (2026-11-24) CSS 도형 방식 (.om_css) — 무대 = 도화지 크기 투명 SVG · 상자 크기·글자·둥글기·테두리 = 도화지 폭 비례(cqw) → 화면이 줄면 PC 모습 그대로 축소
   상자 변수 : --bg --fc --bc --bw --r --fs --fw (평소) · --abg --afc --abc (눌렀을 때 .on) · 무대 --cw = 도화지 가로 px */
.orgmap_set .om_css .om_frame{display:block; width:100%;}
.orgmap_set .om_css .om_stage{display:block; width:100%; container-type:inline-size;}
.orgmap_set .om_css .om_base{width:100%;}
/* ★1124 CSS 도형 방식도 [이미지 폭 = 원본 크기] 따름 — 도화지 가로(--cw px)까지만 · 칸이 그보다 좁으면 100% 로 줄어듦 · 박스 정렬(왼쪽·가운데·오른쪽) 따름 */
.orgmap_set .om_css.om_iw_auto .om_stage{width:min(100%, calc(var(--cw, 1460) * 1px));}
.orgmap_set .om_css.om_iw_auto.om_al_center .om_stage{margin-left:auto; margin-right:auto;}
.orgmap_set .om_css.om_iw_auto.om_al_right .om_stage{margin-left:auto;}
/* ★1127 그림 크기 비율 (@om_sc PC · @om_scm 모바일, --om-sc 1 = 100%) — 무대 폭만 바꾸면 상자·글자·선·원이 도화지 비례(%·cqw)라 그린 모양 그대로 축소·확대
   박스 가득 = 칸 폭 × 비율 (100% 넘으면 칸 폭까지) · CSS 도형 원본 크기 = 도화지 px × 비율 · 이미지 원본 크기 = zoom · 정렬(왼쪽·가운데·오른쪽) 따름 */
.orgmap_set .om_wrap .om_st_pc{--om-s:var(--om-sc, 1);}
.orgmap_set .om_wrap .om_st_mo{--om-s:var(--om-scm, 1);}
.orgmap_set .om_wrap.om_iw_full .om_stage{width:calc(100% * min(1, var(--om-s, 1)));}
.orgmap_set .om_wrap.om_css.om_iw_auto .om_stage{width:min(100%, calc(var(--cw, 1460) * 1px * var(--om-s, 1)));}
.orgmap_set .om_wrap.om_iw_auto:not(.om_css) .om_stage{zoom:var(--om-s, 1);}
.orgmap_set .om_wrap.om_iw_full.om_al_center .om_stage{margin-left:auto; margin-right:auto;}
.orgmap_set .om_wrap.om_iw_full.om_al_right .om_stage{margin-left:auto;}
.orgmap_set .om_area.om_bx{
  display:flex; align-items:center; justify-content:center; box-sizing:border-box; padding:0 calc(6 / var(--cw, 1460) * 100cqw);
  background:var(--bg); color:var(--fc); border:calc(var(--bw, 0) / var(--cw, 1460) * 100cqw) solid var(--bc);
  border-radius:calc(var(--rtl, var(--r, 10)) / var(--cw, 1460) * 100cqw) calc(var(--rtr, var(--r, 10)) / var(--cw, 1460) * 100cqw) calc(var(--rbr, var(--r, 10)) / var(--cw, 1460) * 100cqw) calc(var(--rbl, var(--r, 10)) / var(--cw, 1460) * 100cqw);   /* 둥글기 4각 */
  font-size:calc(var(--fs, 18) / var(--cw, 1460) * 100cqw); font-weight:var(--fw, 600);
  line-height:1.3; text-align:center; text-decoration:none; word-break:keep-all; outline:0 !important;
  transition:background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.orgmap_set .om_area.om_bx.on{background:var(--abg); color:var(--afc); border-color:var(--abc);}
.orgmap_set .om_area.om_bx:not(.om_deco):hover{background:var(--bg); box-shadow:0 6px 16px rgba(0,0,0,.12); transform:translateY(-1px);}
.orgmap_set .om_area.om_bx.on:hover{background:var(--abg);}
.orgmap_set .om_area.om_bx:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--primary, #2563eb) 60%, transparent);}
.orgmap_set .om_area.om_deco{cursor:default; pointer-events:none;}   /* 장식 상자 = 마우스 반응 없음 (기본 .om_area:hover 링·배경도 안 걸림) */
.orgmap_set .om_area.om_deco:hover{box-shadow:none; transform:none; background:var(--bg);}
.orgmap_set .om_wrap[data-om] .om_area.om_deco{pointer-events:auto;}   /* 편집 권한자 = 장식 상자도 Shift+클릭으로 글자 고치기 (눌림·호버 효과는 그대로 없음) */
.orgmap_set .om_area.om_bx.om_deco.on{background:var(--bg); color:var(--fc); border-color:var(--bc);}   /* 장식 상자는 「눌렀을 때」 색 없음 */
.orgmap_set .om_bxt{display:block; pointer-events:none;}
.orgmap_set .om_bxh{line-height:1.3;}   /* 상자 글자 HTML — 안쪽 블록 여백 0 · 줄 여러 개 */
.orgmap_set .om_bxh > *{margin-top:0; margin-bottom:0;}
.orgmap_set .om_bxh small{display:block; font-size:.78em; font-weight:400; opacity:.85;}
/* 연결선 — 상자 아래 · 두께 = 도화지 px 비례 (non-scaling-stroke + cqw) */
.orgmap_set .om_lines{position:absolute; inset:0; width:100%; height:100%; z-index:1; pointer-events:none; overflow:visible;}
/* ★1124 밑그림을 본문에도 그대로 (gsh) — 도화지 위 맨 아래 층 · 놓은 자리·원래 크기(%) · 도화지 밖은 잘림 */
.orgmap_set .om_gclip{position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0;}
.orgmap_set .om_gclip img.om_gimg{position:absolute; display:block; max-width:none !important; max-height:none !important;}
.orgmap_set .om_lines.front{z-index:3;}   /* 상자 앞 선 (상자 층 .om_map z2 위) */
/* 원(데코) — 채우기 --cf (nofill = 없음) · 테두리 --cbc · 두께 --cbw (도화지 px 비례) */
.orgmap_set .om_lines ellipse{fill:var(--cf, #e8eef7); stroke:var(--cbc, #c3c8d2); stroke-width:calc(var(--cbw, 1) / var(--cw, 1460) * 100cqw); vector-effect:non-scaling-stroke;}
.orgmap_set .om_lines.nofill ellipse{fill:none;}
.orgmap_set .om_lines.dash ellipse{stroke-dasharray:none;}
.orgmap_set .om_area.om_bx.om_circ{border-radius:50%;}
.orgmap_set .om_lines line{stroke:var(--lc, #c3c8d2); stroke-width:calc(var(--lw, 2) / var(--cw, 1460) * 100cqw); vector-effect:non-scaling-stroke; stroke-linecap:square; fill:none;}
.orgmap_set .om_lines.dash line{stroke-dasharray:calc(var(--lw, 2) * 3 / var(--cw, 1460) * 100cqw) calc(var(--lw, 2) * 3 / var(--cw, 1460) * 100cqw); stroke-linecap:butt;}

/* PC / 모바일 무대 — 전환 폭(@om_mbp, 기본 767)은 widget_body.php 가 위젯 ID 로 범위를 둔 <style id="{uid}_mbp"> 로 출력
   (여기서 display 를 정하면 .om_iw_full .om_stage 규칙과 우선순위가 겹쳐 PC 에서도 모바일이 보였음 — 1028) */
.orgmap_set .om_wrap .om_stage.om_st_mo{display:none;}
@media screen and (max-width:1024px){
  .orgmap_set .om_lay_lr{flex-direction:column; align-items:stretch;}
  .orgmap_set .om_lay_lr > .om_left{flex:none; width:100%;}
  .orgmap_set .om_lay_lr > .om_right{flex:none; width:100%;}
}
@media screen and (max-width:640px){
  .orgmap_set .om_wrap{padding:calc(var(--om-pt, 0px) * .5) calc(var(--om-pr, 0px) * .5) calc(var(--om-pb, 0px) * .5) calc(var(--om-pl, 0px) * .5);}
  .orgmap_set .om_box{padding:calc(var(--om-bp, 0px) * .6);}
  .orgmap_set .om_lay_lr{gap:calc(var(--om-gap, 40px) * .5);}
}

.orgmap_set .om_empty{padding:60px 20px; border:2px dashed #c4b5fd; border-radius:10px; background:#faf5ff; color:#7c3aed; font-size:14px; line-height:1.5;}
.orgmap_set .om_set_btn{
  display:table; margin:0 0 10px auto; position:relative; z-index:40;
  padding:7px 14px; border:0; border-radius:6px; cursor:pointer;
  background:#7c3aed; color:#fff; font-size:13px; font-weight:600; box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.orgmap_set.admin_div .grid_layout_badge{z-index:30;}

/* =====================================================================
   설정창 [조직도 설정] (orgmap_set.js) — 머리 끌기 · 딤 없음
   ===================================================================== */
.omset{position:fixed; inset:0; z-index:2147483600; font-family:inherit; pointer-events:none;}
.omset_box{pointer-events:auto; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:min(1280px, calc(100vw - 30px)); max-height:calc(100vh - 30px); display:flex; flex-direction:column; background:#fff; color:#222; border-radius:14px; box-shadow:0 20px 60px rgba(0,0,0,.35); border:1px solid #e5e7eb;}
.omset_head{display:flex; align-items:center; justify-content:space-between; padding:14px 18px; background:linear-gradient(135deg, #0f766e, #0e7490); color:#fff; cursor:move; user-select:none; touch-action:none; border-radius:14px 14px 0 0;}
.omset_head b{font-size:15px; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.omset_head button{border:0; background:rgba(255,255,255,.2); color:#fff; width:30px; height:30px; border-radius:50%; cursor:pointer; font-size:16px; flex:0 0 auto;}
/* ★1118 [라이브러리] 저장 버튼 — 위 동그라미 규칙에 눌려 "라이"로 찌그러지던 것 → 알약 모양, × 바로 왼쪽 */
.omset_head .hy_lib_save{width:auto; height:28px; padding:0 12px; margin:0 8px 0 12px; border-radius:14px; border:1px solid rgba(255,255,255,.5); background:rgba(255,255,255,.15); color:#fff; font-size:12px; font-weight:600; line-height:26px; white-space:nowrap;}
.omset_head .hy_lib_save:hover{background:#fff; color:#0f766e;}
/* ★ (2026-11-24) 설정 복사 / 붙이기 */
.omset_head .omset_cpbt{width:auto; height:28px; padding:0 12px; margin:0 6px 0 0; border-radius:14px; border:1px solid rgba(255,255,255,.5); background:rgba(255,255,255,.15); color:#fff; font-size:12px; font-weight:600; line-height:26px; white-space:nowrap;}
.omset_head .omset_cpbt:hover{background:#fff; color:#0f766e;}
.omcp{position:fixed; inset:0; z-index:30; pointer-events:auto; display:flex; align-items:center; justify-content:center; background:rgba(17,24,39,.35);}
.omcp_box{width:min(640px, calc(100vw - 32px)); padding:14px; border-radius:12px; background:#fff; box-shadow:0 20px 50px rgba(0,0,0,.35);}
.omcp_h{display:flex; align-items:center; margin-bottom:8px;}
.omcp_h b{font-size:14px; color:#111827;}
.omcp_x{margin-left:auto; width:28px; height:28px; border:0; border-radius:50%; background:#f3f4f6; cursor:pointer; font-size:16px;}
.omcp_ta{width:100%; height:260px; box-sizing:border-box; padding:8px; border:1px solid #d1d5db; border-radius:8px; font:12px/1.4 ui-monospace, Consolas, monospace; resize:vertical;}
.omcp_f{display:flex; align-items:center; gap:6px; margin-top:8px;}
.omcp_f span{margin-right:auto; font-size:12px; color:#6b7280;}
/* 설정 붙이기 확인 창 */
.omcf_from{font-size:12px; color:#6b7280; margin-bottom:10px;}
.omcf_cmp{display:flex; align-items:stretch; gap:8px;}
.omcf_cmp > i{align-self:center; font-style:normal; color:#9ca3af; font-size:18px;}
.omcf_col{flex:1; display:flex; flex-direction:column; gap:3px; padding:10px 12px; border:1px solid #e5e7eb; border-radius:8px; background:#f9fafb; font-size:12px; color:#374151;}
.omcf_col b{font-size:13px; color:#111827;}
.omcf_ck{display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:12px 0 0; font-size:13px; cursor:pointer;}
.omcf_ck input{width:16px; height:16px; margin:0;}
.omcf_ck small{flex-basis:100%; padding-left:22px; color:#9ca3af; font-size:11px;}
.omcf_warn{margin-top:12px; padding:10px 12px; border:1px solid #fca5a5; border-radius:8px; background:#fef2f2; color:#991b1b; font-size:12px; line-height:1.6;}
.omcf_warn input{display:block; width:120px; height:32px; margin-top:6px; padding:0 10px; border:1px solid #f87171; border-radius:6px; font-size:14px; font-weight:700;}
.omcf_go:disabled{opacity:.4; cursor:not-allowed;}
.omset_tabs{display:flex; gap:4px; padding:10px 18px 0; border-bottom:1px solid #e5e7eb; background:#fafafa;}
.omset_tabs button{padding:9px 14px; border:1px solid transparent; border-bottom:0; border-radius:8px 8px 0 0; background:none; color:#6b7280; font-size:13px; font-weight:600; cursor:pointer; margin-bottom:-1px;}
.omset_tabs button.on{background:#fff; border-color:#e5e7eb; color:#0f766e;}
.omset_body{padding:16px 18px; overflow:auto; flex:1;}
.omset_lb{font-size:13px; font-weight:700; color:#374151; margin:6px 0 10px;}
.omset_lb small{font-weight:400; color:#9ca3af; margin-left:6px;}
.omset_sec{border-top:1px solid #f1f1f1; padding-top:12px; margin-top:4px;}
.omset_row{display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-bottom:14px; font-size:13px;}
.omset_row label{display:inline-flex; align-items:center; gap:5px; cursor:pointer;}
.omset_row input[type=range]{width:150px;}
.omset_row b.v{min-width:42px; color:#0f766e; font-weight:700;}
.omset_row input[type=color]{width:34px; height:28px; padding:0; border:1px solid #d1d5db; border-radius:6px; background:#fff; cursor:pointer;}
.omset_seg{display:inline-flex; border:1px solid #d1d5db; border-radius:8px; overflow:hidden; vertical-align:middle;}
.omset_seg button{padding:6px 12px; border:0; border-right:1px solid #e5e7eb; background:#fff; font-size:12px; cursor:pointer; color:#374151;}
.omset_seg button:last-child{border-right:0;}
.omset_seg button.on{background:#0f766e; color:#fff;}
.omset_col{display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border:1px solid #e5e7eb; border-radius:8px; background:#fafafa;}
.omset_col button{font-size:11px; color:#6b7280; border:0; background:none; cursor:pointer; text-decoration:underline;}
.omset_inner{display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 12px; margin-bottom:16px; background:#f0fdfa; border:1px solid #99f6e4; border-radius:10px; font-size:13px;}
.omset_inner label{display:inline-flex; align-items:center; gap:6px; font-weight:700; cursor:pointer;}
.omset_inner span, .omset_note{color:#6b7280; font-size:12px;}
.omset_foot{display:flex; justify-content:flex-end; gap:8px; padding:12px 18px; border-top:1px solid #eee;}
.omset_foot button{padding:9px 18px; border-radius:8px; border:1px solid #d1d5db; background:#fff; cursor:pointer; font-size:13px;}
.omset_foot .omset_save{background:#0f766e; border-color:#0f766e; color:#fff; font-weight:700;}
.omset_foot .omset_draft{border-color:#3B3D72; color:#3B3D72; font-weight:600;}
.omset_foot .omset_draft:hover{background:#3B3D72; color:#fff;}.omset_msg{font-size:12px; color:#6b7280; margin-right:auto; align-self:center;}

/* [맵 · 이미지] 탭 */
.omm_top{display:flex; flex-wrap:wrap; gap:10px; align-items:stretch; margin-bottom:12px;}
.omm_base{display:flex; align-items:center; gap:10px; padding:8px 10px; border:1px solid #e5e7eb; border-radius:10px; background:#fafafa; font-size:12px;}
.omm_base .omm_th{width:56px; height:56px; border-radius:6px; background:#e5e7eb center/cover no-repeat; flex:0 0 auto; display:flex; align-items:center; justify-content:center; color:#9ca3af; font-size:11px;}
.omm_base b{display:block; font-size:12px; color:#374151; margin-bottom:4px;}
.omm_bt{padding:5px 10px; border-radius:6px; border:1px solid #d1d5db; background:#fff; font-size:12px; cursor:pointer;}
.omm_bt.pri{background:#0f766e; border-color:#0f766e; color:#fff; font-weight:600;}
.omm_bt.del{color:#ef4444;}
.omm_bt:disabled{opacity:.45; cursor:default;}
.omm_first{display:flex; align-items:center; gap:8px; padding:8px 10px; border:1px solid #e5e7eb; border-radius:10px; background:#fafafa; font-size:12px;}
.omm_first select{padding:5px 8px; border:1px solid #d1d5db; border-radius:6px; font-size:12px;}
.omm_tip{font-size:12px; color:#6b7280; margin-bottom:8px;}

.omm_stages{display:grid; grid-template-columns:minmax(0, 3fr) minmax(160px, 1fr); gap:14px; align-items:start; margin-bottom:14px;}
.omm_col{background:#f3f4f6; border-radius:10px; padding:10px; text-align:center;}
.omm_col > b{display:block; text-align:left; font-size:12px; color:#374151; margin-bottom:6px;}
.omm_col > b small{font-weight:400; color:#9ca3af;}
.omm_stage{position:relative; display:inline-block; max-width:100%; line-height:0; user-select:none; touch-action:none; box-shadow:0 0 0 1px #d1d5db; background:#fff;}
.omm_stage.draw{cursor:crosshair;}
.omm_stage img{display:block; max-width:100%; max-height:52vh; width:auto; height:auto; pointer-events:none; -webkit-user-drag:none;}
.omm_stage .omm_lay{position:absolute; inset:0; width:100%; height:100%; max-height:none; object-fit:fill; opacity:.92;}
.omm_none{padding:40px 12px; color:#9ca3af; font-size:12px; line-height:1.6;}
/* ★ (2026-11-24) 무대 확대 막대 · 스페이스 끌기 · 전체 화면 · 창 크기 */
.omm_col > b{display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-height:26px;}
.omm_zoom{margin-left:auto; display:inline-flex; align-items:center; gap:4px; font-weight:400;}
.omm_zoom button{width:24px; height:24px; padding:0; border:1px solid #d1d5db; border-radius:6px; background:#fff; color:#374151; font-size:14px; line-height:22px; cursor:pointer;}
.omm_zoom button.fit{width:auto; padding:0 8px; font-size:11px;}
.omm_zoom button:hover{border-color:#3B3D72; color:#3B3D72;}
.omm_zoom input[type=range]{width:90px; margin:0; accent-color:#3B3D72;}
.omm_zoom b{min-width:38px; font-size:11px; font-weight:600; color:#3B3D72; text-align:right;}
.omm_bigbt{margin-left:auto; height:26px; padding:0 10px; border:1px solid #3B3D72; border-radius:6px; background:#fff; color:#3B3D72; font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap;}
.omm_bigbt:hover{background:#3B3D72; color:#fff;}
.omm_bigbt i{font-size:14px; vertical-align:-2px;}
/* 큰 창 맵 그리기 — 위 막대는 항상 보이고, 아래 화면만 스크롤 */
.omz{position:fixed; inset:0; z-index:5; pointer-events:auto; display:flex; flex-direction:column; background:#1f2937;}
.omz[hidden]{display:none;}
.omz_bar{flex:0 0 auto; display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:10px 16px; background:#fff; border-bottom:1px solid #e5e7eb; font-size:13px; color:#374151; box-shadow:0 2px 8px rgba(0,0,0,.15);}
.omz_tit{font-size:15px; color:#111827;}
.omz_seg{display:inline-flex; border:1px solid #d1d5db; border-radius:8px; overflow:hidden;}
.omz_seg button{height:30px; padding:0 12px; border:0; background:#fff; color:#6b7280; font-size:12px; cursor:pointer;}
.omz_seg button + button{border-left:1px solid #d1d5db;}
.omz_seg button.on{background:#3B3D72; color:#fff; font-weight:600;}
.omz_seg button:disabled{color:#d1d5db; cursor:default;}
.omz_sel{display:inline-flex; align-items:center; gap:6px; min-width:0;}
.omz_sel em{font-style:normal; color:#9ca3af; font-size:12px;}
.omz_sel b{display:inline-block; padding:3px 8px; border-radius:6px; background:#0f766e; color:#fff; font-size:12px;}
.omz_sel input{width:170px; height:30px; padding:0 8px; border:1px solid #d1d5db; border-radius:6px; font-size:13px;}
.omz_sel .omz_del{height:30px; padding:0 10px; border:1px solid #fca5a5; border-radius:6px; background:#fff; color:#dc2626; font-size:12px; cursor:pointer;}
.omz .omm_zoom{margin-left:auto;}
.omz .omm_zoom input[type=range]{width:120px;}
.omz_help{font-size:11px; color:#9ca3af;}
.omz_done{height:32px; padding:0 18px; border:0; border-radius:8px; background:#0f766e; color:#fff; font-size:13px; font-weight:700; cursor:pointer;}
.omz_sel span{max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; color:#111827;}
.omz_main{flex:1 1 auto; min-height:0; display:flex;}
.omz_vp{flex:1 1 auto; min-width:0; overflow:auto; padding:24px; text-align:center; overscroll-behavior:contain;}
.omz_side{flex:0 0 360px; overflow-y:auto; overscroll-behavior:contain; background:#f3f4f6; border-left:1px solid #d1d5db; padding:0 12px 16px;}
.omz_side_h{position:sticky; top:0; z-index:1; margin:0 -12px 10px; padding:12px 14px; background:#f3f4f6; border-bottom:1px solid #e5e7eb; font-size:13px; font-weight:700; color:#111827;}
.omz_side_h small{font-weight:400; color:#9ca3af; margin-left:4px;}
.omz_side .omm_list{display:flex; flex-direction:column; gap:10px;}
@media (max-width:900px){ .omz_main{flex-direction:column;} .omz_side{flex:0 0 40vh; border-left:0; border-top:1px solid #d1d5db;} .omz_lp{flex:0 0 30vh; border-right:0; border-bottom:1px solid #d1d5db;} }
.omz_vp .omm_stage{max-width:100%;}
.omset .omz_vp .omm_stage img{max-height:calc(100vh - 120px);}
.omz_vp .omm_none{color:#9ca3af;}
.omz.omm_space .omz_vp, .omz.omm_space .omm_stage.draw, .omz.omm_space .omm_r{cursor:grab;}
.omz_vp.panning, .omz_vp.panning *{cursor:grabbing !important;}
/* ★ (2026-11-24) CSS 도형 미리보기 — 사각형 안 상자 (--k = 화면 배율) */
.omm_stage.cssm{background:#fff;}
.omm_stage img.omm_guide{position:absolute; inset:0; width:100%; height:100%; max-width:none; max-height:none; object-fit:fill; opacity:var(--gop, .45); pointer-events:none;}
/* 확대해도 밑그림·바뀔 이미지가 도화지와 같은 크기 — 큰 창/전체 화면의 "img 높이 제한"(max-height) 이 이 둘에 걸려 세로만 눌리던 것 (1124) */
.omset .omm_stage img.omm_lay{max-width:none !important; max-height:none !important; width:100% !important; height:100% !important;}
.omset .omm_stage img.omm_guide{max-width:none !important; max-height:none !important; inset:auto; left:0; top:0;}   /* 밑그림 = JS 가 left/top/width/height(%) 로 원래 크기 자리 */
/* ✂ 도화지 자르기·늘리기 막대 */
.omm_crop{position:absolute; z-index:9; display:flex; align-items:center; justify-content:center;}
.omm_crop i{display:block; background:#f97316; border:2px solid #fff; border-radius:6px; box-shadow:0 1px 4px rgba(0,0,0,.35);}
.omm_crop[data-e="t"], .omm_crop[data-e="b"]{left:0; right:0; height:16px; cursor:ns-resize;}
.omm_crop[data-e="t"]{top:-8px;} .omm_crop[data-e="b"]{bottom:-8px;}
.omm_crop[data-e="l"], .omm_crop[data-e="r"]{top:0; bottom:0; width:16px; cursor:ew-resize;}
.omm_crop[data-e="l"]{left:-8px;} .omm_crop[data-e="r"]{right:-8px;}
.omm_crop[data-e="t"] i, .omm_crop[data-e="b"] i{width:56px; height:8px;}
.omm_crop[data-e="l"] i, .omm_crop[data-e="r"] i{width:8px; height:56px;}
.omm_crop:hover i{background:#ea580c;}
.omm_stage:has(.omm_crop){outline:2px dashed #f97316; outline-offset:0;}
.omm_crop_sz{position:absolute; z-index:9; right:0; top:-30px; padding:2px 8px; border-radius:6px; background:#f97316; color:#fff; font-size:12px; font-weight:700; line-height:20px; white-space:nowrap; pointer-events:none;}
.omm_crop_box{position:absolute; z-index:10; box-sizing:border-box; border:2px solid #f97316; background:rgba(249,115,22,.08); pointer-events:none;}
.omm_crop_box::after{content:attr(data-sz); position:absolute; right:0; bottom:-28px; padding:2px 8px; border-radius:6px; background:#f97316; color:#fff; font-size:12px; font-weight:700; line-height:20px; white-space:nowrap;}
.omz_crop{height:30px; margin-bottom:2px; border:1px dashed #f97316; border-radius:6px; background:#fff; color:#ea580c; font-size:12px; font-weight:700; cursor:pointer;}
.omz_crop.on{background:#f97316; color:#fff; border-style:solid;}
.omm_gclip{position:absolute; inset:0; overflow:hidden; pointer-events:none;}   /* 도화지 밖으로 나간 밑그림은 안 보이게 (무대는 안 자름 — 모서리 점·연필이 밖으로 나옴) */
.omz_gu{display:flex; align-items:center; gap:8px;}
.omz_gth{flex:0 0 64px; height:44px; border-radius:6px; border:1px solid #d1d5db; background:#fff center/contain no-repeat; display:flex; align-items:center; justify-content:center; color:#9ca3af; font-size:11px;}
.omz_gu small{color:#9ca3af; font-size:11px;}
.omz_gbt{display:flex; gap:4px; margin-top:4px;}
.omz_gsz{display:block; margin-top:2px; font-size:11px; color:#6b7280;}
.omz_gsz.diff{color:#dc2626; font-weight:600;}
.omz_gfit{display:block; margin-top:4px; height:24px; padding:0 8px; border:1px solid #dc2626; border-radius:6px; background:#fff; color:#dc2626; font-size:11px; font-weight:600; cursor:pointer;}
.omz_gfit:hover{background:#dc2626; color:#fff;}
.omz_gfit[hidden]{display:none;}
.omz_gbt .omm_bt{height:26px; padding:0 8px; font-size:11px;}
.omz_gop{display:flex; align-items:center; gap:6px;}
.omz_gop input{flex:1; accent-color:#3B3D72;}
.omz_gop b{min-width:34px; text-align:right; color:#3B3D72; font-size:11px;}
.omm_stage.cssm .omm_r.hasbx{background:transparent; border:1px dashed rgba(15,118,110,.7);}
.omm_stage.cssm .omm_r.hasbx.on{border:2px solid #f97316;}
.omm_bx{position:absolute; inset:0; box-sizing:border-box; display:flex; align-items:center; justify-content:center; text-align:center; pointer-events:none; overflow:hidden; word-break:keep-all;
  padding:0 calc(6px * var(--k, 1)); line-height:1.3; white-space:normal;
  background:var(--bg); color:var(--fc); border:calc(var(--bw) * var(--k, 1) * 1px) solid var(--bc);
  border-radius:calc(var(--rtl, var(--r)) * var(--k, 1) * 1px) calc(var(--rtr, var(--r)) * var(--k, 1) * 1px) calc(var(--rbr, var(--r)) * var(--k, 1) * 1px) calc(var(--rbl, var(--r)) * var(--k, 1) * 1px);
  font-size:calc(var(--fs) * var(--k, 1) * 1px); font-weight:var(--fw);}
/* ★1125 편집 중 고른 상자도 평소 모습 (예전엔 「눌렀을 때」 색 — 고른 표시는 주황 테두리·손잡이 · 눌렀을 때 모습은 스타일 카드 [눌렀을 때] 미리보기) */
.omm_bxt > *{margin-top:0; margin-bottom:0;}
.omm_bxt small{display:block; font-size:.78em; font-weight:400; opacity:.85;}
/* 연결선 (편집기) — 선 도구일 때만 선을 누를 수 있고, 상자는 그 아래로 (끌기 = 새 선) */
.omm_lines{position:absolute; inset:0; width:100%; height:100%; pointer-events:none; overflow:visible;}   /* z 없음 = DOM 순서(back 은 사각형 앞에 끼움 · front 는 뒤에 붙음) */
.omm_lines.hit{z-index:6;}
.omm_bx.circ, .omm_r.circ, .omm_draw.circ{border-radius:50%;}
.omm_lines .oml{stroke:var(--lc); stroke-width:calc(var(--lw) * var(--k, 1) * 1px); vector-effect:non-scaling-stroke; stroke-linecap:square; fill:none;}
.omm_lines .oml.dash{stroke-dasharray:calc(var(--lw) * 3 * var(--k, 1) * 1px) calc(var(--lw) * 3 * var(--k, 1) * 1px); stroke-linecap:butt;}
.omm_lines .oml.sel{stroke:#f97316;}
.omm_lines .oml_hit{stroke:transparent; stroke-width:12px; vector-effect:non-scaling-stroke; pointer-events:stroke; cursor:move;}
/* 원(데코) 편집기 */
.omm_lines .omc{fill:var(--cf); stroke:var(--cbc); stroke-width:calc(var(--cbw) * var(--k, 1) * 1px); vector-effect:non-scaling-stroke;}
.omm_lines.nofill .omc{fill:none;}
.omm_lines .omc.sel{stroke:#f97316; stroke-width:2px;}
.omm_lines .omc_hit{fill:transparent; stroke:transparent; stroke-width:10px; vector-effect:non-scaling-stroke; pointer-events:all; cursor:move;}
.omc_h{position:absolute; z-index:7; width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:2px; background:#fff; border:2px solid #f97316; box-sizing:border-box;}
.omc_h[data-h="nw"], .omc_h[data-h="se"]{cursor:nwse-resize;}
.omc_h[data-h="ne"], .omc_h[data-h="sw"]{cursor:nesw-resize;}
.omz_cisel{display:flex; align-items:center; flex-wrap:wrap; gap:6px;}
.omz_cisel b{font-size:11px; color:#f97316;}
.omz_cisel .omm_bt{height:26px; padding:0 8px; font-size:11px;}
.omm_stage.lnmode{cursor:crosshair;}
.omm_stage.lnmode .omm_r{pointer-events:none;}
.oml_h{position:absolute; z-index:7; width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%; background:#fff; border:2px solid #f97316; box-sizing:border-box; cursor:pointer;}
.omz_tool button{flex:1; min-width:0;}
.omz_lnsel{display:flex; align-items:center; flex-wrap:wrap; gap:6px;}
.omz_lnsel b{font-size:11px; color:#f97316;}
.omz_lnsel .omm_bt{height:26px; padding:0 8px; font-size:11px;}
.omz_lnf{display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px;}
.omz_lnf label{display:flex; flex-direction:column; gap:2px; color:#6b7280; font-size:11px;}
.omz_lnf input[type=color]{width:100%; height:26px; padding:1px; border:1px solid #d1d5db; border-radius:6px; background:#fff;}
.omz_lnf input[type=number], .omz_lnf select{width:100%; height:26px; padding:0 4px; border:1px solid #d1d5db; border-radius:6px; font-size:12px; box-sizing:border-box;}
.omz_dall{width:100%; margin-top:8px; height:28px; border:1px dashed #3B3D72; border-radius:6px; background:#fff; color:#3B3D72; font-size:11px; font-weight:600; cursor:pointer;}
.omz_dall:hover{background:#3B3D72; color:#fff; border-style:solid;}
.omm_pop_d{display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:10px;}
.omm_pop_d button{height:30px; border:1px solid #3B3D72; border-radius:6px; background:#fff; color:#3B3D72; font-size:11px; font-weight:600; cursor:pointer;}
.omm_pop_d button:hover:not(:disabled){background:#3B3D72; color:#fff;}
.omm_pop_d button:disabled{border-color:#e5e7eb; color:#c0c4cc; cursor:default;}
.omm_pop_dn{margin-top:5px; font-size:11px; color:#6b7280;}
/* ★ (2026-11-24) 여러 개 고르기 · 정렬 도구 */
.omm_r.multi{outline:2px solid #3B82F6; outline-offset:1px; z-index:2;}
.omm_r.multi.on{outline-color:#f97316;}
.omm_altb{position:fixed; left:50%; top:64px; transform:translateX(-50%); z-index:21; pointer-events:auto; display:flex; align-items:center; gap:6px; max-width:calc(100vw - 32px);
  padding:5px 6px 5px 10px; border-radius:10px; background:#1f2937; color:#fff; font-size:12px; box-shadow:0 10px 28px rgba(0,0,0,.35);}
.omm_altb[hidden]{display:none;}
.omm_alc{font-weight:700; color:#cbd5e1; white-space:nowrap; cursor:help; padding-right:2px;}
.omm_alg{display:inline-flex; gap:2px; padding:2px; border-radius:8px; background:#111827;}
.omm_alg button{display:inline-flex; align-items:center; justify-content:center; width:32px; height:30px; padding:0; border:0; border-radius:6px; background:transparent; color:#e5e7eb; cursor:pointer;}
.omm_alg button:hover{background:#3B3D72; color:#fff;}
.omm_alg button:active{transform:scale(.94);}
.omm_alg button svg{display:block; pointer-events:none;}
.omm_algap{display:inline-flex; align-items:center; gap:3px; padding:0 6px 0 4px; cursor:text;}
.omm_algap[hidden]{display:none;}
.omm_algap input{width:64px !important; min-width:64px; height:26px !important; margin:0; padding:0 8px !important; box-sizing:border-box; border:1px solid #4b5563; border-radius:5px; background:#1f2937 !important; color:#fff !important; font-size:13px; line-height:24px; text-align:right; -moz-appearance:textfield; appearance:textfield;}
.omm_algap input::-webkit-inner-spin-button, .omm_algap input::-webkit-outer-spin-button{-webkit-appearance:none; margin:0;}
.omm_alg button.on{background:#3B3D72; color:#fff; box-shadow:inset 0 0 0 1px #818cf8;}
.omm_algap input::placeholder{color:#9ca3af;}
.omm_algap input:focus{outline:none; border-color:#60a5fa;}
.omm_algap i{font-style:normal; font-size:11px; color:#9ca3af;}
.omm_alx button{color:#9ca3af;}
.omm_algr button{width:auto !important; padding:0 9px !important; font-size:12px; font-weight:600;}
.omm_gb{margin-left:3px; padding:0 4px; border-radius:3px; background:#7c3aed; color:#fff; font-style:normal; font-size:9px; font-weight:700;}   /* 묶음 표시 G1 */
.omm_alsz{align-items:center; gap:6px !important; padding:2px 8px !important;}
.omm_alsz[hidden]{display:none !important;}
.omm_alsz label{display:inline-flex; align-items:center; gap:4px; font-size:11px; color:#9ca3af; white-space:nowrap;}
.omm_alsz input{width:60px !important; height:26px !important; margin:0; padding:0 6px !important; box-sizing:border-box; border:1px solid #4b5563; border-radius:5px; background:#1f2937 !important; color:#fff !important; font-size:12px; text-align:right; -moz-appearance:textfield; appearance:textfield;}
.omm_alsz input::-webkit-inner-spin-button, .omm_alsz input::-webkit-outer-spin-button{-webkit-appearance:none; margin:0;}
.omm_alsz input:focus{outline:none; border-color:#60a5fa;}
.omm_alx button:hover{background:#4b5563;}
.omm_pen{position:absolute; right:-12px; top:-12px; z-index:3; width:24px; height:24px; border-radius:50%; background:#f97316; color:#fff; font-size:13px; line-height:24px; text-align:center; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.3); user-select:none;}
.omm_pen:hover{background:#ea580c;}
/* 숫자 입력 창 */
.omm_pop{position:fixed; z-index:20; pointer-events:auto; width:250px; padding:12px; border-radius:10px; background:#fff; color:#374151; font-size:12px; box-shadow:0 12px 32px rgba(0,0,0,.3); border:1px solid #e5e7eb;}
.omm_pop_h{display:flex; align-items:center; gap:6px; margin-bottom:10px;}
.omm_pop_h b{font-size:13px; color:#111827; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.omm_pop_h small{color:#9ca3af; white-space:nowrap;}
.omm_pop_x{margin-left:auto; width:24px; height:24px; padding:0; border:0; border-radius:50%; background:#f3f4f6; cursor:pointer; font-size:14px;}
.omm_pop_s{display:flex; align-items:center; gap:8px; margin-bottom:8px;}
.omm_pop_s select{flex:1; height:30px; padding:0 6px; border:1px solid #d1d5db; border-radius:6px; font-size:12px;}
.omm_pop_g{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
.omm_pop_g label{display:flex; flex-direction:column; gap:3px; color:#6b7280;}
.omm_pop_g input{height:30px; padding:0 8px; border:1px solid #d1d5db; border-radius:6px; font-size:13px; width:100%; box-sizing:border-box;}
.omm_pop_n{margin-top:8px; font-size:11px; color:#9ca3af;}
/* 큰 창 왼쪽 = 박스 디자인 */
.omz_lp{flex:0 0 340px; overflow-y:auto; overscroll-behavior:contain; background:#f3f4f6; border-right:1px solid #d1d5db; padding:0 12px 16px; font-size:12px; color:#374151;}
.omz_lpsec{display:flex; flex-direction:column; gap:6px; padding:10px 0; border-bottom:1px solid #e5e7eb;}
.omz_lpsec > b{font-size:12px; color:#111827;}
.omz_lpsec small{color:#9ca3af; font-size:11px; font-weight:400;}
.omz_lpnote{padding:12px 0; color:#6b7280; line-height:1.6;}
.omz_dim{display:flex; align-items:center; gap:6px;}
.omz_dim input{width:72px; height:28px; padding:0 6px; border:1px solid #d1d5db; border-radius:6px; font-size:12px;}
.omz_ck{display:flex; align-items:center; gap:6px; cursor:pointer;}
.omz_ck input{width:15px; height:15px; margin:0;}
.omz_sty{margin-top:10px; padding:10px; border:1px solid #e5e7eb; border-radius:10px; background:#fff;}
.omz_sty.cur{border-color:#f97316; box-shadow:0 0 0 2px rgba(249,115,22,.2);}
.omz_sty_h{display:flex; align-items:center; gap:6px; margin-bottom:8px;}
.omz_sty_h > b{flex:0 0 22px; height:22px; border-radius:6px; background:#3B3D72; color:#fff; text-align:center; line-height:22px; font-size:12px;}
.omz_pv{flex:1; height:34px; padding:0 6px; cursor:pointer; font-size:12px; line-height:1.2; transition:transform .15s;
  background:var(--bg); color:var(--fc); border:calc(var(--bw) * 1px) solid var(--bc); font-weight:var(--fw);
  border-radius:calc(min(var(--rtl, var(--r)), 17) * 1px) calc(min(var(--rtr, var(--r)), 17) * 1px) calc(min(var(--rbr, var(--r)), 17) * 1px) calc(min(var(--rbl, var(--r)), 17) * 1px);}
/* 스타일 추가 / 지우기 */
.omz_styhd{display:flex; align-items:center; gap:8px;}
.omz_styhd b{font-size:12px; color:#111827;}
.omz_sadd{margin-left:auto; height:26px; padding:0 10px; border:1px solid #3B3D72; border-radius:6px; background:#fff; color:#3B3D72; font-size:11px; font-weight:700; cursor:pointer;}
.omz_sadd:hover:not(:disabled){background:#3B3D72; color:#fff;}
.omz_sadd:disabled{border-color:#e5e7eb; color:#c0c4cc; cursor:default;}
.omz_sdel{flex:0 0 22px; width:22px; height:22px; padding:0; border:1px solid #fca5a5; border-radius:6px; background:#fff; color:#dc2626; font-size:14px; line-height:20px; cursor:pointer;}
.omz_sdel:hover{background:#dc2626; color:#fff;}
/* 스타일 카드 접기·펴기 */
.omz_sty .omz_sty_b{display:none;}
.omz_sty.open .omz_sty_b{display:block;}
.omz_sty_t{flex:0 0 22px; width:22px; height:22px; padding:0; border:0; border-radius:6px; background:#f3f4f6; color:#374151; font-size:12px; line-height:22px; cursor:pointer;}
.omz_sty_t:hover{background:#3B3D72; color:#fff;}
.omz_sty:not(.open) .omz_sty_h{margin-bottom:0;}
.omz_r4{display:grid; grid-template-columns:repeat(4, 1fr); gap:4px; margin-top:6px;}
.omz_r4 label{display:flex; align-items:center; gap:2px; font-size:11px; color:#6b7280;}
.omz_r4 label i{font-style:normal; font-size:12px; color:#3B3D72;}
.omz_r4 input{width:100%; min-width:0; height:26px; padding:0 4px; border:1px solid #d1d5db; border-radius:6px; font-size:12px; box-sizing:border-box;}
.omz_pv.on{background:var(--abg); color:var(--afc); border-color:var(--abc);}
.omz_pv:hover{transform:translateY(-1px);}
.omz_sty_f{display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px;}
.omz_sty_f label{display:flex; flex-direction:column; gap:2px; color:#6b7280; font-size:11px;}
.omz_sty_f input[type=color]{width:100%; height:26px; padding:1px; border:1px solid #d1d5db; border-radius:6px; background:#fff; cursor:pointer;}
.omz_sty_f input[type=number], .omz_sty_f select{width:100%; height:26px; padding:0 4px; border:1px solid #d1d5db; border-radius:6px; font-size:12px; box-sizing:border-box;}
.omz_sty_sub{margin:8px 0 4px; font-size:11px; font-weight:700; color:#f97316;}
.omm_dc{display:flex; align-items:center; flex-wrap:wrap; gap:6px; padding:6px 8px; border-radius:6px; background:#f3f4f6; color:#374151; font-size:12px; font-weight:600; cursor:pointer;}
.omm_dc input{width:15px; height:15px; margin:0;}
.omm_dc small{font-weight:400; color:#9ca3af; font-size:11px;}
.omm_row.deco{background:#fafafa;}
.omm_row.deco .omm_dc{background:#3B3D72; color:#fff;}
.omm_row.deco .omm_dc small{color:#c7c9e8;}
.omm_lbl{width:100%; box-sizing:border-box; padding:6px 8px; border:1px solid #d1d5db; border-radius:6px; font-size:12px; resize:vertical; font-family:inherit;}
.omm_ztip{font-size:11px; color:#9ca3af; margin:-6px 0 12px;}
.omm_ztip i{font-size:13px; vertical-align:-1px;}
.omset_head .omset_fullbt{margin-right:8px; font-size:16px; line-height:30px;}
.omset_rz{position:absolute; right:2px; bottom:2px; width:16px; height:16px; cursor:nwse-resize; touch-action:none; z-index:2;
  background:linear-gradient(135deg, transparent 0 55%, #9ca3af 55% 62%, transparent 62% 74%, #9ca3af 74% 81%, transparent 81%);}
.omset.omset_full .omset_box{left:0 !important; top:0 !important; transform:none !important; width:100vw !important; height:100vh !important; max-height:none !important; border-radius:0;}
.omset.omset_full .omset_head{border-radius:0; cursor:default;}
.omset.omset_full .omset_rz{display:none;}
.omset.omset_full .omm_stages{grid-template-columns:minmax(0, 4fr) minmax(160px, 1fr);}
.omset.omset_full .omm_sbox .omm_stage img{max-height:calc(100vh - 320px);}
.omm_r{position:absolute; box-sizing:border-box; border:2px solid #0f766e; background:rgba(15,118,110,.15); cursor:move;}
.omm_r.on{border-color:#f97316; background:rgba(249,115,22,.18); z-index:2;}
.omm_r.same{border-style:dashed;}
.omm_r > i{position:absolute; left:-2px; top:-2px; min-width:18px; height:18px; padding:0 4px; box-sizing:border-box; background:#0f766e; color:#fff; font:700 10px/18px sans-serif; font-style:normal; border-radius:0 0 6px 0; text-align:center;}
.omm_r.on > i{background:#f97316;}
.omm_h{position:absolute; width:12px; height:12px; background:#fff; border:2px solid #f97316; border-radius:50%; box-sizing:border-box; display:none;}
.omm_r.on .omm_h{display:block;}
.omm_r.multi .omm_h{display:block; border-color:#3B82F6;}   /* 여러 개 고름 = 모든 상자에 모서리 점 (끌면 함께 크기) */
.omm_r.multi.on .omm_h{border-color:#f97316;}
.omm_h[data-h=nw]{left:-7px; top:-7px; cursor:nwse-resize;}
.omm_h[data-h=ne]{right:-7px; top:-7px; cursor:nesw-resize;}
.omm_h[data-h=sw]{left:-7px; bottom:-7px; cursor:nesw-resize;}
.omm_h[data-h=se]{right:-7px; bottom:-7px; cursor:nwse-resize;}
.omm_draw{position:absolute; border:2px dashed #f97316; background:rgba(249,115,22,.12); pointer-events:none;}
.omm_draw.marq{border:1px dashed #3B82F6; background:rgba(59,130,246,.08); z-index:8;}   /* 선택 박스 */

.omm_list{display:grid; grid-template-columns:repeat(auto-fill, minmax(340px, 1fr)); gap:10px;}
.omm_empty{padding:20px; text-align:center; color:#9ca3af; font-size:13px; border:1px dashed #d1d5db; border-radius:10px; line-height:1.6; grid-column:1 / -1;}
.omm_row{border:1px solid #e5e7eb; border-radius:10px; padding:10px; display:flex; flex-direction:column; gap:7px; font-size:12px; background:#fff; cursor:pointer;}
.omm_row.on{border-color:#f97316; background:#fff7ed;}
.omm_par{display:flex; align-items:center; flex-wrap:wrap; gap:6px; color:#374151;}
.omm_par select{height:28px; max-width:200px; padding:0 6px; border:1px solid #d1d5db; border-radius:6px; font-size:12px; background:#fff;}
.omm_par select:disabled{background:#f3f4f6; color:#9ca3af;}
.omm_kids{padding:2px 8px; border-radius:999px; background:#3B3D72; color:#fff; font-size:11px;}
.omm_rh{display:flex; align-items:center; gap:8px;}
.omm_rh > b{width:22px; height:22px; flex:0 0 auto; border-radius:6px; background:#0f766e; color:#fff; font-size:11px; display:flex; align-items:center; justify-content:center;}
.omm_row.on .omm_rh > b{background:#f97316;}
.omm_rh input{flex:1;}
.omm_row input[type=text]{width:100%; box-sizing:border-box; padding:6px 8px; border:1px solid #d1d5db; border-radius:6px; font-size:12px;}
.omm_ln{display:flex; align-items:center; gap:8px;}
.omm_ln label{display:inline-flex; align-items:center; gap:4px; white-space:nowrap; cursor:pointer;}
.omm_imgs{display:flex; gap:8px; flex-wrap:wrap;}
.omm_img{display:flex; align-items:center; gap:6px; padding:5px 6px; border:1px solid #e5e7eb; border-radius:8px; background:#fafafa;}
.omm_img .omm_th{width:40px; height:40px; border-radius:5px; background:#e5e7eb center/cover no-repeat; display:flex; align-items:center; justify-content:center; color:#9ca3af; font-size:10px;}
.omm_img span{font-size:11px; color:#6b7280;}
.omm_mo{display:flex; align-items:center; gap:6px; color:#6b7280;}
.omm_lb{font-weight:700; color:#374151;}
.omm_lb small{font-weight:400; color:#9ca3af; margin-left:4px;}
.omm_secs{display:flex; flex-wrap:wrap; gap:6px;}
.omm_sb{display:inline-flex; align-items:center; gap:4px; padding:5px 10px; border:1px solid #d1d5db; border-radius:999px; background:#fff; color:#374151; font-size:12px; cursor:pointer;}
.omm_sb i{font-size:14px; color:#6b7280;}
.omm_sb.hid{border-style:dashed; color:#6b7280;}
.omm_sb em{font-style:normal; font-size:10px; font-weight:700; color:#fff; background:#dc2626; border-radius:4px; padding:1px 5px;}
.omm_sb.on{background:#0f766e; border-color:#0f766e; color:#fff;}
.omm_sb.on i{color:#fff;}
.omm_gone{color:#9ca3af;}
.omm_gone button{border:0; background:none; color:#ef4444; cursor:pointer; font-size:12px; text-decoration:underline;}
.omm_note{color:#9ca3af; font-size:11px; line-height:1.5;}

/* 이미지 고르기 창 (인라인 편집 admin 이미지함과 같은 구성) — 따로 뜨는 창 · 머리 끌기 · 딤 없음 · 사진 많으면 스크롤 */
.omp{position:fixed; inset:0; z-index:2147483601; pointer-events:none; font-family:inherit;}
.omp_box{pointer-events:auto; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:min(900px, calc(100vw - 30px)); height:min(720px, calc(100vh - 40px)); display:flex; flex-direction:column; background:#fff; color:#1e293b; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.35); border:1px solid #e2e8f0; overflow:hidden;}
.omp_box.over{outline:3px dashed #94a3b8; outline-offset:-8px;}
.omp_head{display:flex; align-items:center; gap:8px; padding:14px 16px; border-bottom:1px solid #e2e8f0; cursor:move; user-select:none; touch-action:none; flex-wrap:wrap;}
.omp_head b{font-size:15px;}
.omp_head input, .omp_head button, .omp_head label{cursor:auto;}
.omp_head button{cursor:pointer;}
.omp_cnt{font-size:12px; color:#94a3b8;}
.omp_code{margin-left:auto; display:inline-flex; align-items:center; gap:4px; font-size:12px; color:#64748b;}
.omp_code input{width:64px; height:30px; padding:0 6px; border:1px solid #fdba74; border-radius:6px; font-size:12px; font-weight:700; text-transform:uppercase; color:#c2410c;}
.omp_q{width:150px; height:30px; padding:0 8px; border:1px solid #cbd5e1; border-radius:6px; font-size:12px;}
.omp_head > .omp_q:nth-child(3){margin-left:auto;}
.omp_up{height:30px; padding:0 12px; border:1px solid #334155; border-radius:6px; background:#334155; color:#fff; font-size:12px; font-weight:600; display:inline-flex; align-items:center; gap:4px;}
.omp_x{width:30px; height:30px; border:0; border-radius:6px; background:#f1f5f9; color:#475569; font-size:18px; line-height:1;}
.omp_tabs{display:flex; align-items:center; gap:6px; padding:10px 16px 0; border-bottom:1px solid #e2e8f0; flex-wrap:wrap;}
.omp_tabs button{height:32px; padding:0 12px; border:1px solid #e2e8f0; border-bottom:0; border-radius:6px 6px 0 0; background:#f8fafc; color:#475569; font-size:12px; font-weight:600; cursor:pointer; margin-bottom:-1px;}
.omp_tabs button.code{color:#c2410c;}
.omp_tabs button.on{background:#fff; color:#1e293b; border-color:#cbd5e1; box-shadow:inset 0 2px 0 #c2410c;}
.omp_path{margin-left:auto; font-size:11px; color:#94a3b8; font-family:monospace; padding-bottom:6px;}
.omp_hint{padding:8px 16px; font-size:12px; color:#64748b; background:#f8fafc; border-bottom:1px solid #f1f5f9;}
.omp_grid{flex:1; min-height:0; overflow:auto; padding:14px 16px; display:grid; grid-template-columns:repeat(auto-fill, minmax(120px, 1fr)); grid-auto-rows:max-content; gap:10px; align-content:start;}
.omp_it{position:relative; border:1px solid #e2e8f0; border-radius:6px; overflow:hidden; cursor:pointer; background:#f1f5f9;}
.omp_it:hover{border-color:#334155; box-shadow:0 0 0 1px #334155;}
.omp_it img{display:block; width:100%; aspect-ratio:1; object-fit:contain; background:repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0 / 14px 14px;}
.omp_it img.svg{padding:14%; box-sizing:border-box;}
.omp_it span{display:block; font-size:11px; color:#475569; padding:4px 6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; background:#fff;}
.omp_msg{grid-column:1 / -1; padding:40px 0; text-align:center; color:#94a3b8; font-size:13px;}
@media (max-width:760px){ .omm_stages{grid-template-columns:1fr;} }

/* =====================================================================
   2단계 표 내용 (페이지) — 켜진 영역의 표만 보임 · 기본 디자인 = 동그라미 제목 + 굵은 윗선 + 회색 머리줄
   ===================================================================== */
.orgmap_set .om_content{width:100%; clear:both; text-align:left;}
.orgmap_set .om_lay_tb > .om_content{float:left; margin-top:clamp(30px, calc(2.34vw + 22.5px), 60px);}
.orgmap_set .om_ct{display:none;}
.orgmap_set .om_ct.show{display:block; animation:om_ct_in .3s ease;}
@keyframes om_ct_in{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;}}
.orgmap_set .om_ct + .om_ct.show{margin-top:0;}
/* ★ (2026-11-24) 과를 눌러 팀 표가 여러 개 나올 때 표 사이 간격 · 제목 앞 과 이름 */
.orgmap_set .om_ct.show ~ .om_ct.show{margin-top:clamp(40px, calc(1.56vw + 35px), 60px);}
.orgmap_set .om_ct_tit .om_ct_pre{color:#6b7280; font-weight:600;}
.orgmap_set .om_ct_tit .om_ct_sep{font-style:normal; font-weight:400; color:#c0c4cc;}
.orgmap_set .om_content.om_ed .om_ct_tit [data-h]{cursor:text;}
.orgmap_set .om_content.om_ed .om_ct_tit [data-h]:hover{outline:1px dashed rgba(15,118,110,.55); outline-offset:2px;}
.omm_pn{cursor:pointer; user-select:none;}
.omm_pn input{width:16px; height:16px; margin:0;}
.orgmap_set .om_ct_tit{display:flex; align-items:center; gap:10px; margin:0 0 14px; font-size:clamp(20px, calc(0.47vw + 18.5px), 26px); font-weight:700; color:#111; line-height:1.3;}
.orgmap_set .om_ct_tit::before{content:''; flex:0 0 auto; width:.82em; height:.82em; border:.2em solid #111; border-radius:50%; box-sizing:border-box;}
.orgmap_set .om_tbl_wrap{width:100%; overflow-x:auto;}
.orgmap_set .om_tbl{width:100%; border-collapse:collapse; table-layout:auto; border-top:2px solid #222; font-size:clamp(14px, calc(0.16vw + 13.5px), 16px); color:#333;}
.orgmap_set .om_tbl th{padding:14px 12px; background:#f7f8fa; border:1px solid #e5e7eb; border-top:0; font-weight:700; color:#111; white-space:nowrap;}
.orgmap_set .om_tbl td{padding:16px 14px; border:1px solid #e5e7eb; line-height:1.6; word-break:keep-all;}
.orgmap_set .om_tbl th:first-child, .orgmap_set .om_tbl td:first-child{border-left:1px solid #e5e7eb;}
@media screen and (max-width:640px){
  /* 모바일 = 한 줄이 카드 한 장 (칸 이름 : 내용) */
  .orgmap_set .om_tbl, .orgmap_set .om_tbl tbody, .orgmap_set .om_tbl tr, .orgmap_set .om_tbl td{display:block; width:100%;}
  .orgmap_set .om_tbl colgroup, .orgmap_set .om_tbl thead{display:none;}
  .orgmap_set .om_tbl{border-top:2px solid #222;}
  .orgmap_set .om_tbl tr{border-bottom:1px solid #e5e7eb; padding:10px 4px;}
  .orgmap_set .om_tbl td{border:0; padding:4px 6px; display:flex; gap:10px; text-align:left !important;}
  .orgmap_set .om_tbl th:first-child, .orgmap_set .om_tbl td:first-child{border-left:0;}   /* PC 첫 칸 왼쪽 선(우선순위 높음)이 모바일 카드 이름 앞에 남던 것 (1124) */
  .orgmap_set .om_tbl td::before{content:attr(data-l); flex:0 0 72px; font-weight:700; color:#111;}
}

/* 설정창 [내용 · 표] 탭 */
.omc_bar{display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px 12px; margin-bottom:12px; background:#f0fdfa; border:1px solid #99f6e4; border-radius:10px; font-size:12px;}
.omc_bar .omset_note{margin-left:auto;}
.omc_bar.over{outline:3px dashed #0f766e; outline-offset:-4px;}
.omc_cols{display:flex; flex-direction:column; gap:6px; margin-bottom:8px;}
.omc_col{display:flex; align-items:center; gap:10px; padding:8px 12px; border:1px solid #e5e7eb; border-radius:10px; background:#fff; font-size:12px; flex-wrap:wrap;}
.omc_col.off{background:#fafafa;}
.omc_col.off .omc_lab{color:#9ca3af;}
.omc_col.drag{opacity:.4;}
.omc_col.over{border-color:#0f766e; box-shadow:0 -2px 0 #0f766e;}
.omc_grip{cursor:grab; color:#9ca3af; font-size:16px; user-select:none; padding:0 2px;}
.omc_col input[type=checkbox]{width:18px; height:18px; accent-color:#2563eb;}
.omc_lab{width:120px; padding:6px 8px; border:1px solid #d1d5db; border-radius:6px; font-size:12px; font-weight:700;}
.omc_g{display:inline-flex; align-items:center; gap:6px; color:#6b7280;}
.omc_ha{display:inline-flex; border:1px solid #d1d5db; border-radius:6px; overflow:hidden;}
.omc_ha button{width:28px; height:26px; border:0; border-right:1px solid #e5e7eb; background:#fff; color:#6b7280; cursor:pointer; font-size:13px;}
.omc_ha button:last-child{border-right:0;}
.omc_ha button.on{background:#16a34a; color:#fff;}
.omc_ba{display:grid; grid-template-columns:repeat(3, 20px); grid-template-rows:repeat(3, 18px); border:1px solid #d1d5db; border-radius:6px; overflow:hidden;}
.omc_ba button{border:0; border-right:1px solid #f1f5f9; border-bottom:1px solid #f1f5f9; background:#fff; color:#cbd5e1; cursor:pointer; font-size:9px; padding:0; line-height:1;}
.omc_ba button.on{background:#2563eb; color:#fff;}
.omc_w{width:70px; padding:6px 8px; border:1px solid #d1d5db; border-radius:6px; font-size:12px;}
.omc_no{margin-left:auto; min-width:20px; height:20px; border-radius:50%; background:#f1f5f9; color:#6b7280; font-size:11px; display:inline-flex; align-items:center; justify-content:center;}
.omc_del{border:0; background:none; color:#ef4444; cursor:pointer; font-size:12px;}
.omc_areas{display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 10px;}
.omc_ach{padding:6px 12px; border:1px solid #d1d5db; border-radius:999px; background:#fff; font-size:12px; cursor:pointer; color:#374151;}
.omc_ach.on{background:#0f766e; border-color:#0f766e; color:#fff;}
.omc_ach small{opacity:.75; margin-left:4px;}
.omc_ed{border:1px solid #e5e7eb; border-radius:10px; padding:12px; background:#fff;}
.omc_ed_h{display:flex; align-items:center; gap:8px; margin-bottom:10px; font-size:12px;}
.omc_ed_h input{flex:1; max-width:360px; padding:7px 9px; border:1px solid #d1d5db; border-radius:6px; font-size:13px; font-weight:700;}
.omc_tbl{width:100%; border-collapse:collapse; font-size:12px;}
.omc_tbl th{background:#f8fafc; border:1px solid #e5e7eb; padding:6px; font-weight:700; color:#374151; white-space:nowrap;}
.omc_tbl th.off{color:#cbd5e1;}
.omc_tbl td{border:1px solid #e5e7eb; padding:0; vertical-align:top;}
.omc_tbl td.ops{width:84px; padding:4px; text-align:center; white-space:nowrap; vertical-align:middle;}
.omc_tbl td.ops button{border:0; background:#f1f5f9; border-radius:4px; width:24px; height:24px; cursor:pointer; color:#475569; margin:0 1px;}
.omc_tbl td.ops button.x{color:#ef4444;}
.omc_tbl textarea{display:block; width:100%; min-height:34px; box-sizing:border-box; border:0; padding:7px 8px; font:inherit; font-size:12px; resize:vertical; background:transparent;}
.omc_tbl textarea:focus{outline:2px solid #99f6e4; outline-offset:-2px; background:#f0fdfa;}
.omc_tbl td.off textarea{color:#9ca3af;}
.omc_ed_f{display:flex; align-items:center; gap:8px; margin-top:10px; font-size:12px;}

/* 표 칸 바로 고치기 (글 편집 권한) — 더블클릭 / Shift+클릭 */
.orgmap_set .om_content.om_ed td[data-c],
.orgmap_set .om_content.om_ed .om_ct_tit[data-h]{cursor:text;}
.orgmap_set .om_content.om_ed td[data-c]:hover,
.orgmap_set .om_content.om_ed .om_ct_tit[data-h]:hover{outline:1px dashed rgba(15,118,110,.55); outline-offset:-3px;}
.orgmap_set .om_editing{outline:2px solid #0f766e !important; outline-offset:-2px; background:#f0fdfa; white-space:pre-wrap;}
.om_toast{position:fixed; left:50%; bottom:40px; transform:translateX(-50%); z-index:2147483602; padding:10px 18px; border-radius:8px; background:#0f766e; color:#fff; font-size:13px; box-shadow:0 8px 24px rgba(0,0,0,.25); transition:opacity .3s;}
.om_toast.bad{background:#dc2626;}
.om_toast.out{opacity:0;}

/* 칸 설정 — 2칸씩 · 접었다 폈다 (1028 사용자 "크고 남는다") · 사이트 공통 input·button 크기를 이기도록 .omset 붙임 */
.omset .omc_colbox{border:1px solid #e5e7eb; border-radius:10px; background:#fafafa; margin-bottom:6px;}
.omset .omc_fold{display:flex; align-items:center; gap:8px; width:100%; padding:10px 12px; border:0; background:none; cursor:pointer; font-size:13px; font-weight:700; color:#374151; text-align:left;}
.omset .omc_fold i{font-size:18px; transition:transform .2s; color:#6b7280;}
.omset .omc_colbox.closed .omc_fold i{transform:rotate(-90deg);}
.omset .omc_sum{display:flex; flex-wrap:wrap; gap:4px; margin-left:6px; font-weight:400;}
.omset .omc_sum em{font-style:normal; font-size:11px; padding:2px 8px; border-radius:999px; background:#0f766e; color:#fff;}
.omset .omc_sum em.off{background:#e5e7eb; color:#9ca3af; text-decoration:line-through;}
.omset .omc_inner{padding:0 12px 12px;}
.omset .omc_colbox.closed .omc_inner{display:none;}
.omset .omc_cols{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:6px;}
.omset .omc_col{flex-wrap:nowrap; gap:8px; padding:6px 10px; min-width:0;}
.omset .omc_col input[type=checkbox]{flex:0 0 auto; width:16px !important; height:16px !important; margin:0; padding:0;}
.omset .omc_col input.omc_lab{flex:1 1 80px; min-width:60px; width:auto !important; max-width:140px; height:28px !important; margin:0; padding:0 8px; box-sizing:border-box;}
.omset .omc_col input.omc_w{flex:0 0 58px; width:58px !important; height:28px !important; margin:0; padding:0 6px; box-sizing:border-box;}
.omset .omc_g{flex:0 0 auto; gap:4px; font-size:11px; white-space:nowrap;}
.omset .omc_ha button{width:24px !important; min-width:0 !important; height:24px !important; padding:0 !important; margin:0; font-size:12px; line-height:24px;}
.omset .omc_ba{grid-template-columns:repeat(3, 16px); grid-template-rows:repeat(3, 14px);}
.omset .omc_ba button{width:16px !important; height:14px !important; min-width:0 !important; padding:0 !important; margin:0; font-size:8px; line-height:14px;}
.omset .omc_del{flex:0 0 auto; padding:0; font-size:11px;}
.omset .omc_no{flex:0 0 auto; margin-left:auto; width:18px; min-width:18px; height:18px; font-size:10px;}
@media (max-width:900px){ .omset .omc_cols{grid-template-columns:1fr;} }

/* 내용 방식 고르기 (창 맨 위 · 탭 위) */
.omset .omset_cm{display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 18px; background:#f0fdfa; border-bottom:1px solid #ccfbf1; font-size:13px;}
.omset .omset_cm b{color:#0f766e;}
.omset .omset_cmseg button{padding:7px 14px; font-size:13px; font-weight:600;}
.omset .omset_cmnote{font-size:12px;}

/* ★1124 상자 테두리 면마다 두께 (--bwt·--bwr·--bwb·--bwl · 없으면 --bw) + 글자 줄 1~3 (.om_ln1~3 · --l1s 크기 · --l1w 굵기 · --l1c 색 · 없으면 상자 기본 글자) */
.orgmap_set .om_area.om_bx{border-style:solid;
  border-width:calc(var(--bwt, var(--bw, 0)) / var(--cw, 1460) * 100cqw) calc(var(--bwr, var(--bw, 0)) / var(--cw, 1460) * 100cqw) calc(var(--bwb, var(--bw, 0)) / var(--cw, 1460) * 100cqw) calc(var(--bwl, var(--bw, 0)) / var(--cw, 1460) * 100cqw);}
.omm_bx{border-style:solid;
  border-width:calc(var(--bwt, var(--bw)) * var(--k, 1) * 1px) calc(var(--bwr, var(--bw)) * var(--k, 1) * 1px) calc(var(--bwb, var(--bw)) * var(--k, 1) * 1px) calc(var(--bwl, var(--bw)) * var(--k, 1) * 1px);}
.omz_pv{border-style:solid; border-width:calc(var(--bwt, var(--bw)) * 1px) calc(var(--bwr, var(--bw)) * 1px) calc(var(--bwb, var(--bw)) * 1px) calc(var(--bwl, var(--bw)) * 1px);}
.om_ln{display:block;}
/* ★1127 0줄 = 목록 (모든 줄 공통 · 변수 없으면 예전 그대로) — --lis 크기 · --llh 행간 · --lim 앞 기호(없으면 none) · --lip 들여쓰기 · --lic 기호 색 */
.orgmap_set .om_bx .om_ln{font-size:calc(var(--lis, var(--fs, 18)) / var(--cw, 1460) * 100cqw);}
.omm_bx .om_ln{font-size:calc(var(--lis, var(--fs)) * var(--k, 1) * 1px);}
.om_bxt, .omm_bxt{counter-reset:omli;}
.om_bx .om_ln, .omm_bx .om_ln{position:relative; counter-increment:omli; padding-left:var(--lip, 0); line-height:var(--llh, inherit);}
.om_bx .om_ln::before, .omm_bx .om_ln::before{content:var(--lim, none); position:absolute; left:0; top:0; color:var(--lic, currentColor); font-weight:400;}
.orgmap_set .om_bx .om_ln1{font-size:calc(var(--l1s, var(--lis, var(--fs, 18))) / var(--cw, 1460) * 100cqw); font-weight:var(--l1w, inherit); color:var(--l1c, inherit);}
.orgmap_set .om_bx .om_ln2{font-size:calc(var(--l2s, var(--lis, var(--fs, 18))) / var(--cw, 1460) * 100cqw); font-weight:var(--l2w, inherit); color:var(--l2c, inherit);}
.orgmap_set .om_bx .om_ln3{font-size:calc(var(--l3s, var(--lis, var(--fs, 18))) / var(--cw, 1460) * 100cqw); font-weight:var(--l3w, inherit); color:var(--l3c, inherit);}
.omm_bx .om_ln1{font-size:calc(var(--l1s, var(--lis, var(--fs))) * var(--k, 1) * 1px); font-weight:var(--l1w, inherit); color:var(--l1c, inherit);}
.omm_bx .om_ln2{font-size:calc(var(--l2s, var(--lis, var(--fs))) * var(--k, 1) * 1px); font-weight:var(--l2w, inherit); color:var(--l2c, inherit);}
.omm_bx .om_ln3{font-size:calc(var(--l3s, var(--lis, var(--fs))) * var(--k, 1) * 1px); font-weight:var(--l3w, inherit); color:var(--l3c, inherit);}
/* ★1125 줄 색은 눌렀을 때도 그대로 (예전: 눌렀을 때 = 「눌렀을 때」 글자색으로 덮어 → 편집 중 고른 상자에서 색이 안 보였음) */
/* 스타일 카드 — 테두리 4면 줄 · 글자 줄 설정 버튼 · 작은 창 */
.omz_bw4 input::placeholder{color:#cbd5e1;}
.omz_lnsbtn em{font-style:normal; color:#f97316; font-size:9px; vertical-align:middle;}
.omz_lns{pointer-events:auto; position:fixed; right:24px; top:120px; z-index:2147483000; width:min(380px, calc(100vw - 24px)); background:#fff; border:1px solid #e5e7eb; border-radius:12px; box-shadow:0 18px 50px rgba(0,0,0,.28); font-size:12px; color:#222;}
.omz_lns_h{display:flex; align-items:center; gap:8px; padding:10px 12px; background:#333; color:#fff; border-radius:12px 12px 0 0; cursor:move; user-select:none; touch-action:none;}
.omz_lns_h b{margin-right:auto; font-size:13px;}
.omz_lns_h button{border:0; background:rgba(255,255,255,.18); color:#fff; width:24px; height:24px; border-radius:50%; cursor:pointer;}
.omz_lns_b{padding:10px 12px 12px; display:flex; flex-direction:column; gap:8px;}
.omz_lnr{display:flex; align-items:center; gap:6px;}
.omz_lnr > b{width:30px; flex:0 0 auto; color:#3B3D72;}
.omz_lnr label{display:flex; align-items:center; gap:3px; color:#6b7280;}
.omz_lnr input[type=number]{width:64px !important; min-width:64px; height:28px !important; padding:0 6px !important; box-sizing:border-box; font-size:13px; border:1px solid #d1d5db; border-radius:5px;}
.omz_lnr select{height:28px !important; padding:0 4px !important; font-size:13px; border:1px solid #d1d5db; border-radius:5px;}
.omz_lnr input[type=color]{width:30px; height:26px; padding:0; border:1px solid #d1d5db; border-radius:5px; background:#fff;}
.omz_lnr button{margin-left:auto; height:26px; padding:0 8px; border:1px solid #d1d5db; border-radius:5px; background:#fff; color:#475569; cursor:pointer;}
.omz_lns_b small{color:#9ca3af; line-height:1.5;}

/* ★1125 상자 데코 (도형·아이콘) — 상자 안쪽 층(.om_dcs)이 상자 모양(둥글기 포함)으로 잘라 줌 · 글자는 데코 위 */
.om_dcs{position:absolute; inset:0; overflow:hidden; border-radius:inherit; pointer-events:none; z-index:0;}
.om_dc{position:absolute; display:block; transform-origin:center;}
.om_dc_circ{border-radius:50%;}
.om_dc_tri{clip-path:polygon(50% 0, 100% 100%, 0 100%);}
.om_dc_rtri{clip-path:polygon(100% 0, 100% 100%, 0 100%);}
img.om_dc_img{object-fit:contain; max-width:none !important; max-height:none !important;}
.orgmap_set .om_bx > .om_bxt, .omm_bx > .omm_bxt{position:relative; z-index:1;}
/* 데코 작은 창 */
.omz_dcm{width:min(440px, calc(100vw - 24px));}
.omz_dcm .omz_lns_b{max-height:min(70vh, 620px); overflow:auto;}
.omz_dcc{padding:8px; border:1px solid #e5e7eb; border-radius:8px; background:#fafafa; display:flex; flex-direction:column; gap:6px;}
.omz_dcr{display:flex; align-items:center; gap:6px; flex-wrap:wrap;}
.omz_dcr > b{width:20px; height:20px; border-radius:5px; background:#3B3D72; color:#fff; text-align:center; line-height:20px; font-size:11px;}
.omz_dcr label{display:flex; flex-direction:column; gap:2px; font-size:10px; color:#6b7280;}
.omz_dcr input[type=number]{width:84px !important; height:26px !important; padding:0 6px !important; box-sizing:border-box; font-size:12px; border:1px solid #d1d5db; border-radius:5px;}
.omz_dcr select{height:28px !important; padding:0 4px !important; font-size:12px; border:1px solid #d1d5db; border-radius:5px;}
.omz_dcr input[type=color]{width:34px; height:28px; padding:0; border:1px solid #d1d5db; border-radius:5px; background:#fff;}
.omz_dcr button{height:28px; padding:0 10px; border:1px solid #d1d5db; border-radius:5px; background:#fff; color:#334155; cursor:pointer; font-size:12px;}
.omz_dcr .omz_dcx{margin-left:auto; color:#dc2626; border-color:#fecaca;}
.omz_dcadd{height:32px; border:1px dashed #3B3D72; border-radius:8px; background:#fff; color:#3B3D72; font-weight:600; cursor:pointer;}
.omz_dce{padding:10px 0; text-align:center; color:#9ca3af;}

/* ★1125 스타일 카드 정리 — 색 3칸 · 숫자 4칸 · 작은 글자 · 사이트 공통 입력칸 크기 덮어쓰기 막기 · 모서리/면 아이콘 */
.omz_sty .omz_sty_f.c3{grid-template-columns:repeat(3, minmax(0, 1fr)); gap:5px;}
.omz_sty .omz_sty_f.c4{grid-template-columns:repeat(4, minmax(0, 1fr)); gap:5px;}
.omz_sty .omz_sty_f label{font-size:10px; gap:1px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.omz_sty .omz_sty_f input[type=number], .omz_sty .omz_sty_f select{height:26px !important; min-height:0 !important; padding:0 5px !important; font-size:12px !important; line-height:24px !important;}
.omz_sty .omz_sty_f input[type=color]{height:24px !important; min-height:0 !important;}
.omz_sty .omz_sty_sub{margin:8px 0 3px; font-size:10.5px;}
.omz_sty .omz_sty_sub.n{color:#64748b;}
.omz_sty .omz_sty_b > .omz_sty_sub:first-child{margin-top:2px;}
.omz_sty .omz_r4{gap:4px; margin-top:4px;}
.omz_sty .omz_r4 label i{display:inline-flex; align-items:center; justify-content:center; width:16px; flex:0 0 16px; color:#3B3D72;}
.omz_sty .omz_bw4 label i{color:#f97316;}
.omz_sty .omz_r4 input{height:26px !important; min-height:0 !important; padding:0 4px !important; font-size:12px !important; line-height:24px !important;}
.omz_sty .omz_dall{height:26px; margin-top:6px; font-size:10.5px;}

/* ★1125 데코 「아이콘 · 태그」 — <i> 아이콘 = 글자 크기(세로)·색(데코 색) · <img> = 데코 크기에 꽉(비율 유지) · 가운데 */
.om_dc_html{display:flex; align-items:center; justify-content:center; line-height:1; overflow:hidden;}
.om_dc_html i{font-size:1em; line-height:1; color:inherit;}
.om_dc_html i::before{margin:0 !important;}
.om_dc_html img{display:block; width:100%; height:100%; max-width:none !important; object-fit:contain;}
.omz_dcr textarea{width:100%; min-height:44px; padding:5px 7px; border:1px solid #d1d5db; border-radius:6px; font:12px/1.4 Consolas, monospace; box-sizing:border-box; resize:vertical;}

/* ★1125 줄 사이 간격 — 1줄 아래(--l1g) · 2줄 아래(--l2g) · 도화지 px (비우면 0) */
/* ★1127 + 목록 항목 사이(--lig) — 모든 줄 사이 · 1·2줄 아래 간격(--l1g·--l2g)을 정하면 그 줄은 그 값 · 마지막 줄 아래는 없음 */
.orgmap_set .om_bx .om_ln:not(:last-child){margin-bottom:calc(var(--lig, 0) / var(--cw, 1460) * 100cqw);}
.omm_bx .om_ln:not(:last-child){margin-bottom:calc(var(--lig, 0) * var(--k, 1) * 1px);}
.orgmap_set .om_bx .om_ln1:not(:last-child){margin-bottom:calc(var(--l1g, var(--lig, 0)) / var(--cw, 1460) * 100cqw);}
.orgmap_set .om_bx .om_ln2:not(:last-child){margin-bottom:calc(var(--l2g, var(--lig, 0)) / var(--cw, 1460) * 100cqw);}
.omm_bx .om_ln1:not(:last-child){margin-bottom:calc(var(--l1g, var(--lig, 0)) * var(--k, 1) * 1px);}
.omm_bx .om_ln2:not(:last-child){margin-bottom:calc(var(--l2g, var(--lig, 0)) * var(--k, 1) * 1px);}
.omz_lnr input.omz_lng{width:52px !important; min-width:52px;}
.omz_lnr .omz_lng_sp{width:76px;}
.omz_lns:not(.omz_dcm){width:min(460px, calc(100vw - 24px));}

/* ★1125 상자 글자 정렬 (--ta left|right · --jc · 없으면 가운데) · 좌우 안쪽 여백 (--px 도화지 px · 없으면 6) */
.orgmap_set .om_area.om_bx{justify-content:var(--jc, center); text-align:var(--ta, center); padding-left:calc(var(--px, 6) / var(--cw, 1460) * 100cqw); padding-right:calc(var(--px, 6) / var(--cw, 1460) * 100cqw);}
.omm_bx{justify-content:var(--jc, center); text-align:var(--ta, center); padding-left:calc(var(--px, 6) * var(--k, 1) * 1px); padding-right:calc(var(--px, 6) * var(--k, 1) * 1px);}
.omz_lnta{padding-bottom:8px; border-bottom:1px dashed #e5e7eb;}
.omz_tas{display:inline-flex; gap:2px; padding:2px; border-radius:7px; background:#f1f5f9;}
.omz_tas button{display:inline-flex; align-items:center; justify-content:center; width:30px; height:26px; border:0; border-radius:5px; background:transparent; color:#64748b; cursor:pointer;}
.omz_tas button.on{background:#3B3D72; color:#fff;}
.omz_lnta input[type=number]{width:56px !important; min-width:56px; height:28px !important; padding:0 6px !important; box-sizing:border-box; font-size:13px; border:1px solid #d1d5db; border-radius:5px;}

/* ★1125 PC / 모바일 따로 — 모바일 데코 층은 평소 숨김 (위젯 ID 범위 미디어 규칙이 전환 폭 이하에서 바꿈) · 작은 창 머리 전환 · 크기 함께 줄 */
.om_dcs_mo{display:none;}
.omz_lnmode{display:inline-flex; gap:2px; margin-right:6px; padding:2px; border-radius:7px; background:rgba(255,255,255,.12);}
.omz_lnmode button{width:auto !important; height:24px !important; padding:0 10px !important; border-radius:5px !important; background:transparent !important; color:#cbd5e1 !important; font-size:11px; font-weight:700;}
.omz_lnmode button.on{background:#fff !important; color:#111 !important;}
.omz_lnsc{padding-bottom:8px; border-bottom:1px dashed #e5e7eb;}
.omz_lnsc > span{color:#9ca3af; font-size:11px; margin-right:auto;}
.omz_lnsc button{height:28px; padding:0 10px; border:1px solid #3B3D72; border-radius:6px; background:#fff; color:#3B3D72; font-weight:700; cursor:pointer;}
.omz_lnsc button:hover{background:#3B3D72; color:#fff;}
.omz_tas .omz_tapc{width:auto; padding:0 8px; font-size:11px; font-weight:700;}
.omz_dcpc{border-color:#94a3b8; color:#475569;}

/* ★1125 데코 창 정리 — 사이트 공통 label·input 덮어쓰기 막기 · 숫자 4칸 격자 · 추가 버튼 한 줄 */
.omz_dcm .omz_dcc{gap:7px; padding:9px;}
.omz_dcm .omz_dcr{display:flex !important; flex-wrap:nowrap; align-items:center; gap:6px;}
.omz_dcm .omz_dcr.g4{display:grid !important; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:6px;}
.omz_dcm .omz_dcr label{display:flex !important; flex-direction:column; gap:2px; width:auto !important; margin:0 !important; font-size:10px; font-style:normal; color:#6b7280; min-width:0;}
.omz_dcm .omz_dcr.g4 input[type=number]{width:100% !important; min-width:0; height:28px !important; padding:0 6px !important; font-size:12px !important;}
.omz_dcm .omz_dcr select{flex:1 1 auto; width:auto !important; min-width:0; height:30px !important;}
.omz_dcm .omz_dcr input[type=color]{flex:0 0 36px; width:36px !important; height:30px !important;}
.omz_dcm .omz_dcr button{flex:0 0 auto; height:30px;}
.omz_dcm .omz_dcr textarea{flex:1 1 auto;}
.omz_dcm .omz_dcadd{display:block; width:100%; height:34px; margin:2px 0 0;}
.omz_dcm .omz_lns_b > small{display:block; font-style:normal;}
.omz_dcm .omz_lnsc{border-bottom:0; padding-bottom:0;}

/* ★1125 스타일 카드 PC / 모바일 전환 — 모바일이면 카드 테두리 파랑 · 안내 · 숫자만 */
.omz_cmode{display:flex; gap:2px; margin:0 0 6px; padding:2px; border-radius:7px; background:#f1f5f9;}
.omz_cmode button{flex:1 1 0; height:24px; border:0; border-radius:5px; background:transparent; color:#64748b; font-size:11px; font-weight:700; cursor:pointer;}
.omz_cmode button.on{background:#3B3D72; color:#fff;}
.omz_sty.mo .omz_cmode button.on{background:#2563eb;}
.omz_sty.mo{border-color:#93c5fd;}
.omz_monote{margin:2px 0 4px; padding:6px 8px; border-radius:6px; background:#eff6ff; color:#1e40af; font-size:10.5px; line-height:1.45;}
.omz_sty.mo .omz_sty_f input::placeholder, .omz_sty.mo .omz_r4 input::placeholder{color:#cbd5e1;}

/* ★1127 0줄 목록 — 세로 위치(--ai flex-start = 위부터 · 없으면 가운데) · 상자 위 안 여백(--lpt 도화지 px) */
.orgmap_set .om_area.om_bx{align-items:var(--ai, center); padding-top:calc(var(--lpt, 0) / var(--cw, 1460) * 100cqw); padding-bottom:calc(var(--lpb, 0) / var(--cw, 1460) * 100cqw);}
.omm_bx{align-items:var(--ai, center); padding-top:calc(var(--lpt, 0) * var(--k, 1) * 1px); padding-bottom:calc(var(--lpb, 0) * var(--k, 1) * 1px);}
/* 글자 줄 설정 창 0줄(목록) 칸 */
.omz_li0{display:flex; flex-direction:column; gap:6px; padding:8px; border:1px solid #e0e7ff; border-radius:8px; background:#f8faff;}
.omz_li0t{margin-right:auto; color:#334155; font-weight:600;}
.omz_li0t small{margin-left:4px; color:#9ca3af; font-weight:400; font-size:10.5px;}
.omz_lims .omz_tas{flex-wrap:wrap;}
.omz_lims .omz_tas button{width:auto; min-width:28px; padding:0 6px; font-size:13px; font-weight:700;}
/* ★1127 줄마다(1·2·3줄) 목록·안쪽 박스 — 줄 = 안쪽 박스(가로 100%) · 줄 안 줄바꿈 = 항목(.om_li)
   --u = 도화지 px 1 (페이지 cqw · 편집기 --k px) · 변수 없으면 예전 모양 그대로 */
.orgmap_set .om_bx{--u:calc(1 / var(--cw, 1460) * 100cqw);}
.omm_bx{--u:calc(var(--k, 1) * 1px);}
.orgmap_set .om_bx .om_bxt, .omm_bx .omm_bxt{width:100%;}
.om_li{display:block; position:relative; counter-increment:omlj;}
.om_li::before{position:absolute; left:0; top:0; color:var(--lic, currentColor); font-weight:400;}
.om_bx .om_ln, .omm_bx .om_ln{counter-reset:omlj; box-sizing:border-box;}
.om_bx .om_ln1, .omm_bx .om_ln1{text-align:var(--l1a, inherit); line-height:var(--l1h, var(--llh, inherit)); background:var(--l1b, transparent); border:calc(var(--l1kw, 0) * var(--u)) solid var(--l1k, transparent); padding:calc(var(--l1p, 0) * var(--u)); border-radius:calc(var(--l1r, 0) * var(--u));}
.om_bx .om_ln2, .omm_bx .om_ln2{text-align:var(--l2a, inherit); line-height:var(--l2h, var(--llh, inherit)); background:var(--l2b, transparent); border:calc(var(--l2kw, 0) * var(--u)) solid var(--l2k, transparent); padding:calc(var(--l2p, 0) * var(--u)); border-radius:calc(var(--l2r, 0) * var(--u));}
.om_bx .om_ln3, .omm_bx .om_ln3{text-align:var(--l3a, inherit); line-height:var(--l3h, var(--llh, inherit)); background:var(--l3b, transparent); border:calc(var(--l3kw, 0) * var(--u)) solid var(--l3k, transparent); padding:calc(var(--l3p, 0) * var(--u)); border-radius:calc(var(--l3r, 0) * var(--u));}
.om_ln1 > .om_li{padding-left:var(--l1ip, 0);} .om_ln1 > .om_li::before{content:var(--l1m, none);}
.om_ln2 > .om_li{padding-left:var(--l2ip, 0);} .om_ln2 > .om_li::before{content:var(--l2m, none);}
.om_ln3 > .om_li{padding-left:var(--l3ip, 0);} .om_ln3 > .om_li::before{content:var(--l3m, none);}
.om_ln1 > .om_li:not(:last-child){margin-bottom:calc(var(--l1i, 0) * var(--u));}
.om_ln2 > .om_li:not(:last-child){margin-bottom:calc(var(--l2i, 0) * var(--u));}
.om_ln3 > .om_li:not(:last-child){margin-bottom:calc(var(--l3i, 0) * var(--u));}
/* 안쪽 박스 안 여백을 줘도 0줄 목록 들여쓰기(--lip)는 그대로 */
.om_bx .om_ln1, .omm_bx .om_ln1{padding-left:calc(var(--l1p, 0) * var(--u) + var(--lip, 0px));}
.om_bx .om_ln2, .omm_bx .om_ln2{padding-left:calc(var(--l2p, 0) * var(--u) + var(--lip, 0px));}
.om_bx .om_ln3, .omm_bx .om_ln3{padding-left:calc(var(--l3p, 0) * var(--u) + var(--lip, 0px));}
/* ★1127 줄 박스 높이 — 글 영역(.om_bxt)을 상자 높이만큼 세로로 늘리고 상자 세로 정렬(--ai)은 그 안에서
   --l?f 1 1 auto = 상자 아래까지 채움 · --l?H = 고정 높이 · --l?d flex = 높이를 정한 줄만 박스 안 세로 정렬(--l?v) */
.orgmap_set .om_bx .om_bxt, .omm_bx .omm_bxt{display:flex; flex-direction:column; justify-content:var(--ai, center); align-self:stretch; min-height:0;}
.om_bx .om_ln1, .omm_bx .om_ln1{flex:var(--l1f, 0 0 auto); height:var(--l1H, auto); display:var(--l1d, block); flex-direction:column; justify-content:var(--l1v, flex-start);}
.om_bx .om_ln2, .omm_bx .om_ln2{flex:var(--l2f, 0 0 auto); height:var(--l2H, auto); display:var(--l2d, block); flex-direction:column; justify-content:var(--l2v, flex-start);}
.om_bx .om_ln3, .omm_bx .om_ln3{flex:var(--l3f, 0 0 auto); height:var(--l3H, auto); display:var(--l3d, block); flex-direction:column; justify-content:var(--l3v, flex-start);}
/* ★1127 줄마다 입력한 줄(항목 .om_li 가 있는 줄)은 0줄 목록 기호·들여쓰기 안 붙임 — 기호는 줄마다 [목록 · 기호] 로 */
.om_bx .om_ln:has(> .om_li)::before, .omm_bx .om_ln:has(> .om_li)::before{content:none;}
.om_bx .om_ln1:has(> .om_li), .omm_bx .om_ln1:has(> .om_li){padding-left:calc(var(--l1p, 0) * var(--u));}
.om_bx .om_ln2:has(> .om_li), .omm_bx .om_ln2:has(> .om_li){padding-left:calc(var(--l2p, 0) * var(--u));}
.om_bx .om_ln3:has(> .om_li), .omm_bx .om_ln3:has(> .om_li){padding-left:calc(var(--l3p, 0) * var(--u));}
/* ★1127 줄 박스 좌우 꽉 (--l?x 1) — 바깥 상자 좌우 여백(--px, 비우면 6)만큼 밖으로 → 상자 양 끝까지 */
.om_bx .om_ln1, .omm_bx .om_ln1{margin-left:calc(var(--l1x, 0) * var(--px, 6) * -1 * var(--u)); margin-right:calc(var(--l1x, 0) * var(--px, 6) * -1 * var(--u));}
.om_bx .om_ln2, .omm_bx .om_ln2{margin-left:calc(var(--l2x, 0) * var(--px, 6) * -1 * var(--u)); margin-right:calc(var(--l2x, 0) * var(--px, 6) * -1 * var(--u));}
.om_bx .om_ln3, .omm_bx .om_ln3{margin-left:calc(var(--l3x, 0) * var(--px, 6) * -1 * var(--u)); margin-right:calc(var(--l3x, 0) * var(--px, 6) * -1 * var(--u));}
/* 설정 창 줄마다 두 번째 줄 */
.omz_lnw{display:flex; flex-direction:column; gap:4px; padding:6px 0; border-top:1px dashed #eef0f4;}
.omz_lnr2{padding-left:36px; flex-wrap:wrap; row-gap:4px;}
.omz_lnr2t{width:30px; flex:0 0 auto; color:#94a3b8; font-size:10.5px; font-weight:700;}
.omz_lnbx input[type=color]:disabled{opacity:.35;}
.omz_lnbx input[type=checkbox]{margin:0 2px 0 0;}
.omz_lnta .omz_vas{margin-left:2px;}   /* 정렬 줄 — 가로(왼·가운데·오른) 옆 세로(위·가운데·아래) */
