/* ==========================================================================
   품 온보딩 비교 데모 — demo.css
   pum-pwa(styles.css)의 토큰·컴포넌트를 그대로 쓰고, 데모에만 필요한
   화면(상단 비교 스위처 · 인증 2단 · 단계 표시 · 운영자 콘솔)만 같은 언어로 얹는다.
   ========================================================================== */

/* ---------------------------------------------------------------- 유틸 */
.muted { color: var(--muted); }
.hint { font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--muted); line-height: 1.6; }
.field__err {
  font-size: calc(11.5px * var(--fs-scale, 1));
  color: var(--brand);
  font-weight: 600;
  min-height: 0;
  line-height: 1.5;
}
.field__err:empty { display: none; }
.nowrap { white-space: nowrap; }
.ic { width: 20px; height: 20px; display: block; flex: none; }
.svg-icon.ic--xs { width: 12px; height: 12px; }
.svg-icon.ic--sm { width: 15px; height: 15px; }
.svg-icon.ic--md { width: 17px; height: 17px; }
.svg-icon.ic--lg { width: 24px; height: 24px; }
.svg-icon.ic--xl { width: 34px; height: 34px; }
.svg-icon.ic--xxl { width: 46px; height: 46px; }
.sr-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 칩 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: calc(11px * var(--fs-scale, 1));
  font-weight: 700;
  white-space: nowrap;
}
.chip .svg-icon, .chip .ic { width: 13px; height: 13px; }
.chip--ok { background: #e8f7ef; color: #0b7a46; }
.chip--bad { background: var(--brand-soft); color: var(--brand-strong); }
.chip--info { background: #eaf1ff; color: #1a4fbd; }
.chip--muted { background: var(--surface-3); color: var(--muted); }
.chip--me { background: var(--dark); color: #fff; }

/* 스피너 */
.spin {
  width: 14px; height: 14px; flex: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
.spin--dark { border-color: rgba(15, 20, 25, 0.18); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------- 상단 비교 스위처 */
.demobar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.demobar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
}
.demobar__brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.demobar__mark {
  width: 30px; height: 30px; flex: none;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: calc(15px * var(--fs-scale, 1));
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 10px rgba(255, 59, 48, 0.24);
}
.demobar__title { min-width: 0; }
.demobar__title b {
  display: block;
  font-size: calc(13px * var(--fs-scale, 1));
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.demobar__title span {
  display: block;
  font-size: calc(10.5px * var(--fs-scale, 1));
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demobar__badge {
  flex: none;
  height: 19px;
  padding: 0 6px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: calc(9.5px * var(--fs-scale, 1));
  font-weight: 800;
  letter-spacing: 0.06em;
  display: grid;
  place-items: center;
}
.demobar__tabs {
  display: flex;
  gap: 3px;
  margin-left: auto;
  padding: 3px;
  background: var(--surface-3);
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
}
.demobar__tabs::-webkit-scrollbar { display: none; }
.demobar__tab {
  flex: none;
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-2);
  font-size: calc(12.5px * var(--fs-scale, 1));
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.demobar__tab .ic { width: 15px; height: 15px; opacity: 0.85; }
.demobar__tab i { font-style: normal; font-weight: 500; color: var(--muted); font-size: calc(11px * var(--fs-scale, 1)); }
.demobar__tab.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.demobar__tab.is-on i { color: var(--ink-2); }
.demobar__rec {
  font-size: calc(9px * var(--fs-scale, 1));
  font-weight: 800;
  color: #fff;
  background: var(--brand);
  border-radius: 4px;
  padding: 1px 4px;
}
.demobar__tools { display: flex; gap: 1px; flex: none; }
.demobar__tool {
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  font-size: calc(11.5px * var(--fs-scale, 1));
  font-weight: 600;
}
.demobar__tool:hover { background: var(--surface-3); color: var(--ink); }
.demobar__tool .ic { width: 15px; height: 15px; }
.demobar__caption {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px 7px;
  font-size: calc(11px * var(--fs-scale, 1));
  color: var(--muted);
  line-height: 1.45;
}
.demobar__caption-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }

@media (max-width: 719px) {
  .demobar__title span { display: none; }
  .demobar__badge { display: none; }
  .demobar__tab i { display: none; }
  .demobar__tab { padding: 0 9px; }
  .demobar__tool span { display: none; }
  .demobar__tool { padding: 0 7px; }
  .demobar__caption { padding-bottom: 6px; font-size: calc(10.5px * var(--fs-scale, 1)); }
}
@media (max-width: 419px) {
  .demobar__title { display: none; }
}

/* --------------------------------------------------- 안 A / 안 B 공통 조각 */
.app--a, .app--b, .app--admin { min-height: auto; }
.brandline { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.brandline__mark {
  width: 42px; height: 42px; flex: none;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: calc(21px * var(--fs-scale, 1));
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 18px rgba(255, 59, 48, 0.24);
}
.brandline__word { font-size: calc(18px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.03em; }
.brandline__ver {
  height: 20px; padding: 0 7px; border-radius: 6px;
  background: var(--surface-3); color: var(--muted);
  font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 800;
  display: grid; place-items: center;
}
.brandline__tag {
  margin-left: auto;
  height: 22px; padding: 0 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-strong);
  font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 800;
  display: grid; place-items: center;
}

/* 인증 화면 2단 (안 B) */
.auth-split {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 24px 20px calc(40px + env(safe-area-inset-bottom));
  background: radial-gradient(900px 420px at 50% -8%, #f0f4ff 0%, rgba(255, 255, 255, 0) 62%), var(--white);
}
.auth-split__form { width: 100%; max-width: 420px; }
.auth-split__aside { display: none; }
@media (min-width: 980px) {
  .auth-split { padding-top: 44px; align-items: flex-start; }
  .auth-split__aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 360px;
    flex: none;
    position: sticky;
    top: 96px;
  }
  .auth-split__aside .device { width: 330px; border-radius: 34px; padding: 8px; }
  .auth-split__aside .device__screen { border-radius: 27px; height: 560px; }
}

/* 회원 혜택 목록 */
.perks { display: flex; flex-direction: column; gap: 7px; margin-top: 2px; }
.perks li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.perks .ic { width: 17px; height: 17px; color: var(--brand); }
.perks b { display: block; font-size: calc(12.5px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.01em; }
.perks span { display: block; font-size: calc(11px * var(--fs-scale, 1)); color: var(--muted); }

/* 품스 원클릭 배너 */
.pumss-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #ffd8d4;
  border-radius: 14px;
  background: linear-gradient(120deg, #fff5f4, #fff9f8);
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.pumss-banner:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(255, 59, 48, 0.1); }
.pumss-banner__logo {
  width: 34px; height: 34px; flex: none;
  border-radius: 10px; background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: calc(17px * var(--fs-scale, 1)); font-weight: 700;
}
.pumss-banner__tx { flex: 1; min-width: 0; }
.pumss-banner__tx b { display: block; font-size: calc(13px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.02em; }
.pumss-banner__tx i { display: block; font-style: normal; font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--muted); }
.pumss-banner__go {
  flex: none; display: inline-flex; align-items: center; gap: 3px;
  font-size: calc(11.5px * var(--fs-scale, 1)); font-weight: 700; color: var(--brand-strong);
}
.pumss-banner__go .ic { width: 13px; height: 13px; }

/* 1클릭 SNS 큰 버튼 */
.sns-stack { display: flex; flex-direction: column; gap: 8px; }
.btn-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: calc(14px * var(--fs-scale, 1));
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: filter 0.16s ease, transform 0.08s ease;
}
.btn-sns:active { transform: translateY(1px); }
.btn-sns--kakao { background: #fee500; color: #3c1e1e; }
.btn-sns--kakao:hover { filter: brightness(0.97); }
.btn-sns--naver { background: #03c75a; color: #fff; }
.btn-sns--naver:hover { filter: brightness(0.96); }
.btn-sns--google { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-sns--google:hover { background: var(--surface-2); }
.sns-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sns-pair .btn-sns { height: 46px; font-size: calc(13px * var(--fs-scale, 1)); }

/* 단계 표시 */
.steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.steps__dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-3);
  color: var(--muted);
  font-size: calc(11px * var(--fs-scale, 1));
  font-weight: 800;
}
.steps__dot.is-on { background: var(--dark); color: #fff; }
.steps__dot.is-done { background: var(--ok); color: #fff; }
.steps__dot .ic { width: 12px; height: 12px; }
.steps__line { width: 14px; height: 2px; border-radius: 2px; background: var(--line-strong); }
.steps__line.is-on { background: var(--ok); }

/* 주소 선점 */
.handle-box {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  padding: 4px 4px 4px 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.handle-box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 20, 25, 0.07); }
.handle-box.is-ok { border-color: var(--ok); }
.handle-box.is-bad { border-color: var(--brand); }
.handle-box__prefix {
  font-size: calc(13px * var(--fs-scale, 1));
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex: none;
}
.handle-box input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  font-size: calc(16px * var(--fs-scale, 1));
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0 6px;
  color: var(--ink);
}
.handle-box input:focus { outline: none; }
.handle-box__state { width: 38px; height: 44px; display: grid; place-items: center; flex: none; }
.handle-box__state .ic { width: 19px; height: 19px; }
.handle-box.is-ok .handle-box__state { color: var(--ok); }
.handle-box.is-bad .handle-box__state { color: var(--brand); }
.handle-state { display: flex; gap: 7px; align-items: flex-start; min-height: 22px; margin-top: 9px; font-size: calc(12px * var(--fs-scale, 1)); line-height: 1.5; color: var(--muted); }
.handle-state .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.handle-state.is-ok { color: #0b7a46; }
.handle-state.is-bad { color: var(--brand-strong); }
.handle-state b { font-weight: 700; }
.suggest-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.suggest {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: calc(12px * var(--fs-scale, 1));
  font-weight: 600;
  color: var(--ink-2);
}
.suggest:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }
.suggest .ic { width: 12px; height: 12px; }

/* 직군 카드 */
.job-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .job-grid { grid-template-columns: 1fr 1fr 1fr; } }
.job-card {
  position: relative;
  width: 100%;
  text-align: left;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}
.job-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.job-card.is-selected { border-color: var(--dark); box-shadow: 0 0 0 2px rgba(15, 20, 25, 0.08); }
.job-card__cover { display: block; height: 92px; position: relative; padding: 10px; }
.job-card__cover-tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.85);
  color: #3d444d; font-size: calc(10px * var(--fs-scale, 1)); font-weight: 800;
  backdrop-filter: blur(4px);
}
.job-card__swatch { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 3px; }
.job-card__swatch i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(255, 255, 255, 0.85); }
.job-card__check {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--dark); color: #fff;
  display: none; place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.job-card__check .ic { width: 13px; height: 13px; }
.job-card.is-selected .job-card__check { display: grid; }
.job-card__body { display: block; padding: 12px 13px 13px; }
.job-card__icon { display: block; color: var(--ink); margin-bottom: 4px; }
.job-card__name { display: block; font-size: calc(14.5px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.02em; }
.job-card__desc { display: block; margin-top: 3px; font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--muted); line-height: 1.5; }
.job-card__meta { display: block; margin-top: 7px; font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 700; color: var(--ink-2); }

/* 하단 고정 액션 */
.step-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  margin: 18px -16px -40px;
  background: linear-gradient(to top, #fff 72%, rgba(255, 255, 255, 0));
}
@media (min-width: 768px) { .step-actions { margin: 18px 0 0; padding: 12px 0 0; background: none; } }

/* 선택 요약 */
.pick-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: calc(12px * var(--fs-scale, 1));
  color: var(--ink-2);
}
.pick-summary b { font-weight: 700; }

/* ------------------------------------------------------- 에디터(공용) */
.appbar__right { display: flex; align-items: center; gap: 6px; }
.appbar__live {
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 9px; border-radius: 999px;
  background: #e8f7ef; color: #0b7a46;
  font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 800; letter-spacing: 0.04em;
}
.appbar__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.16); }
.appbar__url {
  display: flex; align-items: center; gap: 4px;
  flex: 1; min-width: 0; height: 34px;
  padding: 0 6px 0 10px; margin: 0 4px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2);
  font-size: calc(12px * var(--fs-scale, 1)); color: var(--ink-2);
}
.appbar__url span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appbar__url button { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: var(--muted); }
.appbar__url button:hover { background: #fff; color: var(--ink); }
.appbar__url .ic { width: 14px; height: 14px; }

.editor-tabs { display: flex; padding: 8px 16px 0; }
.editor-tabs .segmented { width: 100%; max-width: 420px; margin: 0 auto; }
@media (min-width: 1080px) { .editor-tabs { display: none; } }

.editor-wrap { max-width: 1040px; margin: 0 auto; }
.banner-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid #dbe7ff;
  background: #f3f8ff;
  font-size: calc(12px * var(--fs-scale, 1));
  line-height: 1.55;
  color: #23508f;
}
.banner-note .ic { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.banner-note b { font-weight: 700; }
.banner-note--warn { border-color: #ffe0c2; background: #fff8ef; color: #9a5a10; }
.banner-note--ok { border-color: #cdeedd; background: #eefbf4; color: #0b6b41; }

.panel-card { padding: 0; }
.panel-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.panel-body--tight { gap: 10px; }

/* 블록 추가 목록 */
.add-list { display: flex; flex-direction: column; gap: 7px; }

/* 이미지 슬롯 추가 */
.img-cap { font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 600; color: var(--muted); text-align: center; }

/* 미리보기 기기 프레임 안에서 여백 제거 */
.device__screen .share__inner { padding-top: 8px; }
.device__screen .share { min-height: 100%; }

/* 공유 페이지 상단 액션 (발행 후) */
.share-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.share-actions .btn { height: 34px; padding: 0 11px; border-radius: 9px; font-size: calc(12px * var(--fs-scale, 1)); }
.live-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #eefbf4;
  border: 1px solid #cdeedd;
  color: #0b6b41;
  font-size: calc(11.5px * var(--fs-scale, 1));
  font-weight: 700;
  width: max-content;
  max-width: 100%;
}
.live-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.4); } 50% { box-shadow: 0 0 0 5px rgba(18, 183, 106, 0); } }

/* --------------------------------------------------------- 운영자 콘솔 */
.adm-login {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 18px calc(34px + env(safe-area-inset-bottom));
  background:
    radial-gradient(700px 420px at 50% -10%, rgba(255, 59, 48, 0.2) 0%, rgba(255, 59, 48, 0) 60%),
    radial-gradient(900px 500px at 90% 110%, rgba(70, 110, 190, 0.22) 0%, rgba(70, 110, 190, 0) 62%),
    #0e1319;
  color: #eef2f7;
}
.adm-login__card { width: 100%; max-width: 408px; }
.adm-login__head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.adm-login__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: calc(19px * var(--fs-scale, 1)); font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.32);
}
.adm-login__eyebrow {
  font-size: calc(10.5px * var(--fs-scale, 1));
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}
.adm-login__lock {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ff8a80;
  margin-bottom: 14px;
}
.adm-login__lock .ic { width: 28px; height: 28px; }
.adm-login__title { font-size: calc(22px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.03em; }
.adm-login__sub { margin-top: 7px; font-size: calc(12.5px * var(--fs-scale, 1)); line-height: 1.6; color: rgba(255, 255, 255, 0.62); }
.adm-login__sub b { color: #fff; font-weight: 700; }
.adm-field { display: flex; flex-direction: column; gap: 6px; margin-top: 13px; }
.adm-field label { font-size: calc(11.5px * var(--fs-scale, 1)); font-weight: 700; color: rgba(255, 255, 255, 0.72); }
.adm-field label span { font-weight: 500; color: rgba(255, 255, 255, 0.42); }
.adm-field input {
  height: 48px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: calc(14px * var(--fs-scale, 1));
}
.adm-field input::placeholder { color: rgba(255, 255, 255, 0.32); }
.adm-field input:focus { outline: none; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.1); }
.adm-field input.is-error { border-color: #ff6b5e; }
.adm-err { font-size: calc(11px * var(--fs-scale, 1)); color: #ff9c92; font-weight: 600; min-height: 0; }
.adm-err:empty { display: none; }
.adm-submit {
  width: 100%;
  height: 50px;
  margin-top: 18px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: calc(14.5px * var(--fs-scale, 1));
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 26px rgba(255, 59, 48, 0.3);
}
.adm-submit:hover { background: var(--brand-strong); }
.adm-hint { margin-top: 11px; font-size: calc(11px * var(--fs-scale, 1)); line-height: 1.65; color: rgba(255, 255, 255, 0.46); }
.adm-hint b { color: rgba(255, 255, 255, 0.82); font-weight: 700; }
.adm-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; font-size: calc(11px * var(--fs-scale, 1)); color: rgba(255, 255, 255, 0.4); }
.adm-divider::before, .adm-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.12); }
.adm-roles { display: flex; flex-direction: column; gap: 7px; }
.adm-role {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
  color: #eef2f7;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.adm-role:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); }
.adm-role__top { display: flex; align-items: center; gap: 6px; font-size: calc(13px * var(--fs-scale, 1)); }
.adm-role__top b { font-weight: 700; }
.adm-role__top i { font-style: normal; font-size: calc(10.5px * var(--fs-scale, 1)); color: rgba(255, 255, 255, 0.44); }
.adm-role__desc { display: block; margin-top: 3px; font-size: calc(11px * var(--fs-scale, 1)); color: rgba(255, 255, 255, 0.56); line-height: 1.5; }
.adm-role__person { display: block; margin-top: 4px; font-size: calc(10.5px * var(--fs-scale, 1)); color: rgba(255, 255, 255, 0.4); }
.adm-role__go { display: inline-flex; align-items: center; gap: 3px; margin-top: 7px; font-size: calc(11px * var(--fs-scale, 1)); font-weight: 700; color: #ff9c92; }
.adm-login__foot { margin-top: 18px; display: flex; gap: 6px; font-size: calc(10.5px * var(--fs-scale, 1)); line-height: 1.6; color: rgba(255, 255, 255, 0.38); }
.adm-login__foot .ic { width: 13px; height: 13px; flex: none; margin-top: 2px; }

/* 콘솔 상단 */
.adm-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 12px;
  background: #10161d;
  color: #eef2f7;
}
.adm-bar__left { display: flex; align-items: center; gap: 7px; min-width: 0; }
.adm-bar__mark { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: calc(13px * var(--fs-scale, 1)); font-weight: 700; }
.adm-bar b { font-size: calc(13.5px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.02em; }
.adm-bar__site { font-size: calc(11px * var(--fs-scale, 1)); color: rgba(255, 255, 255, 0.46); }
.adm-bar__div { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.16); }
.adm-bar__right { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.adm-bar__who { font-size: calc(11.5px * var(--fs-scale, 1)); color: rgba(255, 255, 255, 0.62); }
.adm-bar__btn { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.72); }
.adm-bar__btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.adm-bar__btn .ic { width: 16px; height: 16px; }
@media (max-width: 560px) { .adm-bar__who, .adm-bar__site, .adm-bar__div { display: none; } }

.rbadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: calc(10.5px * var(--fs-scale, 1));
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  white-space: nowrap;
}
.rbadge b { font-weight: 800; }
.rbadge i { font-style: normal; font-weight: 500; opacity: 0.6; }
.rbadge--super { background: rgba(255, 59, 48, 0.22); color: #ffb3ad; }
.rbadge--operator { background: rgba(78, 132, 255, 0.22); color: #b7cdff; }
.rbadge--viewer { background: rgba(255, 255, 255, 0.13); color: #cdd5df; }
.adm-main .rbadge--super { background: var(--brand-soft); color: var(--brand-strong); }
.adm-main .rbadge--operator { background: #eaf1ff; color: #1a4fbd; }
.adm-main .rbadge--viewer { background: var(--surface-3); color: var(--ink-2); }

.adm-tabs {
  display: flex;
  gap: 3px;
  padding: 8px 12px;
  background: #10161d;
  overflow-x: auto;
  scrollbar-width: none;
}
.adm-tabs::-webkit-scrollbar { display: none; }
.adm-tab {
  flex: none;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: calc(12.5px * var(--fs-scale, 1));
  font-weight: 600;
  white-space: nowrap;
}
.adm-tab .ic { width: 15px; height: 15px; }
.adm-tab span { height: 18px; min-width: 18px; padding: 0 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: calc(10px * var(--fs-scale, 1)); font-weight: 800; display: grid; place-items: center; }
.adm-tab span.is-alert { background: var(--brand); color: #fff; }
.adm-tab.is-on { background: rgba(255, 255, 255, 0.14); color: #fff; }

.adm-main { max-width: 1120px; margin: 0 auto; padding: 16px 14px 60px; display: flex; flex-direction: column; gap: 12px; }
.adm-head { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.adm-head h1 { font-size: calc(19px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.03em; }
.adm-head p { margin-top: 5px; font-size: calc(12px * var(--fs-scale, 1)); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.adm-head__role { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: calc(11px * var(--fs-scale, 1)); color: var(--ink-2); font-weight: 600; }

.adm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 720px) { .adm-stats { grid-template-columns: repeat(4, 1fr); } }
.adm-stat { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.adm-stat__ic { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-3); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.adm-stat__ic .ic { width: 17px; height: 17px; }
.adm-stat b { display: block; font-size: calc(18px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.03em; }
.adm-stat span { display: block; font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--muted); }

.adm-notice { display: flex; gap: 9px; padding: 11px 13px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: calc(11.5px * var(--fs-scale, 1)); line-height: 1.6; color: var(--ink-2); }
.adm-notice .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.adm-notice b { font-weight: 700; }
.adm-notice--lock { background: #fff8ef; border-color: #ffe0c2; color: #9a5a10; }

.adm-toolbar { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.adm-search { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; }
.adm-search .ic { width: 16px; height: 16px; color: var(--muted); }
.adm-search input { flex: 1; border: 0; background: transparent; font-size: calc(13px * var(--fs-scale, 1)); }
.adm-search input:focus { outline: none; }
.adm-select { height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; font-size: calc(12.5px * var(--fs-scale, 1)); font-weight: 600; color: var(--ink-2); }
.adm-toolbar__count { font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--muted); font-weight: 700; }

.adm-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-xs); overflow: hidden; }
.adm-card__head { display: flex; align-items: center; gap: 8px; padding: 13px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.adm-card__head h2 { font-size: calc(14.5px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: -0.02em; }
.adm-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 800; }

.adm-table { width: 100%; border-collapse: collapse; font-size: calc(12.5px * var(--fs-scale, 1)); }
.adm-table th { text-align: left; padding: 9px 12px; background: var(--surface-2); color: var(--muted); font-size: calc(11px * var(--fs-scale, 1)); font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table tr[hidden] { display: none; }
.adm-mem { display: flex; align-items: center; gap: 9px; min-width: 0; }
.adm-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-3); color: var(--ink-2); display: grid; place-items: center; font-size: calc(12.5px * var(--fs-scale, 1)); font-weight: 700; flex: none; }
.adm-avatar--lg { width: 46px; height: 46px; font-size: calc(17px * var(--fs-scale, 1)); }
.adm-avatar--sm { width: 26px; height: 26px; font-size: calc(11px * var(--fs-scale, 1)); }
.adm-mem b { display: block; font-size: calc(12.5px * var(--fs-scale, 1)); font-weight: 700; }
.adm-mem span { display: block; font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.adm-handle { font-size: calc(12px * var(--fs-scale, 1)); font-weight: 600; color: var(--ink-2); }
.adm-plan-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: calc(11px * var(--fs-scale, 1)); font-weight: 800; }
.adm-plan-chip--free { background: var(--surface-3); color: var(--ink-2); }
.adm-plan-chip--pro { background: var(--brand-soft); color: var(--brand-strong); }
.adm-plan { height: 30px; padding: 0 7px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; font-size: calc(11.5px * var(--fs-scale, 1)); font-weight: 700; }
.adm-plan--pro { border-color: #ffd0cb; background: var(--brand-soft); color: var(--brand-strong); }
.adm-badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: calc(11px * var(--fs-scale, 1)); font-weight: 700; }
.adm-badge .ic { width: 13px; height: 13px; }
.adm-badge.is-on { background: #eaf1ff; color: #1a4fbd; }
.adm-status { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: calc(11px * var(--fs-scale, 1)); font-weight: 700; background: #eefbf4; color: #0b6b41; }
.adm-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.adm-status.is-off { background: var(--brand-soft); color: var(--brand-strong); }
.adm-status.is-off i { background: var(--brand); }
.adm-mini { height: 26px; padding: 0 9px; margin-left: 5px; border-radius: 7px; border: 1px solid var(--line-strong); background: #fff; font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 700; color: var(--ink-2); }
.adm-mini:hover { border-color: var(--ink-2); color: var(--ink); }
.adm-mini--danger { border-color: #ffd0cb; color: var(--brand-strong); }
.adm-mini--danger:hover { background: var(--brand-soft); border-color: var(--brand); }
.adm-lockbtn { width: 24px; height: 24px; margin-left: 4px; border-radius: 6px; display: inline-grid; place-items: center; background: var(--surface-3); color: var(--muted); vertical-align: middle; }
.adm-lockbtn .ic { width: 12px; height: 12px; }
.adm-lockwrap { display: inline-flex; align-items: center; gap: 4px; background: none; cursor: not-allowed; }
.adm-lockico { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); }
.adm-lockico .ic { width: 11px; height: 11px; }
.adm-lockwide { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 8px; background: var(--surface-3); color: var(--muted); font-size: calc(11px * var(--fs-scale, 1)); font-weight: 700; cursor: not-allowed; }
.adm-link { font-size: calc(11.5px * var(--fs-scale, 1)); font-weight: 700; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-strong); }
.adm-empty { padding: 22px 14px; text-align: center; font-size: calc(12px * var(--fs-scale, 1)); color: var(--muted); }
.adm-footnote { display: flex; gap: 6px; padding: 10px 13px; font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--muted); line-height: 1.6; }
.adm-footnote .ic { width: 13px; height: 13px; flex: none; margin-top: 2px; }

@media (max-width: 719px) {
  .adm-table thead { display: none; }
  .adm-table, .adm-table tbody, .adm-table tr, .adm-table td { display: block; width: 100%; }
  .adm-table tr { padding: 11px 13px; border-bottom: 1px solid var(--line); }
  .adm-table td { padding: 3px 0; border: 0; }
  .adm-table td[data-label]::before { content: attr(data-label); display: inline-block; min-width: 68px; font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 700; color: var(--muted); }
  .adm-table td[data-label='회원']::before { display: none; }
}

/* 신고 카드 */
.adm-report-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .adm-report-grid { grid-template-columns: 1fr 1fr; } }
.rep { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rep:last-child { border-bottom: 0; }
.rep__top { display: flex; align-items: center; gap: 8px; }
.rep__type { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-strong); font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 800; }
.rep__type .ic { width: 12px; height: 12px; }
.rep__time { margin-left: auto; font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--muted); }
.rep__who { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.rep__who b { font-size: calc(12.5px * var(--fs-scale, 1)); font-weight: 700; }
.rep__who span { font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--muted); }
.rep__who .adm-status { margin-left: auto; }
.rep__note { margin-top: 8px; padding: 8px 10px; border-radius: 9px; background: var(--surface-2); font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--ink-2); line-height: 1.55; }
.rep__actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.rep__actions .adm-mini { margin-left: 0; height: 30px; padding: 0 11px; }
.rep--done .rep__result { display: flex; align-items: center; gap: 4px; margin-top: 7px; font-size: calc(11.5px * var(--fs-scale, 1)); font-weight: 700; color: #0b6b41; }
.rep__result .ic { width: 13px; height: 13px; }

/* 감사 로그 타임라인 */
.adm-chips { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.chip-filter { height: 26px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: calc(10.5px * var(--fs-scale, 1)); font-weight: 700; color: var(--ink-2); }
.chip-filter.is-on { background: var(--dark); border-color: var(--dark); color: #fff; }
.timeline { padding: 6px 0; }
.tl { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tl:last-child { border-bottom: 0; }
.tl[hidden] { display: none; }
.tl__dot { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); }
.tl__dot .ic { width: 14px; height: 14px; }
.tl--denied .tl__dot { background: var(--brand-soft); color: var(--brand-strong); }
.tl--report .tl__dot { background: #eaf1ff; color: #1a4fbd; }
.tl--role .tl__dot { background: #f3ecff; color: #6b3fd4; }
.tl__body { flex: 1; min-width: 0; }
.tl__top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tl__top b { font-size: calc(12.5px * var(--fs-scale, 1)); font-weight: 700; }
.tl__target { font-size: calc(11px * var(--fs-scale, 1)); color: var(--ink-2); font-weight: 600; }
.tl__top time { margin-left: auto; font-size: calc(10px * var(--fs-scale, 1)); color: var(--muted); white-space: nowrap; }
.tl__meta { margin-top: 3px; font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--muted); line-height: 1.5; }
.tl__diff { color: var(--ink-2); font-weight: 700; }
.tl__note { margin-top: 5px; font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--muted); }

/* 상세 모달 */
.detail__top { display: flex; gap: 11px; align-items: center; }
.detail__top b { display: block; font-size: calc(15px * var(--fs-scale, 1)); font-weight: 700; }
.detail__top span { display: block; font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--muted); }
.detail__chips { margin-top: 3px; }
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 13px; }
.detail__grid > div { padding: 9px 11px; border-radius: 10px; background: var(--surface-2); }
.detail__grid i { display: block; font-style: normal; font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--muted); font-weight: 600; }
.detail__grid b { display: block; margin-top: 2px; font-size: calc(13px * var(--fs-scale, 1)); font-weight: 700; }
.detail__grid b.ok { color: #0b6b41; }
.detail__grid b.bad { color: var(--brand-strong); }
.detail__reason { display: flex; gap: 5px; margin-top: 10px; font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--brand-strong); }
.detail__reason .ic { width: 14px; height: 14px; flex: none; }
.detail__h { margin-top: 14px; font-size: calc(12px * var(--fs-scale, 1)); font-weight: 800; color: var(--ink-2); }
.detail__logs { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.detail__logs li { display: grid; grid-template-columns: 96px 1fr; gap: 2px 8px; padding: 8px 10px; border-radius: 9px; background: var(--surface-2); font-size: calc(11px * var(--fs-scale, 1)); }
.detail__logs span { color: var(--muted); }
.detail__logs b { font-weight: 700; }
.detail__logs i { font-style: normal; color: var(--muted); }
.detail__logs em { font-style: normal; font-weight: 700; color: var(--ink-2); }

/* 권한 매트릭스 */
.matrix { width: 100%; border-collapse: collapse; font-size: calc(11.5px * var(--fs-scale, 1)); }
.matrix th, .matrix td { padding: 8px 9px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; font-weight: 600; }
.matrix thead th { background: var(--surface-2); font-size: calc(10.5px * var(--fs-scale, 1)); color: var(--ink-2); }
.mx-ok { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #e8f7ef; color: #0b7a46; }
.mx-no { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--surface-3); color: var(--muted); }
.mx-ok .ic, .mx-no .ic { width: 12px; height: 12px; }

/* 안내 모달 */
.guide { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .guide { grid-template-columns: 1fr 1fr 1fr; } }
.guide__col { padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.guide__col h4 { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--fs-scale, 1)); font-weight: 800; }
.guide__col ol { margin-top: 7px; padding-left: 16px; list-style: decimal; display: flex; flex-direction: column; gap: 5px; }
.guide__col li { font-size: calc(11.5px * var(--fs-scale, 1)); line-height: 1.55; color: var(--ink-2); }
.guide__col b { font-weight: 700; }
.guide__col code { font-family: ui-monospace, Menlo, monospace; font-size: calc(10.5px * var(--fs-scale, 1)); background: #fff; padding: 1px 4px; border-radius: 4px; border: 1px solid var(--line); }
.g-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.g-dot--a { background: #8b95a3; }
.g-dot--b { background: var(--brand); }
.g-dot--ad { background: #1a4fbd; }
.guide__foot { grid-column: 1 / -1; display: flex; gap: 7px; font-size: calc(11px * var(--fs-scale, 1)); color: var(--muted); line-height: 1.6; }
.guide__foot .ic { width: 14px; height: 14px; flex: none; margin-top: 2px; }

/* 모달 내부 공통 */
.modal-list { padding-left: 17px; list-style: decimal; display: flex; flex-direction: column; gap: 5px; font-size: calc(12px * var(--fs-scale, 1)); line-height: 1.6; color: var(--ink-2); }
.modal-list b { font-weight: 700; }
.reason-list { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.reason { display: flex; align-items: center; gap: 9px; padding: 9px 0; cursor: pointer; font-size: calc(13px * var(--fs-scale, 1)); border-bottom: 1px solid var(--line); }
.reason:last-child { border-bottom: 0; }
.reason input { appearance: none; width: 19px; height: 19px; border: 1.5px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; flex: none; }
.reason input:checked { border-color: var(--brand); }
.reason input:checked::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }

/* OAuth 확인 모달 */
.oauth-head { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 0 2px; text-align: center; }
.oauth-head__badge { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.oauth-head__badge--naver { background: #03c75a; border-color: #03c75a; color: #fff; font-weight: 800; font-size: calc(22px * var(--fs-scale, 1)); }
.oauth-head p { font-size: calc(13px * var(--fs-scale, 1)); line-height: 1.6; color: var(--ink-2); }
.oauth-head p b { font-weight: 700; color: var(--ink); }
.oauth-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.oauth-list li { display: flex; align-items: center; gap: 7px; font-size: calc(12px * var(--fs-scale, 1)); color: var(--ink-2); }
.oauth-list .ic { width: 15px; height: 15px; color: var(--ok); flex: none; }
.demo-code {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 2px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  background: var(--surface-2);
  font-size: calc(11.5px * var(--fs-scale, 1));
  line-height: 1.55;
  color: var(--ink-2);
}
.demo-code .ic { width: 16px; height: 16px; color: var(--ink-2); flex: none; }
.demo-code b { display: block; font-weight: 800; color: var(--ink); }
.demo-code code { font-family: ui-monospace, Menlo, monospace; font-size: calc(15px * var(--fs-scale, 1)); font-weight: 700; letter-spacing: 0.16em; color: var(--brand-strong); }
.input--otp { letter-spacing: 0.32em; font-weight: 700; font-size: calc(19px * var(--fs-scale, 1)); text-align: center; }
.otp-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; align-items: start; }
.otp-timer { display: flex; align-items: center; gap: 8px; font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--muted); }
.otp-timer b { color: var(--ink); font-weight: 700; }
.otp-timer .ic { width: 13px; height: 13px; }

/* 체크박스 묶음 */
.agree-box { border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); padding: 4px 12px 8px; }
.agree-box .check-row { padding: 7px 0; font-size: calc(12.5px * var(--fs-scale, 1)); }
.agree-box .check-row--all { border-bottom: 1px solid var(--line); margin-bottom: 3px; font-size: calc(13px * var(--fs-scale, 1)); }
.agree-box .req { color: var(--brand); }

/* 안 A 환영 */
.welcome-steps { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.welcome-step { display: flex; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); text-align: left; }
.welcome-step__num { width: 24px; height: 24px; flex: none; border-radius: 7px; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: calc(11px * var(--fs-scale, 1)); font-weight: 800; }
.welcome-step b { display: block; font-size: calc(12.5px * var(--fs-scale, 1)); font-weight: 700; }
.welcome-step span { display: block; font-size: calc(11px * var(--fs-scale, 1)); color: var(--muted); line-height: 1.5; }

/* 빈 상태 */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 16px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--surface-2); }
.empty-state .ic { width: 26px; height: 26px; color: var(--muted); }
.empty-state b { font-size: calc(13px * var(--fs-scale, 1)); font-weight: 700; }
.empty-state span { font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--muted); line-height: 1.55; }

/* 푸터 */
.demo-foot {
  max-width: 560px;
  margin: 0 auto;
  padding: 6px 16px 40px;
  text-align: center;
  font-size: calc(10.5px * var(--fs-scale, 1));
  color: var(--muted);
  line-height: 1.6;
}
.demo-foot b { color: var(--ink-2); font-weight: 700; }

/* 발행 확인 시트 */
.publish-sheet { display: flex; flex-direction: column; gap: 10px; }
.publish-sheet__url {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface-2); font-size: calc(12px * var(--fs-scale, 1)); font-weight: 700; color: var(--ink);
  word-break: break-all;
}
.publish-sheet__list { display: flex; flex-direction: column; gap: 6px; }
.publish-sheet__list li { display: flex; align-items: center; gap: 7px; font-size: calc(11.5px * var(--fs-scale, 1)); color: var(--ink-2); }
.publish-sheet__list .ic { width: 14px; height: 14px; color: var(--ok); flex: none; }

/* ------------------------------------------------- 품 페이지 보강 (render.js) */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 9px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(15, 20, 25, 0.06);
  color: var(--hero-fg, var(--ink));
  font-size: calc(10.5px * var(--fs-scale, 1));
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero--full .hero__badge { background: rgba(255, 255, 255, 0.22); color: #fff; }
.hero__badge .svg-icon { width: 13px; height: 13px; }
.hero__handle {
  margin-top: 9px;
  font-size: calc(10.5px * var(--fs-scale, 1));
  font-weight: 600;
  color: var(--hero-muted, var(--muted));
  letter-spacing: 0.01em;
}
.greet__img { display: grid; place-items: center; }
.greet__ph {
  font-size: calc(34px * var(--fs-scale, 1));
  font-weight: 800;
  color: rgba(30, 38, 48, 0.16);
  letter-spacing: -0.04em;
}
.s-empty {
  padding: 16px;
  text-align: center;
  font-size: calc(11.5px * var(--fs-scale, 1));
  color: #9aa3ad;
}
.s-video__cap {
  margin-top: 9px;
  font-size: calc(12px * var(--fs-scale, 1));
  font-weight: 600;
  color: var(--share-ink, #2b3138);
}
.s-map { padding: 0 16px 16px; }
.s-map__canvas {
  position: relative;
  height: 132px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, #eef3f8, #e2eaf1 60%, #e8efe9);
  border: 1px solid #f0f2f5;
}
.s-map__road { position: absolute; left: -10%; right: -10%; top: 46%; height: 12px; background: #f7fafc; transform: rotate(-6deg); }
.s-map__road--2 { top: 24%; height: 8px; transform: rotate(9deg); background: #f2f7fb; }
.s-map__road--3 { top: 72%; height: 9px; transform: rotate(-14deg); background: #f2f7fb; }
.s-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(255, 59, 48, 0.32);
}
.s-map__pin .svg-icon { width: 19px; height: 19px; }
.s-map__rows { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.s-map__row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: calc(11.5px * var(--fs-scale, 1));
  line-height: 1.5;
  color: #4a5058;
}
.s-map__row .svg-icon { width: 14px; height: 14px; flex: none; margin-top: 1px; color: #8b95a3; }
.s-map__row a { color: var(--brand-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* 인증 하단 링크 줄바꿈 정리 */
.auth__links { flex-wrap: wrap; gap: 6px 9px; font-size: calc(12.5px * var(--fs-scale, 1)); }
.auth__links > * { white-space: nowrap; }
.auth__links .linkbtn { font-size: calc(12.5px * var(--fs-scale, 1)); }
.auth__links .dot { flex: none; }
@media (max-width: 419px) {
  .auth__links { justify-content: flex-start; }
}

/* 배경 사진이 없을 때 프로필 영역이 과하게 비지 않도록 */
.hero--bgprofile:not(.hero--photo) .hero__bg { aspect-ratio: 660 / 250; }
.hero--bg:not(.hero--photo) .hero__bg { aspect-ratio: 660 / 420; max-height: 320px; }
.hero--bgprofile .hero__body { padding-top: 14px; }

/* 데모 상단 캡션은 모바일에서 두 줄까지만 */
@media (max-width: 719px) {
  .demobar__caption {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---------------------------------------------- 상단 스위처 높이만큼 sticky 보정 */
:root { --demo-top: 0px; }
.app--a .appbar,
.app--b .appbar,
.app--admin .appbar,
.adm-bar { top: var(--demo-top, 0px); }

@media (min-width: 980px) {
  .auth-split__aside { top: calc(var(--demo-top, 0px) + 20px); }
}
@media (min-width: 1080px) {
  .editor-aside { top: calc(var(--demo-top, 0px) + 16px); }
  /* pum-pwa의 PC 앱바는 아이콘을 absolute로 띄우는데, 데모 앱바는 URL 필드가 있어 흐름 배치가 맞다 */
  .app--a .appbar,
  .app--b .appbar,
  .app--admin .appbar { position: sticky; top: var(--demo-top, 0px); justify-content: flex-start; }
  .app--a .appbar__icon:first-of-type,
  .app--a .appbar__icon:last-of-type,
  .app--b .appbar__icon:first-of-type,
  .app--b .appbar__icon:last-of-type,
  .app--admin .appbar__icon:first-of-type,
  .app--admin .appbar__icon:last-of-type { position: static; }
  .app--b .appbar__title { text-align: left; }
}

/* 모바일 안 B 인증 화면의 실시간 미리보기 */
.auth-mini { display: none; }
@media (max-width: 979px) {
  .auth-mini { display: block; margin: 14px 0 4px; }
  .auth-mini__label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    font-size: calc(10.5px * var(--fs-scale, 1));
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--muted);
  }
  .auth-mini__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
  .auth-mini__frame {
    max-height: 260px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    position: relative;
  }
  .auth-mini__frame::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 46px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
    pointer-events: none;
  }
  .auth-mini__frame .share { padding-bottom: 0; }
}

@media (max-width: 979px) {
  .auth-mini__frame { max-height: 320px; }
  .auth-mini__frame .hero__bg { aspect-ratio: 660 / 165; }
}

.auth__links-label { width: 100%; }
