/* 관리자 화면 모양(2026-11-13 시안 E → 2026-11-16 2차 시안). 기존 CSS 다음에 읽어 모양만 바꾼다(화면 구조·스크립트가 쓰는 id·class는 그대로).
   배치: 왼쪽 메뉴 240px + 위쪽 막대 64px + 내용. 색: 남색 메뉴, 밝은 회색 바탕, 파란 주 버튼, 빨간 삭제. */
:root {
  --e-side: #0b1a2e;
  --e-side-2: #14263d;
  --e-side-on: #1c3350;
  --e-side-text: #c3cfdb;
  --e-side-muted: #8094a9;
  --e-sky: #7cc2ef;
  --e-bg: #f4f6f9;
  --e-surface: #ffffff;
  --e-line: #e1e7ee;
  --e-line-2: #eef2f6;
  --e-ink: #101b29;
  --e-ink-2: #22364b;
  --e-muted: #4b5d70;
  --e-primary: #0a5bb8;
  --e-primary-2: #08488f;
  --e-primary-soft: #dbe8f8;
  --e-danger: #c2372b;
  --e-danger-soft: #fdf0ee;
  --e-warn-bg: #fff1dc;
  --e-warn-line: #f5d6b3;
  --e-warn-ink: #8a4b05;
  --e-font: 'Pretendard Variable', 'Pretendard JP Variable', Pretendard, 'Malgun Gothic', sans-serif; /* [2026-11-16] Pretendard(이 서버, OFL) */
  --e-mono: 'Pretendard Variable', 'Pretendard JP Variable', Pretendard, 'Malgun Gothic', sans-serif; /* 배지·언어 탭: 같은 글꼴에 숫자 폭 고정 */
  --v2-side-w: 240px;
  --v2-top-h: 64px;
}

html body { font-family: var(--e-font); color: var(--e-ink); background: var(--e-bg); }
html body .adm_container.bg-pale, html body .adm_container { background: var(--e-bg); padding-left: var(--v2-side-w); }
html body.v2 .adm_container { padding-top: var(--v2-top-h); }
html body .adm_body_wrap { padding: 28px 32px 40px; max-width: 1280px; }

/* ===== 왼쪽 메뉴 ===== */
html body .adm_aside { width: var(--v2-side-w); background: var(--e-side); box-shadow: none; display: flex; flex-direction: column; overflow-y: auto; padding: 0 14px 16px; box-sizing: border-box; }
html body .adm_aside_title { padding: 24px 10px 18px; text-align: left; }
html body .adm_aside_title h1 { width: auto; margin: 0; text-align: left; }
html body .adm_aside_title h1 a { display: flex; flex-direction: column; gap: 6px; color: var(--e-side-muted); font-size: 12px; font-weight: 400; text-decoration: none; }
html body .adm_aside_title h1 img.adm_logo_img { width: auto; height: 18px; display: block; }
html body .v2-home { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 8px; color: var(--e-side-text); font-size: 14px; font-weight: 500; text-decoration: none; }
html body .v2-home:hover { background: var(--e-side-2); color: #fff; }
html body .v2-home.v2-on { background: var(--e-side-on); color: #fff; font-weight: 600; }
html body .v2-home svg, html body .v2-ico { color: var(--e-side-muted); flex: none; }
html body .v2-home.v2-on svg { color: var(--e-sky); }
html body .v2-group-label { display: block; margin: 18px 10px 6px; font-size: 12px; color: var(--e-side-muted); }
html body .side_main_menu { padding: 0; }
html body .side_main_menu ul.adm_side_depth01 > li > a { display: flex; gap: 10px; align-items: center; color: var(--e-side-text); padding: 10px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; }
html body .side_main_menu ul.adm_side_depth01 > li > a:hover { background: var(--e-side-2); color: #fff; }
html body .side_main_menu ul.adm_side_depth01 > li.active > a, html body .side_main_menu ul.adm_side_depth01 > li > a.on { color: #fff; font-weight: 600; background: transparent; }
html body .side_main_menu ul.adm_side_depth01 > li.active > a .v2-ico { color: var(--e-sky); }
html body .side_main_menu ul.adm_side_depth01 > li > a .arrow { margin-left: auto; }
html body .side_main_menu ul.adm_side_depth02 { margin: 0 0 6px 28px; padding: 2px 0 2px 10px; border-left: 1px solid #22395a; background: transparent; }
html body .side_main_menu ul.adm_side_depth02 > li > a { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #b3c1cf; padding: 7px 10px; border-radius: 7px; font-size: 14px; }
html body .side_main_menu ul.adm_side_depth02 > li > a:hover { background: var(--e-side-2); color: #fff; opacity: 1; }
html body .side_main_menu ul.adm_side_depth02 > li > a.adme-on { background: var(--e-side-on); color: #fff; font-weight: 600; }
html body .v2-badge { min-width: 22px; padding: 1px 7px; border-radius: 10px; background: #f0a33a; color: #1b1203; font-size: 12px; font-weight: 700; text-align: center; line-height: 18px; box-sizing: border-box; }
html body .v2-badge[hidden] { display: none; }
html body .side_main_menu ul.adm_side_depth01 > li > a .v2-badge { margin-left: auto; }
html body .side_main_menu ul.adm_side_depth01 > li > a .v2-badge + .arrow { margin-left: 10px; }
html body .side_main_menu ul.adm_side_depth01 > li > a .v2-badge { margin-right: 4px; }
html body .v2-aside-foot { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 2px; }
html body .v2-aside-foot a, html body .v2-aside-foot .adm_logout { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--e-side-text); font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; text-align: left; box-sizing: border-box; }
html body .v2-aside-foot a:hover, html body .v2-aside-foot .adm_logout:hover { background: var(--e-side-2); color: #fff; }
html body .v2-aside-foot svg { color: var(--e-side-muted); }
html body .v2-aside-foot .adm_log { padding: 0; width: 100%; }

/* ===== 위쪽 막대 ===== */
html body .v2-topbar { position: fixed; top: 0; left: var(--v2-side-w); right: 0; height: var(--v2-top-h); z-index: 90; background: #fff; border-bottom: 1px solid var(--e-line); display: flex; align-items: center; gap: 16px; padding: 0 32px; box-sizing: border-box; }
html body .v2-crumb { display: flex; gap: 8px; align-items: center; color: var(--e-muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html body .v2-crumb-now { color: var(--e-ink); font-weight: 600; }
html body .v2-search { position: relative; margin-left: auto; display: flex; gap: 8px; align-items: center; width: 100%; max-width: 360px; height: 40px; padding: 0 12px; border: 1px solid #d3dbe4; border-radius: 10px; background: #f7f9fb; box-sizing: border-box; }
html body .v2-search:focus-within { border-color: var(--e-primary); background: #fff; box-shadow: 0 0 0 3px var(--e-primary-soft); }
html body .v2-search input { flex: 1; min-width: 0; height: 36px; border: 0 !important; background: transparent; font: inherit; font-size: 14px; outline: none; box-shadow: none !important; padding: 0; }
html body .v2-search kbd { font-family: var(--e-mono); font-size: 11px; color: var(--e-muted); border: 1px solid #d3dbe4; border-radius: 5px; padding: 1px 5px; background: #fff; }
html body .v2-search-pop { position: absolute; top: 46px; right: 0; width: 480px; max-width: calc(100vw - 280px); max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--e-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(11,26,46,.18); padding: 8px; box-sizing: border-box; }
html body .v2-search-pop[hidden] { display: none; }
html body .v2-search-group { display: flex; flex-direction: column; padding: 4px 0; }
html body .v2-search-group + .v2-search-group { border-top: 1px solid var(--e-line-2); }
html body .v2-search-group strong { font-size: 12px; color: var(--e-muted); padding: 6px 10px 2px; }
html body .v2-search-group a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--e-ink); }
html body .v2-search-group a:hover, html body .v2-search-group a.v2-on { background: #f2f7ff; }
html body .v2-search-title { font-weight: 600; font-size: 14px; }
html body .v2-search-meta { font-size: 12px; color: var(--e-muted); }
html body .v2-search-empty { margin: 0; padding: 14px 10px; color: var(--e-muted); }
html body .v2-user { display: flex; gap: 8px; align-items: center; color: var(--e-ink-2); font-size: 14px; white-space: nowrap; }
html body .v2-user-dot { width: 30px; height: 30px; border-radius: 15px; background: var(--e-primary-soft); color: var(--e-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }

/* ===== 짧은 알림, 저장 안 한 변경 표시 ===== */
html body .v2-toasts { position: fixed; right: 28px; bottom: 24px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
html body .v2-toast { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid #cfe6d8; box-shadow: 0 8px 24px rgba(11,26,46,.14); color: #0f5c35; font-weight: 600; font-size: 14px; }
html body .v2-toast-err { border-color: #efc2bd; color: #9c2a20; }
html body .v2-toast button { border: 0; background: transparent; color: var(--e-primary); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
html body .v2-dirty { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 8px; background: var(--e-warn-bg); color: var(--e-warn-ink); font-weight: 600; font-size: 13px; }
html body .v2-dirty::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #e08a1a; }
html body .v2-dirty[hidden] { display: none; }

/* ===== 머리말 ===== */
html body .adm_common_header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px !important; }
html body .adm_common_header h2.page-title { font-size: 26px; font-weight: 700; letter-spacing: -.01em; border-bottom: 0; padding-bottom: 0 !important; margin: 0; color: var(--e-ink); }
html body .adme-head-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }

/* 언어 탭: 밑줄 탭 */
html body .adm_lang { border-bottom: 1px solid #dde3ea; margin-bottom: 18px !important; }
html body .adm_lang ul { display: flex; gap: 28px; }
html body .adm_lang ul li { background: transparent; border-radius: 0; padding: 10px 2px; color: var(--e-muted); font-family: var(--e-mono); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
html body .adm_lang ul li + li { margin-left: 0; }
html body .adm_lang ul li:hover { background: transparent; color: var(--e-ink); }
html body .adm_lang ul li.lang_on { background: transparent; color: var(--e-ink); border-bottom-color: var(--e-primary); }

/* 카드 */
html body .post-box { background: var(--e-surface); border: 1px solid var(--e-line); border-radius: 14px; padding: 20px 22px; box-shadow: none; }
html body .post-box h5.post-title { font-size: 17px; font-weight: 700; color: var(--e-ink); margin-bottom: 12px; }

/* 표 */
html body .board-table { font-size: 14px; border-collapse: collapse; }
html body .board-table tr { border-top: 1px solid var(--e-line-2); }
html body .board-table tr:last-child { border-bottom: 1px solid var(--e-line-2); }
html body .board-table th { background: #f7f9fb; color: var(--e-muted); font-size: 12px; font-weight: 600; padding: 12px 10px; }
html body .board-table td { padding: 10px; color: var(--e-ink-2); }
html body .board-table td[data-attr="title"], html body .board-table td em[data-attr="title"] { font-weight: 600; color: var(--e-ink); font-style: normal; }
html body .board-table tbody tr:hover td { background: #f8fafc; }
html body .board-table tbody tr.adme-checked td { background: #f2f7ff; }
html body .board-table .thumb-nail { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--e-bg); margin: 0 auto; }
html body .board-table .thumb-nail img { width: 100%; height: 100%; object-fit: contain; }

/* 체크 */
html body .check-mark em::before { border-color: #b9c4cf; border-radius: 4px; }
html body .check-mark input:checked + em::before { background-color: var(--e-primary); border-color: var(--e-primary); }
html body .check-mark input:checked + em.radio::before { background-color: var(--e-primary); border-color: var(--e-primary); }

/* 버튼 */
html body .btn-primary, html body .button button.btn-primary, html body input.btn-primary { background: var(--e-primary); border-color: var(--e-primary); color: #fff; border-radius: 10px; font-weight: 600; }
html body .btn-primary:hover { background: var(--e-primary-2); border-color: var(--e-primary-2); color: #fff; }
html body .btn-secondary, html body .button button.btn-secondary { background: #fff; color: var(--e-danger); border: 1px solid #efc2bd; border-radius: 10px; font-weight: 600; }
html body .btn-secondary:hover { background: var(--e-danger-soft); color: var(--e-danger); border-color: #efc2bd; }
/* 목록의 "수정" 등 줄 버튼: 무거운 검은 버튼 대신 테두리 버튼 */
html body .btn-green, html body .button-sm button.btn-green { background: #fff; color: var(--e-primary); border: 1px solid #b7cde6; border-radius: 8px; font-weight: 600; }
html body .btn-green:hover { background: #f2f7ff; color: var(--e-primary-2); border-color: var(--e-primary); }
html body .board-table td button[data-attr="modify"] { white-space: nowrap; min-width: 56px; height: 36px; padding: 0 14px; }
html body .btn-default, html body input.btn-default { background: #fff; color: var(--e-ink-2); border: 1px solid #c9d3de; border-radius: 10px; }
html body .theme-secondary { background: #fff !important; color: var(--e-primary) !important; border: 1px solid #b7cde6 !important; border-radius: 8px !important; }
html body .file_add_btn { border-radius: 8px; }

/* 입력 칸 */
html body input[type="text"], html body input[type="url"], html body input[type="search"], html body input.input-sm, html body textarea, html body select { border-radius: 10px; border-color: #c9d3de; font-family: var(--e-font); }
html body input[type="text"]:focus, html body input[type="url"]:focus, html body input[type="search"]:focus, html body textarea:focus, html body select:focus { outline: none; border-color: var(--e-primary); box-shadow: 0 0 0 3px var(--e-primary-soft); }
html body .post-table { border-top: 1px solid var(--e-line-2); }
html body .post-table:last-child { border-bottom: 1px solid var(--e-line-2); }
html body .post-table dt, html body .post-table th { background: #f7f9fb; color: var(--e-ink-2); font-weight: 600; font-size: 14px; }
html body .post-table dd, html body .post-table td { font-size: 14px; }

/* 저장 버튼 줄: 등록·수정 화면에서 화면 아래에 붙어 있게 */
html body .adm_body_wrap > .button.save-btn:not(.left_button) { position: sticky; bottom: 0; z-index: 20; background: rgba(255,255,255,.96); border-top: 1px solid var(--e-line); margin: 20px -32px 0 !important; padding: 12px 32px; display: flex; justify-content: flex-end; gap: 8px; }

/* 사용 여부 스위치(제품·팝업 목록의 원래 OFF/ON) */
html body .switch-toggle input:checked + label, html body .toggle-switch input:checked + .slider { background-color: var(--e-primary); }

/* ===== 목록 보강(adm-e.js가 붙이는 것) ===== */
html body.adme-list .sort-control-container, html body.adme-list .adme-hide { display: none !important; }
html body.adme-list .row-short > .col-md-11 { flex: 0 0 100%; max-width: 100%; width: 100%; }
html body.adme-list .row-short > .col-md-1 { display: none; }
html body.adme-list .pagination { display: none !important; }
html body.adme-list .adme-wide { flex: 0 0 100%; max-width: 100%; width: 100%; }
/* 숨김(hidden) 표시가 있는 시안 E 요소는 display 규칙보다 숨김이 먼저 */
html body [class^="adme-"][hidden], html body [class*=" adme-"][hidden] { display: none !important; }
html body .adme-primary-btn { font-family: var(--e-font); font-size: 14px; font-weight: 600; color: #fff; background: var(--e-primary); border: 0; border-radius: 10px; padding: 0 16px; height: 40px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
html body .adme-primary-btn:hover { background: var(--e-primary-2); }
html body .adme-warn { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--e-warn-bg); border: 1px solid var(--e-warn-line); border-radius: 12px; padding: 10px 16px; margin-bottom: 14px; color: var(--e-warn-ink); font-size: 14px; }
html body .adme-warn[hidden] { display: none !important; }
html body .adme-warn button { margin-left: auto; font-family: var(--e-font); font-size: 13px; font-weight: 600; color: var(--e-warn-ink); background: #fff; border: 1px solid #f0c595; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
html body .adme-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
html body .adme-search { flex: 1 1 240px; max-width: 320px; display: flex; align-items: center; gap: 8px; border: 1px solid #c9d3de; border-radius: 10px; padding: 0 12px; height: 40px; box-sizing: border-box; background: #fff; }
html body .adme-search:focus-within { border-color: var(--e-primary); box-shadow: 0 0 0 3px var(--e-primary-soft); }
html body .adme-search input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; padding: 0; height: 36px; font-size: 14px; background: transparent; }
html body .adme-filter { display: flex; flex-wrap: wrap; gap: 2px; background: #e8edf2; border-radius: 10px; padding: 3px; }
html body .adme-filter button { font-family: var(--e-font); font-size: 13px; color: var(--e-ink-2); background: transparent; border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
html body .adme-filter button[aria-pressed="true"] { background: #fff; color: var(--e-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(11,26,46,.12); }
html body .adme-size { margin-left: auto; display: flex; gap: 6px; align-items: center; color: var(--e-muted); font-size: 13px; }
html body .adme-size select { font-family: var(--e-font); border: 1px solid #c9d3de; border-radius: 8px; padding: 6px 8px; background: #fff; }
/* 선택 막대: 체크하면 화면 아래 가운데에 뜬다 */
html body .adme-selbar { position: fixed; left: calc(50% + var(--v2-side-w) / 2); bottom: 24px; transform: translateX(-50%); z-index: 120; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: calc(100vw - var(--v2-side-w) - 48px); background: var(--e-side); color: #fff; border-radius: 14px; padding: 10px 12px 10px 18px; box-shadow: 0 12px 32px rgba(11,26,46,.28); box-sizing: border-box; }
html body .adme-selbar[hidden] { display: none !important; }
html body .adme-selbar strong { font-weight: 600; margin-right: 6px; }
html body .adme-selbar .adme-sep { width: 1px; height: 20px; background: #34506f; margin: 0 4px; }
html body .adme-selbar .adme-lbl { color: #9fb0c2; font-size: 13px; }
html body .adme-selbar input#move_count { width: 52px; height: 34px; border-radius: 8px; border: 1px solid #34506f; background: #14263d; color: #fff; text-align: center; padding: 0; }
html body .adme-selbar button { font-family: var(--e-font); font-size: 13px; color: #fff; background: transparent; border: 1px solid #34506f; border-radius: 9px; height: 36px; padding: 0 12px; cursor: pointer; }
html body .adme-selbar button:hover { background: #1c3350; }
html body .adme-selbar button:disabled { opacity: .4; cursor: not-allowed; }
html body .adme-selbar .adme-save { background: #fff; color: var(--e-ink); border-color: #fff; font-weight: 600; }
html body .adme-selbar .adme-del { background: var(--e-danger); border-color: var(--e-danger); font-weight: 600; }
html body .adme-selbar .adme-clear { border-color: transparent; color: #c3cfdb; }
html body .adme-selbar .adme-note { color: #f0c595; font-size: 12px; }
html body .adme-pager { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 4px 2px; color: var(--e-muted); font-size: 13px; }
html body .adme-pager nav { display: flex; gap: 4px; align-items: center; font-variant-numeric: tabular-nums; }
html body .adme-pager nav button { min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid #d3dbe4; background: #fff; color: var(--e-ink); font-family: var(--e-font); cursor: pointer; }
html body .adme-pager nav button[aria-current="page"] { background: var(--e-primary); border-color: var(--e-primary); color: #fff; font-weight: 600; }
html body .adme-pager nav button:disabled { color: #b5c0cc; background: #f7f9fb; cursor: default; }
html body .adme-pager nav span { color: #a9b5c2; padding: 0 2px; }
html body .adme-empty td { padding: 30px 10px !important; color: var(--e-muted); }
html body .adme-emptynote { margin: 12px 4px 0; color: var(--e-muted); }

/* 끌어서 순서 바꾸기, 제품 목록 보강 */
html body.adme-list .board-table th, html body.adme-list .board-table td.adme-detail { white-space: nowrap; }
html body.adme-list .board-table td.check { white-space: nowrap; }
html body.adme-list .board-table td.check .check-mark, html body.adme-list .board-table td:first-child > label { display: inline-block; vertical-align: middle; }
html body .adme-handle { width: 24px; height: 34px; margin-right: 6px; border: 0; border-radius: 6px; background: transparent; color: #98a6b5; cursor: grab; vertical-align: middle; padding: 0; display: inline-flex; align-items: center; justify-content: center; touch-action: none; }
html body .adme-handle:hover, html body .adme-handle:focus-visible { background: var(--e-primary-soft); color: var(--e-primary); outline: none; }
html body .board-table tr.adme-dragging td { background: #fff !important; box-shadow: inset 0 0 0 2px var(--e-primary); }
html body .board-table tr.adme-dragging .adme-handle { cursor: grabbing; color: var(--e-primary); }
html body .adme-hint { color: var(--e-muted); font-size: 13px; }
html body td.adme-detail { white-space: nowrap; }
html body td.adme-detail img { width: 28px; height: 28px; object-fit: contain; background: var(--e-bg); border-radius: 5px; margin-right: 4px; vertical-align: middle; }
html body .adme-count { font-size: 12px; font-weight: 600; color: var(--e-ink-2); vertical-align: middle; }
html body .adme-muted { color: var(--e-muted); font-size: 13px; }
html body .adme-same { display: block; margin-top: 4px; color: var(--e-warn-ink); font-size: 12px; font-weight: 500; }
html body .button-sm .adme-preview { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; border: 1px solid #d3dbe4; border-radius: 8px; color: var(--e-ink-2); background: #fff; vertical-align: middle; }
html body .button-sm .adme-preview:hover { border-color: var(--e-primary); color: var(--e-primary); }
html body .button-sm { display: inline-flex; align-items: center; }

/* 첨부 배지 */
html body .adm-badge { display: inline-flex; gap: 5px; align-items: center; font-family: var(--e-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; border-radius: 6px; padding: 3px 7px; margin: 1px 2px; white-space: nowrap; }
html body .adm-badge-pdf { color: #b4251a; background: #fdebea; }
html body .adm-badge-dwg { color: #5b3aa8; background: #efe9fb; }
html body .adm-badge-zip { color: #8a5300; background: #fbf0dc; }
html body .adm-badge-img { color: #0f6a6a; background: #e0f3f3; }
html body .adm-badge-link { color: #134ea8; background: #e9f1fd; }
html body .adm-badge-etc { color: #33475b; background: #eef1f4; }
html body .adm-badge-none { font-family: var(--e-font); letter-spacing: 0; color: #a1281d; background: transparent; border: 1px dashed #e0a39b; }

/* 링크 바로가기 칸(adm-links.js) */
html body .adm-links { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--e-line); }
html body .adm-links-title { font-size: 14px; font-weight: 700; color: var(--e-ink); margin: 0 0 10px; }
html body .adm-links-count { font-weight: 500; color: var(--e-muted); font-size: 13px; }
html body .adm-links-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body .adm-link-row { display: flex; gap: 10px; align-items: center; border: 1px solid var(--e-line); border-radius: 10px; padding: 9px 12px; background: #fff; }
html body .adm-link-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
html body .adm-link-name-text { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .adm-link-actions { display: flex; flex: none; gap: 6px; align-items: center; white-space: nowrap; }
html body .adm-link-actions .adm-link-open { margin-right: 4px; }
/* 언어별 등록 화면은 파일 칸이 하나뿐인데(첫 칸은 숨은 견본) 원래 틀이 절반 폭(col-md-6)이라 넓게 쓴다. 모든 언어 동시 등록(칸 여러 개)은 그대로 */
html body #attach_wrap > .col-md-6:nth-child(2):last-child { width: 100%; max-width: 100%; float: none; }
html body .adm-link-host { font-size: 12px; color: var(--e-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .adm-link-open { font-size: 13px; font-weight: 600; color: var(--e-primary); text-decoration: none; }
html body .adm-link-move, html body .adm-link-del { font-family: var(--e-font); font-size: 12px; border: 1px solid var(--e-line); background: #fff; border-radius: 6px; padding: 4px 8px; cursor: pointer; color: var(--e-ink-2); }
html body .adm-link-move:disabled { opacity: .4; cursor: default; }
html body .adm-link-del { color: var(--e-danger); border-color: #efc2bd; }
html body .adm-links-add { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; gap: 8px; align-items: end; background: #f6f9ff; border: 1px solid #c9dbf6; border-radius: 10px; padding: 12px; }
html body .adm-link-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--e-ink-2); }
html body .adm-link-field input { width: 100%; box-sizing: border-box; font-size: 14px; font-weight: 400; border: 1px solid #c9d3de; border-radius: 8px; padding: 8px 10px; background: #fff; }
html body .adm-link-add { font-family: var(--e-font); font-size: 14px; font-weight: 600; color: #fff; background: var(--e-ink); border: 0; border-radius: 8px; padding: 9px 14px; cursor: pointer; }
html body .adm-links-error { margin: 8px 0 0; color: var(--e-danger); font-size: 13px; }
html body .adm-links-help { margin: 8px 0 0; color: var(--e-muted); font-size: 12px; line-height: 1.6; }

/* 좁은 화면 */
@media (max-width: 900px) {
  html body .adm-links-add { grid-template-columns: minmax(0, 1fr); }
  html body .v2-user, html body .v2-search kbd { display: none; }
  html body .v2-topbar { padding: 0 16px; }
}

/* ===== 첫 화면(adm_home.php) ===== */
html body .v2-btn { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 10px; border: 1px solid #c9d3de; background: #fff; color: var(--e-ink-2); font-weight: 600; font-size: 14px; text-decoration: none; }
html body .v2-btn:hover { border-color: var(--e-primary); color: var(--e-primary); }
html body .v2-btn-primary { background: var(--e-primary); border-color: var(--e-primary); color: #fff; }
html body .v2-btn-primary:hover { background: var(--e-primary-2); color: #fff; }
html body .v2-dash-date { margin: 4px 0 0; color: var(--e-muted); font-size: 14px; }
html body .v2-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 16px; }
html body .v2-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--e-line); border-radius: 14px; text-decoration: none; color: inherit; }
html body a.v2-card:hover { border-color: #b7cde6; }
html body .v2-card-head { display: flex; justify-content: space-between; gap: 8px; color: var(--e-muted); font-weight: 600; font-size: 14px; }
html body .v2-card-num { font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--e-ink); }
html body .v2-card-num small { font-size: 16px; font-weight: 500; color: var(--e-muted); }
html body .v2-card-link { color: var(--e-primary); font-weight: 600; font-size: 14px; }
html body .v2-card-sub { color: var(--e-muted); font-size: 13px; line-height: 1.6; }
html body .v2-card-sub a { color: var(--e-primary); font-weight: 600; text-decoration: none; }
html body .v2-card-btn { align-self: flex-start; height: 34px; padding: 0 12px; border: 1px solid #b7cde6; border-radius: 8px; background: #fff; color: var(--e-primary); font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
html body .v2-card-btn[hidden], html body .v2-tag[hidden] { display: none; }
html body .v2-tag { border-radius: 6px; padding: 0 8px; font-size: 12px; background: #eef2f6; color: var(--e-ink-2); }
html body .v2-tag-warn { background: var(--e-warn-bg); color: var(--e-warn-ink); }
html body .v2-tag-ok { background: #dcf3e6; color: #0f5c35; }
html body .v2-dash .post-box { margin: 0; }
html body .v2-dash-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
html body .v2-dash-main { flex: 2 1 520px; }
html body .v2-dash-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
html body .v2-box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
html body .v2-muted { color: var(--e-muted); font-size: 13px; }
html body .v2-note { margin: 12px 0 0; }
html body .v2-scroll { overflow-x: auto; }
html body .v2-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; }
html body .v2-table th, html body .v2-table td { padding: 11px 12px; border-bottom: 1px solid var(--e-line-2); text-align: right; }
html body .v2-table thead th { font-family: var(--e-mono); font-size: 12px; color: var(--e-muted); font-weight: 600; border-bottom-color: var(--e-line); }
html body .v2-table th:first-child { text-align: left; padding-left: 0; font-family: var(--e-font); font-weight: 500; color: var(--e-ink); }
html body .v2-table tbody tr:last-child th, html body .v2-table tbody tr:last-child td { border-bottom: 0; }
html body .v2-table a { color: var(--e-ink); text-decoration: none; font-variant-numeric: tabular-nums; }
html body .v2-table a:hover { color: var(--e-primary); text-decoration: underline; }
html body .v2-table a.v2-warn { background: var(--e-warn-bg); color: var(--e-warn-ink); border-radius: 6px; padding: 2px 8px; font-weight: 700; }
html body .v2-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
html body .v2-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--e-line-2); }
html body .v2-list li:last-child { border-bottom: 0; }
html body .v2-list a { color: var(--e-ink); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .v2-list a:hover { color: var(--e-primary); }
html body .v2-list .v2-muted { white-space: nowrap; }
html body .v2-disk-num { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
html body .v2-disk-num strong { font-size: 28px; }
html body .v2-disk-num span { color: var(--e-muted); }
html body .v2-bar { height: 10px; border-radius: 5px; background: #e6ebf1; overflow: hidden; display: flex; }
html body .v2-bar span { width: 0; background: var(--e-primary); transition: width .3s; }
html body .v2-bar span.v2-bar-warn { background: #e08a1a; }
html body .v2-broken { margin-bottom: 16px; }
html body .v2-broken[hidden] { display: none; }

/* ===== 제품 상세 사진(adm-gallery.js) ===== */
html body .v2-gallery { margin-top: 16px; }
html body .v2-gallery.v2g-drop { outline: 2px dashed var(--e-primary); outline-offset: -6px; background: #f7faff; }
html body .v2g-head { display: flex; align-items: baseline; gap: 10px; }
html body .v2g-head .post-title { margin-bottom: 0; }
html body .v2g-count { color: var(--e-muted); font-weight: 600; }
html body .v2g-note, html body .v2g-help { margin: 8px 0 12px; color: var(--e-muted); font-size: 13px; line-height: 1.6; }
html body .v2g-help { margin: 10px 0 14px; }
html body .v2g-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
html body .v2g-tile { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; background: var(--e-bg); border: 1px solid var(--e-line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
html body .v2g-tile img { width: 82%; height: 82%; object-fit: contain; pointer-events: none; }
html body .v2g-tile.v2g-dragging { border: 2px solid var(--e-primary); box-shadow: 0 8px 20px rgba(11,26,46,.18); }
html body .v2g-num { position: absolute; left: 6px; top: 6px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 10px; background: #fff; border: 1px solid #d3dbe4; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
html body .v2g-move { position: absolute; right: 6px; top: 6px; width: 28px; height: 32px; border: 1px solid #d3dbe4; border-radius: 7px; background: #fff; color: #7b8a99; cursor: grab; display: flex; align-items: center; justify-content: center; padding: 0; touch-action: none; }
html body .v2g-move:hover, html body .v2g-move:focus-visible { color: var(--e-primary); border-color: var(--e-primary); outline: none; }
html body .v2g-actions { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; gap: 4px; }
html body .v2g-main { flex: 1; height: 30px; border: 0; border-radius: 7px; background: rgba(11,26,46,.86); color: #fff; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
html body .v2g-main:hover { background: var(--e-primary); }
html body .v2g-del { width: 30px; height: 30px; border: 0; border-radius: 7px; background: rgba(194,55,43,.92); color: #fff; font: inherit; font-size: 16px; cursor: pointer; }
html body .v2g-uploading { flex-direction: column; gap: 8px; padding: 10px; box-sizing: border-box; background: #fff; text-align: center; }
html body .v2g-up-t { font-size: 12px; font-weight: 600; color: var(--e-ink-2); }
html body .v2g-up-bar { width: 80%; height: 6px; border-radius: 3px; background: #e6ebf1; display: flex; overflow: hidden; }
html body .v2g-up-bar span { width: 0; background: var(--e-primary); }
html body .v2g-up-n { font-size: 12px; color: var(--e-muted); }
html body .v2g-add label { aspect-ratio: 1 / 1; border-radius: 10px; border: 2px dashed #9fb7d3; background: #f7faff; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; padding: 10px; box-sizing: border-box; text-align: center; color: var(--e-primary); cursor: pointer; margin: 0; }
html body .v2g-add label:hover, html body .v2g-add label:focus-within { border-color: var(--e-primary); background: #eef5ff; }
html body .v2g-add-t { font-size: 13px; font-weight: 600; }
html body .v2g-add small { font-size: 11px; color: var(--e-muted); }
html body .v2g-add.v2g-full label { border-color: #d3dbe4; color: var(--e-muted); background: #f7f9fb; cursor: default; }
html body .v2g-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
html body .v2g-preview { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 14px; border-radius: 12px; background: #f7f9fb; border: 1px solid #e8edf2; }
html body .v2g-preview-t { font-weight: 600; color: var(--e-ink-2); }
html body .v2g-preview-box { display: flex; flex-direction: column; gap: 6px; }
html body .v2g-preview-big { width: 150px; height: 112px; border-radius: 8px; background: #fff; border: 1px solid var(--e-line); display: flex; align-items: center; justify-content: center; }
html body .v2g-preview-big img { width: 130px; height: 98px; object-fit: contain; }
html body .v2g-preview-strip { display: flex; gap: 4px; flex-wrap: wrap; max-width: 260px; }
html body .v2g-preview-strip img { width: 26px; height: 26px; object-fit: contain; border-radius: 5px; background: #fff; border: 1px solid var(--e-line); }
html body .v2g-preview-strip img.v2g-on { border: 2px solid var(--e-primary); }
html body .v2g-preview-n { flex: 1 1 220px; color: var(--e-muted); font-size: 13px; line-height: 1.6; }
/* 제품 수정 미리보기 버튼(adm-preview.js) */
html body .v2-preview-btn { height: 42px; padding: 0 16px; border: 1px solid #b7cde6; border-radius: 10px; background: #fff; color: var(--e-primary); font: inherit; font-weight: 600; cursor: pointer; }
html body .v2-preview-btn:hover { background: #f2f7ff; border-color: var(--e-primary); }
/* [2026-11-16] 메뉴 숫자에 뜻("대기 4"·"7일 2"), 최근 문의는 알림색이 아닌 회색, Q&A 목록의 답변 안 한 줄 */
html body .v2-badge.v2-badge-info { background: #dfe5ec; color: #2b3a4a; }
html body .board-table tbody tr.adme-wait td { background: #fff7ea; }
html body .board-table tbody tr.adme-wait td:first-child { box-shadow: inset 3px 0 0 #f0a33a; }
html body .board-table tbody tr.adme-wait td[data-attr="complete"] { font-weight: 700; }
html body .board-table tbody tr.adme-wait.adme-checked td { background: #f2f7ff; }
html body .v2-qna-wait { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: #fff7ea; border: 1px solid #f3d29a; color: #5a3b06; font-size: 13px; }
html body .adm-badge, html body .adm_lang ul li, html body .v2-table thead th, html body .v2-search kbd { font-variant-numeric: tabular-nums; }
/* [2026-11-16] 첨부 없는 자료 안내: 찾기 줄 안의 작은 칸(새 줄을 만들지 않음) */
html body .adme-toolbar .adme-warn { margin: 0; padding: 4px 6px 4px 12px; border-radius: 10px; gap: 8px; font-size: 13px; }
html body .adme-toolbar .adme-warn button { padding: 4px 10px; font-size: 12px; }
/* [2026-11-16] 목록 화면: 다 그려질 때까지 본문을 감췄다가 한 번에(adm-e.js가 v2-loading을 뺀다). 스크립트가 멈춰도 2.5초 뒤 보인다 */
html body .adm_body_wrap { transition: opacity .12s ease-out; }
@keyframes v2reveal { to { opacity: 1; } }
html body.v2-loading .adm_body_wrap { opacity: 0; animation: v2reveal 0s linear 2.5s forwards; }
@media (prefers-reduced-motion: reduce) { html body .adm_body_wrap { transition: none; } }
