/* ===== LetMeUp 키오스크 가이드 — 공용 스타일 ===== */
:root {
  /* 렛미업 공식 브랜드 컬러 */
  --brand: #13C4D3;
  --brand-dark: #0E9BA8;
  --brand-light: #e3f9fb;
  --accent: #F5A05B;   /* 오렌지 */
  --mint: #5BB948;     /* 그린 */
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1f2430;
  --text-soft: #5b6373;
  --text-faint: #8a92a3;
  --border: #e4e7ef;
  --border-strong: #d3d8e3;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 30, 60, .04), 0 6px 24px rgba(20, 30, 60, .06);
  --warn-bg: #fff7ed; --warn-bd: #fdba74; --warn-tx: #9a3412;
  --note-bg: #eff6ff; --note-bd: #93c5fd; --note-tx: #1e40af;
  --ok-bg: #ecfdf5; --ok-bd: #6ee7b7; --ok-tx: #065f46;
  --sidebar-w: 290px;
  --header-h: 60px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 20px;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900;
}
.brand .logo-img { height: 22px; width: auto; display: block; }

/* ===== 이미지 / 스크린샷 / 그림 ===== */
figure.shot { margin: 18px 0; }
figure.shot img {
  display: block; max-width: 100%; height: auto;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); background: #fff;
}
figure.shot figcaption { margin-top: 8px; font-size: 13px; color: var(--text-faint); text-align: center; }
figure.shot.bordered img { padding: 6px; }

/* 캡처 대기 placeholder */
.shot-placeholder {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm);
  background: repeating-linear-gradient(45deg, #fafbfe, #fafbfe 12px, #f2f4f9 12px, #f2f4f9 24px);
  color: var(--text-faint); padding: 28px 18px; text-align: center; margin: 18px 0; font-size: 13.5px;
}
.shot-placeholder .ph-ico { font-size: 26px; display: block; margin-bottom: 6px; opacity: .7; }
.shot-placeholder code { background: #fff; border: 1px solid var(--border); padding: 1px 6px; border-radius: 5px; }

.img-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0; }
.img-row figure.shot { margin: 0; }

/* 세로형(태블릿/모바일) 화면 캡처 — 폭 제한 + 가운데 정렬 */
figure.shot.phone { text-align: center; }
figure.shot.phone img { max-width: 340px; margin: 0 auto; }
.tag-real { display:inline-block; font-size:11px; font-weight:700; color:#065f46; background:var(--ok-bg); border:1px solid var(--ok-bd); border-radius:999px; padding:1px 8px; margin-left:6px; vertical-align:middle; }
.brand small { display:block; font-weight: 500; color: var(--text-faint); font-size: 11px; letter-spacing: 0; }
.header-spacer { flex: 1; }
.header-tag {
  font-size: 12px; color: var(--text-soft);
  background: var(--brand-light); border: 1px solid #dbe2ff;
  padding: 4px 10px; border-radius: 999px; font-weight: 600;
}
.admin-login-btn {
  display: inline-flex; align-items: center; white-space: nowrap;
  height: 34px; padding: 0 16px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 700;
  border: 0; transition: background .12s ease;
}
.admin-login-btn:hover { background: var(--brand-dark); text-decoration: none; }
@media (max-width: 520px) { .admin-login-btn { padding: 0 12px; font-size: 12.5px; } }
.menu-toggle {
  display: none; border: 1px solid var(--border-strong); background: #fff;
  width: 38px; height: 38px; border-radius: 8px; cursor: pointer; font-size: 18px;
}

/* ===== 검색 ===== */
.search-box { position: relative; width: min(380px, 38vw); }
.search-box input[type="search"] {
  width: 100%; height: 38px; padding: 0 14px; font-size: 14px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; color: var(--text);
  outline: none;
}
.search-box input[type="search"]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.search-results {
  position: absolute; top: 46px; left: 0; right: 0; max-height: 60vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px; z-index: 60;
}
.search-results a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 14px; }
.search-results a:hover { background: var(--brand-light); text-decoration: none; }
.search-results .sr-g {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-light); border-radius: 999px; padding: 1px 8px; margin-right: 8px;
}
.search-results .sr-empty { padding: 12px; color: var(--text-faint); font-size: 14px; }

/* ===== 푸터 표준 ===== */
.site-footer .foot-row { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.site-footer .foot-sep { color: var(--border-strong); }
.site-footer .foot-meta { color: var(--text-faint); }
@media (max-width: 760px) { .search-box { width: 46vw; } .header-tag { display: none; } }
@media (max-width: 520px) { .search-box { display: none; } }
/* 모바일 헤더 정리 — 부제·헤더검색·문의버튼 겹침 방지(로고+☰+도입문의만) */
@media (max-width: 640px) {
  .brand small { display: none; }
  .hdr-search { display: none; }
  .site-header .ask-btn { display: none; }
  .brand .logo-img { height: 20px; }
}

/* ===== Layout ===== */
.layout { display: flex; align-items: flex-start; }
.sidebar {
  position: sticky; top: var(--header-h);
  width: var(--sidebar-w); flex: none;
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 22px 14px 60px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}
.sidebar h4 {
  margin: 18px 10px 6px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint);
}
.sidebar h4:first-child { margin-top: 0; }
.sidebar nav a {
  display: block; padding: 7px 12px; border-radius: 8px;
  color: var(--text-soft); font-size: 14px; font-weight: 500;
}
.sidebar nav a:hover { background: var(--bg); color: var(--text); text-decoration: none; }
.sidebar nav a.active { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.sidebar nav a .num { color: var(--text-faint); font-variant-numeric: tabular-nums; margin-right: 8px; font-size: 12px; }

.content {
  flex: 1; min-width: 0;
  padding: 40px clamp(20px, 5vw, 64px) 100px;
  max-width: 920px;
  margin: 0 auto;
}

/* ===== Typography / blocks ===== */
.breadcrumb { font-size: 13px; color: var(--text-faint); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-soft); }
.page-title { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.page-lead { font-size: 16px; color: var(--text-soft); margin: 0 0 28px; }

.content h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -.01em;
  margin: 44px 0 14px; padding-top: 8px;
  border-top: 1px solid var(--border);
}
.content h2 .sec-no {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px;
  background: var(--brand); color: #fff; border-radius: 8px; font-size: 14px;
  margin-right: 10px; padding: 0 6px; vertical-align: 2px;
}
.content h3 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.content p { color: var(--text); }
.content ul, .content ol { padding-left: 22px; }
.content li { margin: 5px 0; }
.content li::marker { color: var(--brand); }

/* ===== Cards / grid ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s;
}
.card:hover { transform: translateY(-2px); border-color: var(--border-strong); text-decoration: none; box-shadow: 0 8px 30px rgba(20,30,60,.10); }
.card .ico { font-size: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 17px; color: var(--text); }
.card p { margin: 0; color: var(--text-soft); font-size: 14px; }
.card .step { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .04em; }

/* ===== 폼업 스타일 큰 버튼(런처) ===== */
.launch-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px; margin: 16px 0 10px;
}
.launch-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 18px; min-height: 152px; color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.launch-card:hover {
  transform: translateY(-3px); border-color: var(--brand); text-decoration: none;
  box-shadow: 0 12px 30px rgba(19,196,211,.18);
}
.launch-card .lc-ico { font-size: 46px; line-height: 1; }
.launch-card .lc-label { margin-top: 12px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.launch-card .lc-sub { font-size: 12.5px; color: var(--text-faint); font-weight: 500; }
.launch-card .lc-sub.real { color: var(--mint); font-weight: 700; }

.launch-title {
  font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--text-faint);
  margin: 34px 0 2px; text-transform: none;
}
.launch-title:first-of-type { margin-top: 8px; }
.launch-divider { border: none; border-top: 1px solid var(--border); margin: 30px 0 6px; }

/* ===== Callouts ===== */
.callout {
  border: 1px solid var(--note-bd); background: var(--note-bg); color: var(--note-tx);
  border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px 0;
  font-size: 14.5px;
}
.callout .ttl { font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout.warn { border-color: var(--warn-bd); background: var(--warn-bg); color: var(--warn-tx); }
.callout.ok { border-color: var(--ok-bd); background: var(--ok-bg); color: var(--ok-tx); }

/* ===== Steps ===== */
ol.steps { list-style: none; padding: 0; margin: 16px 0; counter-reset: step; }
ol.steps > li {
  position: relative; padding: 14px 16px 14px 56px; margin: 10px 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
ol.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 14px; top: 13px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}
ol.steps > li strong { display: block; }

/* ===== Checklist ===== */
.checklist { list-style: none; padding: 0; margin: 14px 0; }
.checklist li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); margin: 7px 0;
}
.checklist li::before {
  content: "✓"; color: var(--brand); font-weight: 900; flex: none;
  width: 20px; height: 20px; border: 1.5px solid var(--border-strong);
  border-radius: 5px; display: grid; place-items: center; font-size: 12px; margin-top: 1px;
}

/* ===== Definition / spec table ===== */
.spec { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.spec th, .spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec th { background: var(--bg); font-weight: 700; width: 30%; color: var(--text); }
.spec tr:last-child td, .spec tr:last-child th { border-bottom: none; }
.spec-wrap { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }

.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-light); color: var(--brand-dark); }
.tag.gray { background: #eef0f4; color: var(--text-soft); }

kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background:#eef0f4; border:1px solid var(--border-strong); border-bottom-width:2px; border-radius:6px; padding:1px 7px; font-size:13px; }

.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.pager a { flex: 1; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--surface); }
.pager a:hover { border-color: var(--brand); text-decoration: none; }
.pager .dir { font-size: 12px; color: var(--text-faint); }
.pager .ttl { font-weight: 700; color: var(--text); }
.pager a.next { text-align: right; }

.site-footer { color: var(--text-faint); font-size: 13px; padding: 24px clamp(20px,5vw,64px) 40px; border-top: 1px solid var(--border); background: var(--surface); }

/* ===== 페이지 내 목차(TOC) ===== */
.page-toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 0 0 28px;
}
.page-toc .toc-title { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.page-toc a { display: inline-block; font-size: 13.5px; color: var(--text-soft); padding: 4px 10px; margin: 3px 4px 3px 0; border: 1px solid var(--border); border-radius: 999px; }
.page-toc a:hover { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; background: var(--brand-light); }

.hero {
  background: linear-gradient(135deg, #13C4D3 0%, #0E9BA8 60%, #0b8794 100%);
  color: #fff; border-radius: 16px; padding: 44px clamp(24px,5vw,52px); margin-bottom: 32px;
  box-shadow: 0 12px 40px rgba(19,196,211,.28);
}
.hero h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 12px; font-weight: 800; letter-spacing: -.02em; }
.hero p { font-size: 17px; opacity: .92; max-width: 640px; margin: 0; }
.hero .pills { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero .pills span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* ===== Mobile ===== */
.backdrop { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .sidebar {
    position: fixed; top: var(--header-h); left: 0; z-index: 45;
    transform: translateX(-100%); transition: transform .25s ease;
    box-shadow: var(--shadow);
  }
  body.nav-open .sidebar { transform: translateX(0); }
  body.nav-open .backdrop { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(15,20,40,.35); z-index: 40; }
  .content { padding-top: 28px; }
}

/* ===== 채널톡 도움말 본문(.ch-article) — 통합 ===== */
.ch-article {
  --color-text-neutral:#2b2f36; --color-text-neutral-light:#5b6373;
  --color-text-accent-red:#e5484d; --color-text-accent-green:#1f9d57;
  --color-text-accent-cobalt:#3a5ccc; --color-text-accent-orange:#d9730d;
  --color-text-accent-yellow:#b88600; --color-text-accent-purple:#8b5cf6;
  --color-fill-neutral-lighter:#f4f5f7; --color-fill-neutral-light:#eceef1;
  --color-fill-neutral-heavy:#e3e6ea; --color-fill-neutral-transparent:transparent;
  --color-fill-accent-orange:#ffe7c7; --color-fill-accent-yellow:#fdeeb5;
  --color-fill-accent-green:#d3f2e1; --color-border-neutral:#e4e7ef;
  font-size:15.5px; line-height:1.75; color:var(--color-text-neutral);
}
.ch-article p{margin:12px 0} .ch-article p:empty{margin:6px 0}
.ch-article strong,.ch-article [class*="_bold_"]{font-weight:700}
.ch-article u,.ch-article [class*="_underline_"]{text-decoration:underline}
.ch-article em,.ch-article [class*="_em_"]{font-style:italic}
.ch-article h1,.ch-article h2,.ch-article h3,.ch-article [class*="_heading_"]{font-weight:800;letter-spacing:-.01em;line-height:1.4;margin:30px 0 10px;color:#1f2430}
.ch-article [class*="_h1_"]{font-size:23px} .ch-article [class*="_h2_"]{font-size:20px} .ch-article [class*="_h3_"]{font-size:17.5px}
.ch-article a,.ch-article [class*="_hyperlink_"]{color:#0E9BA8;text-decoration:none}
.ch-article a:hover{text-decoration:underline}
.ch-article ul,.ch-article ol{padding-left:24px;margin:12px 0}
.ch-article li,.ch-article [class*="_list-item_"]{margin:5px 0}
.ch-article li::marker{color:#13C4D3}
.ch-article hr,.ch-article [class*="_divider_"]{border:none;border-top:1px solid var(--color-border-neutral);margin:24px 0}
.ch-article [class*="_callout_"]{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;border-radius:10px;margin:16px 0;background:var(--color-fill-neutral-lighter,#f4f5f7);border:1px solid var(--color-border-neutral)}
.ch-article [class*="_emoji-wrapper_"]{flex:none;font-size:18px;line-height:1.5}
.ch-article [class*="_content-wrapper_"]>p:first-child{margin-top:0}
.ch-article [class*="_content-wrapper_"]>p:last-child{margin-bottom:0}
.ch-article figure,.ch-article [class*="_figure_"]{margin:18px 0;text-align:center}
.ch-article img{width:var(--element-width,auto);max-width:100%;height:auto;border:1px solid var(--color-border-neutral);border-radius:8px;box-shadow:0 1px 2px rgba(20,30,60,.04),0 6px 24px rgba(20,30,60,.06);background:#fff}
.ch-article video{width:var(--element-width,100%);max-width:100%;height:auto;border-radius:8px;border:1px solid var(--color-border-neutral);background:#000}
.ch-article [class*="_caption_"]{font-size:13px;color:#8a92a3;margin-top:8px}
.ch-article [class*="_favicon_"]{width:18px !important;height:18px;border:none;box-shadow:none;border-radius:4px;display:inline-block;vertical-align:middle}
.ch-article [class*="_webpage_"]{display:block;text-align:left;border:1px solid var(--color-border-neutral);border-radius:10px;padding:14px 16px;background:#fff;margin:6px 0;transition:border-color .12s,box-shadow .12s}
.ch-article [class*="_webpage_"]:hover{border-color:#13C4D3;text-decoration:none;box-shadow:0 6px 20px rgba(19,196,211,.12)}
.ch-article [class*="_webpage_"] [class*="_title_"]{font-weight:700;color:#1f2430;margin:0 0 4px}
.ch-article [class*="_webpage_"] [class*="_description_"]{font-size:13px;color:#5b6373;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ch-article [class*="_webpage_"] [class*="_logo_"]{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;color:#8a92a3}
.ch-article blockquote,.ch-article [class*="_blockquote_"]{border-left:3px solid #13C4D3;margin:14px 0;padding:4px 16px;color:#5b6373;background:#f8fafb;border-radius:0 8px 8px 0}
.ch-article code,.ch-article [class*="_code_"]{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f4f5f7;border:1px solid var(--color-border-neutral);border-radius:5px;padding:1px 6px;font-size:13.5px}
.ch-article pre,.ch-article [class*="_pre_"]{background:#1f2430;color:#e6e9ef;padding:14px 16px;border-radius:8px;overflow-x:auto;margin:14px 0}
.ch-article pre code{background:none;border:none;color:inherit;padding:0}
.ch-article table,.ch-article [class*="_table_"]{width:100%;border-collapse:collapse;margin:16px 0;font-size:14.5px}
.ch-article th,.ch-article td,.ch-article [class*="_th_"],.ch-article [class*="_td_"]{border:1px solid var(--color-border-neutral);padding:9px 12px;text-align:left;vertical-align:top}
.ch-article th,.ch-article [class*="_th_"]{background:#f4f5f7;font-weight:700}
.ch-article .video-fallback{display:flex;align-items:center;gap:12px;border:1px dashed #d3d8e3;border-radius:10px;padding:16px 18px;margin:16px 0;background:#fafbfe;color:#5b6373;font-size:14px;text-align:left}
.ch-article .video-fallback .vf-ico{font-size:26px}
.ch-article .video-fallback a{color:#0E9BA8;font-weight:700}
