/* [DEV_MAP] assets/css/common.css - 공통 스타일 - v1.7 (2026-11-16)
   [v1.7] 관리자 화면 맨 위 경고 띠(.net-alert). 이전본 private/bak/20261116/assets/css/common2.css
   [v1.6] 메뉴 구역 제목 색깔 띠(맨 아래 블록). 이전본 private/bak/20261116/assets/css/common1.css
   [v1.5] 글씨 또렷하게: Pretendard, 15px, 최소 13px, 바탕 밝게, 그림자 제거 (맨 아래 블록). 이전본 common1.css
   [원칙] 색은 최소로. 무채색 바탕 + 강조색 1개. 표 머리는 회색 배경으로 통일
   [v1.4] 명도 대비 보강: 바탕을 한 단계 어둡게, 선·보조 글자를 진하게, 카드에 얕은 그림자 (아래 '명도 대비 보강' 블록) */
:root {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --line: #cdd3da;          /* 카드·표 테두리 */
  --line-soft: #e3e7eb;     /* 표 줄 구분 */
  --line-strong: #9aa4af;   /* 입력칸·버튼 테두리 */
  --text: #111827;
  --muted: #4b5563;
  --head: #eef0f3;          /* 표 머리 회색 */
  --accent: #24527f;
  --accent-soft: #dce7f2;
  --shadow: none;
  --ok: #2f7a4f;
  --warn: #9a6a12;
  --bad: #b23b3b;
  --radius: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 15px; line-height: 1.6; font-weight: 450; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; color: var(--text); background: var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 20px; margin: 0 0 16px; }
h2 { font-size: 16px; margin: 0 0 12px; }
h3 { font-size: 14px; margin: 0 0 8px; }
p { margin: 0 0 10px; }
small, .muted { color: var(--muted); }
code { background: var(--head); padding: 1px 5px; border-radius: 4px; font-size: 12px; word-break: break-all; }

/* 상단바 / 메뉴 */
.topbar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { font-weight: 700; color: var(--text); font-size: 16px; }
.brand small { font-weight: 400; color: var(--muted); font-size: 12px; }
.top-user { margin-left: auto; color: var(--muted); font-size: 13px; }
.top-user a { margin-left: 8px; }
.nav-toggle { display: none; }
.sidenav a { display: block; color: var(--text); padding: 9px 14px; border-radius: 6px; }
.sidenav a:hover { background: var(--line-soft); text-decoration: none; }
.sidenav a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.main-guest { max-width: 420px; margin: 60px auto; padding: 0 16px; }
.main-guest.wide { max-width: 1240px; margin-top: 30px; }

/* 공개 첫 화면 */
.hero { text-align: center; padding: 28px 10px 18px; }
.hero h1 { font-size: 26px; margin-bottom: 10px; }
.hero p { color: var(--muted); font-size: 15px; }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--accent); }
.plan-card h2 { margin-bottom: 4px; }
.plan-card .price { font-size: 22px; font-weight: 700; margin: 6px 0 12px; }
.plan-card ul { margin: 0 0 16px; padding-left: 18px; color: #3b4652; }
.plan-card ul li { margin-bottom: 4px; }
.plan-card .btn { margin-top: auto; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.how div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.how b { display: block; margin-bottom: 4px; }
.seg { display: flex; gap: 6px; }
.seg label { flex: 1; border: 1px solid var(--line); border-radius: 6px; padding: 10px; text-align: center; font-weight: 600; cursor: pointer; margin: 0; }
.seg input { display: none; }
.seg input:checked + span { color: var(--accent); }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* 패널 */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat .k { color: var(--muted); font-size: 12px; }
.stat .v { font-size: 22px; font-weight: 700; margin-top: 2px; }
.stat .v small { font-size: 13px; font-weight: 400; }

/* 표 */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; background: var(--panel); }
.tbl th { background: var(--head); color: #3b4652; font-weight: 600; text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 13px; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.empty { text-align: center; color: var(--muted); padding: 28px 10px; }
.tbl td:first-child { min-width: 150px; }
.tbl .actions { text-align: right; min-width: 150px; }
.tbl .actions .btn { margin: 2px 0; }
.tbl .actions form { display: inline; }
.tbl .actions form.inline-form { display: flex; justify-content: flex-end; }
.tbl .actions { max-width: 230px; }
.test-form { display: flex !important; gap: 4px; margin-top: 6px; }
.test-form select { flex: 1; min-width: 0; padding: 4px 6px; font-size: 12px; }
.tbl td.nowrap { white-space: nowrap; }

/* 대량 목록 (광고) */
.filter-bar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 10px; }
.filter-bar .grow { flex: 1; min-width: 200px; }
.filter-bar select { width: auto; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 12px; margin-bottom: 8px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--head); }
.bulk-bar select { width: auto; padding: 4px 8px; font-size: 12px; }
.bulk-bar [data-bulk-count] { font-weight: 600; margin-right: 6px; min-width: 64px; }
[data-bulk]:not(.has-sel) .bulk-bar .btn { opacity: .55; }
.list-card { padding: 0; }
.list-card .tbl td, .list-card .tbl th { padding: 7px 10px; }
.tbl th.chk, .tbl td.chk { width: 34px; min-width: 34px; text-align: center; }
.tbl.ad-list td:first-child { min-width: 34px; }
.tbl.ad-list td:nth-child(3) { min-width: 220px; }
.tbl.ad-list td:nth-child(4), .tbl.ad-list td:nth-child(5) { white-space: nowrap; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.tbl.ad-list td:nth-child(7) { white-space: nowrap; }
.tbl.ad-list .one-line { max-width: 360px; }
.one-line { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.tabs small { color: var(--muted); font-weight: 400; }
.pager { align-items: center; flex-wrap: wrap; }

/* 배지 */
.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; border: 1px solid var(--line); background: #fafbfc; color: var(--muted); white-space: nowrap; }
.b-ok { color: var(--ok); border-color: #cfe3d7; background: #f3f9f5; }
.b-warn { color: var(--warn); border-color: #eadbb8; background: #fcf8ef; }
.b-bad { color: var(--bad); border-color: #ecd0d0; background: #fcf4f4; }

/* 폼 */
label { display: block; font-weight: 600; margin: 0 0 5px; font-size: 13px; }
.field { margin-bottom: 14px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: #fff; color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.checks label { font-weight: 400; display: inline-flex; align-items: center; gap: 5px; margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { margin-bottom: 0; }

/* 버튼 */
.btn { display: inline-block; padding: 7px 14px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--line-soft); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #274e74; }
.btn-danger { color: var(--bad); }
.btn-sm { padding: 4px 9px; font-size: 12px; }
.btn-block { display: block; width: 100%; text-align: center; padding: 10px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* 알림 */
.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; border: 1px solid var(--line); background: var(--panel); }
.alert-ok { border-color: #cfe3d7; background: #f3f9f5; color: var(--ok); }
.alert-err { border-color: #ecd0d0; background: #fcf4f4; color: var(--bad); }
.alert-warn { border-color: #eadbb8; background: #fcf8ef; color: var(--warn); }
.alert-info { border-color: #d3dfeb; background: var(--accent-soft); color: #274e74; }

/* 단계 안내 */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px dashed var(--line-soft); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--head); text-align: center; font-size: 12px; line-height: 22px; font-weight: 700; }
.steps li.done::before { background: var(--ok); color: #fff; content: "✓"; }

/* 광고 미리보기 (텔레그램 말풍선 느낌) */
.preview { background: #e9eef3; border-radius: var(--radius); padding: 14px; }
.bubble { background: #fff; border-radius: 10px; max-width: 380px; overflow: hidden; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.bubble img { display: block; width: 100%; height: auto; }
.bubble .txt { padding: 8px 12px; white-space: pre-wrap; word-break: break-word; }
.tgbtns { max-width: 380px; margin-top: 4px; }
.tgrow { display: flex; gap: 4px; margin-bottom: 4px; }
.tgrow .tgbtn { flex: 1; display: block; text-align: center; padding: 8px 6px; border-radius: 8px; background: rgba(60, 90, 120, .55); color: #fff; font-weight: 600; font-size: 13px; }
.btn-input { display: grid; grid-template-columns: 18px 1fr 1.6fr; gap: 6px; align-items: center; margin-bottom: 6px; }
.counter { font-size: 12px; color: var(--muted); text-align: right; }
.counter.over { color: var(--bad); font-weight: 700; }

.copy-line { display: flex; gap: 6px; align-items: center; }
.copy-line code { flex: 1; padding: 6px 8px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs a { padding: 8px 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.mt { margin-top: 14px; }

/* ---------------- 명도 대비 보강 (v1.4) ---------------- */
.topbar { box-shadow: 0 1px 0 var(--line); }
.brand { color: var(--text); }
.card, .stat, .how div, .plan-card, .filter-bar, .list-card { box-shadow: var(--shadow); border-color: var(--line); }
.card > h2:first-child, .card > .card-head { padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); margin-bottom: 14px; }
.card h2 { color: var(--text); font-weight: 700; }
.card h3 { color: var(--text); }
label { color: #24303c; }
.field .hint, small, .muted { color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], input[type=time], select, textarea {
  border-color: var(--line-strong); color: var(--text);
}
input::placeholder, textarea::placeholder { color: #8a949e; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(36, 82, 127, .18); border-color: var(--accent); }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; }
.btn { border-color: var(--line-strong); color: var(--text); font-weight: 500; }
.btn:hover { background: #e9edf1; border-color: #7f8b97; }
.btn-primary { color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #1b3f63; border-color: #1b3f63; }
.btn-danger { color: var(--bad); border-color: #d39a9a; }
.tbl th { color: #1f2a35; background: var(--head); border-bottom: 1px solid var(--line); }
.tbl td { border-bottom-color: var(--line-soft); }
.tbl tbody tr:hover td { background: #f5f7f9; }
.tabs { border-bottom-color: var(--line); }
.tabs a { color: var(--muted); font-weight: 500; }
.tabs a.on { color: var(--accent); }
.badge { border-color: var(--line); color: #3f4a55; background: #f4f6f8; }
code { background: var(--head); color: #1f2a35; }
.steps li { border-bottom-color: var(--line-soft); }
.steps li::before { background: #d3d9e0; color: #1f2a35; }
.preview { background: #dbe3ea; border: 1px solid var(--line); }
.bubble { box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.bulk-bar { border-color: var(--line); }
.stat .k { color: var(--muted); font-weight: 500; }
.kv dt { color: var(--muted); }
.alert { box-shadow: var(--shadow); }

/* ---------------- 글씨 또렷하게 (v1.5, unslop 적용) ----------------
   원인: 맑은 고딕 400 굵기 + 11~13px 글씨가 화면 배율 1배에서 흐리게 보임
   처리: Pretendard, 본문 15px, 가장 작은 글씨 13px, 라벨·메뉴 500~600, 그림자 대신 테두리 한 줄 */
h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 600; }
small, .muted, .field .hint, .stat .k, .counter, .one-line, .badge, .btn-sm, code, .tabs small { font-size: 13px; }
.steps li small { font-size: 13px; }
.field .hint, small, .muted { color: var(--muted); font-weight: 450; }
label { font-size: 14px; font-weight: 600; color: var(--text); }
.brand { font-size: 17px; font-weight: 700; }
.top-user { font-size: 14px; color: #374151; }
.card { padding: 20px; border-color: var(--line); }
.card h2 { font-size: 17px; }
.stat { padding: 16px; }
.stat .k { color: #374151; font-weight: 500; }
.stat .v { font-size: 26px; font-weight: 700; }
.tbl th { font-size: 14px; font-weight: 600; color: var(--text); padding: 10px 12px; }
.tbl td { padding: 10px 12px; }
.list-card .tbl td, .list-card .tbl th { padding: 9px 12px; }
.tbl td a { font-weight: 600; }
.tabs a { font-size: 15px; color: #374151; font-weight: 500; }
.tabs a.on { font-weight: 700; }
.btn { font-size: 14px; font-weight: 600; padding: 8px 14px; border-color: var(--line-strong); }
.btn-sm { padding: 5px 10px; }
[data-bulk]:not(.has-sel) .bulk-bar .btn { opacity: 1; color: #6b7280; border-style: dashed; background: #fff; }
.badge { padding: 2px 9px; font-weight: 500; color: #374151; }
.b-ok { color: #1f6b40; } .b-warn { color: #855a0c; } .b-bad { color: #a12f2f; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], input[type=time], select, textarea { padding: 9px 11px; font-size: 15px; }
input::placeholder, textarea::placeholder { color: #6b7280; }
.alert { font-weight: 500; }
.steps li::before { font-size: 13px; }
.plan-card ul { color: #1f2937; }
.hero p { color: #374151; }
.card.list-card { padding: 0; overflow: hidden; }
.main > p.muted, .main > .muted { font-size: 14px; }
/* 본문 서식 툴바 (v1.5) */
.fmt-bar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 6px; margin-bottom: -1px;
  border: 1px solid var(--line-strong); border-bottom-color: var(--line-soft); border-radius: 6px 6px 0 0; background: var(--head); }
.fmt-bar .btn-sm { padding: 3px 8px; font-weight: 500; background: #fff; }
.fmt-bar .fmt-emoji { padding: 3px 6px; }
.fmt-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.fmt-bar + textarea { border-top-left-radius: 0; border-top-right-radius: 0; }
/* 지금 보내기 (v1.5) */
.send-now { border-top: 1px solid var(--line-soft); margin-top: 16px; padding-top: 4px; }
.now-list { display: grid; gap: 2px; margin-bottom: 8px; }
.now-row { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; padding: 6px 4px; border-bottom: 1px solid var(--line-soft); }
.now-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-state { font-size: 13px; font-weight: 600; color: var(--muted); text-align: right; max-width: 55%; }
.now-state.ok { color: var(--ok); }
.now-state.bad { color: var(--bad); font-weight: 500; }
.now-bar { height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; margin: 4px 0 6px; }
.now-bar > div { height: 100%; width: 0; background: var(--accent); transition: width .2s cubic-bezier(.22, 1, .36, 1); }
.now-msg { font-size: 13px; margin: 0 0 8px; min-height: 18px; }
/* 문의함 (v1.5) */
.inq { padding: 16px 20px; margin-bottom: 10px; }
.inq-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; margin-bottom: 8px; }
.inq-body { white-space: normal; word-break: break-word; margin-bottom: 10px; }
.inq-reply { border-left: 3px solid var(--line); padding: 4px 0 4px 12px; margin-bottom: 10px; color: #1f2937; }
.inq-form textarea { min-height: 64px; margin-bottom: 8px; }
/* 대행 광고주 (v1.6) */
.adv-off { color: var(--bad); font-weight: 600; }
/* 따라하기 설명서 (v1.6) — PC: 캡처 왼쪽·설명 오른쪽, 모바일: 위아래 */
.guide { border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0; background: #fff; }
.guide > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.guide > summary::after { content: "펼쳐 보기 ▾"; margin-left: auto; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 6px; padding: 5px 12px; }
.guide[open] > summary::after { content: "접기 ▴"; color: var(--accent); background: #fff; border: 1px solid var(--accent); }
.guide > summary:hover { background: var(--head); }
.guide > summary::-webkit-details-marker { display: none; }
.guide > summary::before { content: "▸"; display: inline-block; width: 18px; color: var(--accent); transition: transform .15s cubic-bezier(.22, 1, .36, 1); }
.guide[open] > summary::before { transform: rotate(90deg); }
.guide[open] > summary { border-bottom: 1px solid var(--line-soft); }
.guide-video { margin: 12px 16px 0; }
.guide-steps { list-style: none; margin: 0; padding: 4px 16px 8px; }
.guide-step { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.guide-step:last-child { border-bottom: 0; }
.guide-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; cursor: zoom-in; background: var(--head); }
.guide-empty { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--head); color: var(--muted); font-size: 14px; }
.guide-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.guide-no { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.guide-text p { margin: 0 0 10px; color: #1f2937; }
.guide-text .copy-line { max-width: 360px; }
.zoom-layer { position: fixed; inset: 0; z-index: 100; background: rgba(17, 24, 39, .82); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.zoom-layer img { max-width: 100%; max-height: 100%; border-radius: 8px; background: #fff; }
@media (max-width: 768px) {
  .guide-step { grid-template-columns: 1fr; gap: 10px; }
  .guide-shot { order: 2; } /* 휴대폰: 번호·설명 먼저, 캡처 아래 */
  .guide-steps { padding: 0 12px 4px; }
}
/* 광고 목록·편집 나란히 (v1.6) — PC: 왼쪽 목록(고정, 따로 스크롤) + 오른쪽 편집 / 모바일: [광고 목록] 버튼으로 펼침 */
.work-list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 0; }
.wl-head { display: flex; align-items: center; gap: 6px; padding: 12px 12px 8px; }
.wl-head .btn { margin-left: auto; }
.wl-filter { padding: 0 12px 10px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.wl-filter input[type=text] { padding: 7px 10px; font-size: 14px; }
.wl-sel { display: flex; gap: 6px; }
.wl-sel select { flex: 1; min-width: 0; padding: 5px 6px; font-size: 13px; }
.wl-items { list-style: none; margin: 0; padding: 4px; overflow-y: auto; flex: 1; min-height: 0; }
.wl-items a { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 6px; color: var(--text); text-decoration: none; border-left: 3px solid transparent; }
.wl-items a:hover { background: var(--head); }
.wl-items a.on { background: var(--accent-soft); border-left-color: var(--accent); }
.wl-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: var(--ok); }
.wl-dot.off { background: #b8c0ca; }
.wl-main { min-width: 0; display: block; }
.wl-title { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-items a.on .wl-title { color: var(--accent); }
.wl-meta { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-empty { padding: 20px 10px; color: var(--muted); font-size: 14px; text-align: center; }
.wl-pager { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; border-top: 1px solid var(--line-soft); font-size: 13px; }
.wl-foot { padding: 8px 12px; border-top: 1px solid var(--line-soft); font-size: 13px; }
.save-row { display: flex; gap: 8px; }
.save-row .btn { flex: 1; padding: 11px; text-align: center; }
.save-row .btn-primary { flex: 1.4; }
/* 요금제 화면 (v1.7) — 색은 강조색 하나, 추천 카드만 테두리 강조 */
.billing { max-width: 1440px; }
.now-plan { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; }
.now-name b { display: block; font-size: 24px; margin: 2px 0; }
.now-meters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.meter-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.meter-top b { color: var(--text); font-variant-numeric: tabular-nums; }
.meter-bar { height: 6px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: var(--accent); }
.meter-bar i.hot { background: var(--bad); }
.price-sec { margin: 28px 0 8px; }
.price-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.price-sec-head h2 { display: inline; font-size: 20px; margin: 0; }
.price-sec-head p { margin: 4px 0 0; }
.sec-no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: #fff; font-size: 13px; font-weight: 700; margin-right: 8px; vertical-align: 2px; }
.price-period { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: #fff; }
.price-period button { border: 0; background: none; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; color: #374151; cursor: pointer; border-right: 1px solid var(--line); }
.price-period button:last-child { border-right: 0; }
.price-period button em { font-style: normal; color: var(--ok); font-size: 12px; }
.price-period button.on { background: var(--text); color: #fff; }
.price-period button.on em { color: #a7f3c0; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; align-items: stretch; }
.price-cards.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.price-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px 20px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); padding: 21px 19px 19px; }
.price-card.current { background: #f8fafc; }
.price-ribbon { position: absolute; top: -11px; left: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price-tag { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.price-card h3 { font-size: 20px; margin: 0 0 4px; }
.price-desc { color: var(--muted); font-size: 14px; min-height: 42px; margin: 0 0 12px; }
.price-amount { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 14px 0; margin-bottom: 14px; min-height: 78px; }
.price-amount b { font-size: 26px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price-amount span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.price-total { display: block; font-size: 13px; color: var(--ok); margin-top: 4px; min-height: 18px; }
.price-limits { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #374151; }
.price-limits b { color: var(--text); font-variant-numeric: tabular-nums; }
.price-limits li.x::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.price-cta { margin-top: auto; }
.price-cta .is-current { background: var(--head); color: var(--muted); border-color: var(--line); cursor: default; }
.price-cta .is-muted { color: var(--muted); border-style: dashed; cursor: default; }
.onetime { display: grid; }
.onetime-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.onetime-row:last-child { border-bottom: 0; }
.onetime-row span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.onetime-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.apply-sum { display: flex; justify-content: space-between; align-items: baseline; background: var(--head); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.apply-sum b { font-size: 20px; font-variant-numeric: tabular-nums; }
.price-help { margin-top: 24px; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 28px; }
.help-grid h3 { font-size: 15px; margin: 10px 0 4px; }
.help-grid p { color: #374151; font-size: 14px; }
@media (max-width: 768px) {
  .now-plan { grid-template-columns: 1fr; gap: 12px; }
  .now-meters { grid-template-columns: 1fr 1fr; }
  .price-sec-head { align-items: flex-start; }
  .price-period { width: 100%; }
  .price-period button { flex: 1; padding: 8px 4px; font-size: 13px; }
  .onetime-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* [v1.6 26-11-16] 메뉴 구역 제목 색깔 띠 (사용자 지시: 너무 흐림). 구역마다 다른 색, 흰 글씨. 이전본 private/bak/20261116/assets/css/common1.css */
.sidenav .nav-group > button.nav-head { color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; margin: 2px 0 4px; border-radius: 6px; background: #4b5563; }
.sidenav .nav-group > button.nav-head:hover { color: #fff; filter: brightness(1.12); }
.sidenav .nav-net > button.nav-head { background: #1d4ed8; }
.sidenav .nav-self > button.nav-head { background: #047857; }
.sidenav .nav-chan > button.nav-head { background: #7c3aed; }
.sidenav .nav-conf > button.nav-head { background: #4b5563; }
.sidenav .nav-group + .nav-group { border-top: 0; }
/* [v1.7 26-11-16] 관리자 화면 맨 위 경고 띠 (홍보방 네트워크 조치 필요·점검 멈춤) */
.net-alert { display: block; margin: 0 0 12px; padding: 10px 14px; border-radius: 8px; background: #b91c1c; color: #fff; font-size: 14px; line-height: 1.5; text-decoration: none; }
.net-alert:hover { background: #991b1b; color: #fff; text-decoration: none; }
.net-alert-warn { background: #b45309; } .net-alert-warn:hover { background: #92400e; } /* v1.8 확인 필요만 있을 때 주황 (이전본 private/bak/20261124/common1.css) */
.net-alert small { opacity: .85; } .net-alert u { margin-left: 6px; white-space: nowrap; }
.net-alert-stop { background: #111827; }
