/* ==========================================================================
   LOCAL PRO MASTER SOLUTION - DESIGN SYSTEM v8.0
   - 폰트: Pretendard는 HTML <link>로, SUIT/고운바탕은 선택 시에만 JS가 불러옴
     (CSS @import 제거 → 첫 화면 렌더링 지연 감소)
   - 아이콘: 인라인 SVG (Lucide, ISC)
   ========================================================================== */

/* Gmarket Sans / S-Core Dream: @font-face는 실제 사용될 때만 다운로드됨 */
/* 4. Gmarket Sans (Commercial Free) */
@font-face {
  font-family: 'GmarketSans';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* 5. S-Core Dream (Commercial Free) */
@font-face {
  font-family: 'SCoreDream';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'SCoreDream';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-7ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-rgb: 37, 99, 235;
  --proto-h: 0px;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #526077;
  --border-color: #e2e8f0;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 14px 34px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
  --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --font-heading: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}

/* Font Presets */
[data-font="pretendard"] {
  --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --font-heading: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
}
[data-font="gmarket"] {
  --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --font-heading: 'GmarketSans', 'Pretendard Variable', 'Malgun Gothic', sans-serif;
}
[data-font="scoredream"] {
  --font-main: 'SCoreDream', 'Pretendard Variable', 'Malgun Gothic', sans-serif;
  --font-heading: 'SCoreDream', 'Pretendard Variable', 'Malgun Gothic', sans-serif;
}
[data-font="suit"] {
  --font-main: 'SUIT Variable', 'Malgun Gothic', sans-serif;
  --font-heading: 'SUIT Variable', 'Malgun Gothic', sans-serif;
}
[data-font="gowun"] {
  --font-main: 'Pretendard Variable', 'Malgun Gothic', sans-serif;
  --font-heading: 'Gowun Batang', serif;
}

/* Anti-Clone Corner Shape Styles (Scoped to Public Site only) */
[data-shape="rounded"] #public-site-root {
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
}
[data-shape="sharp"] #public-site-root {
  --radius-xl: 6px;
  --radius-lg: 4px;
  --radius-md: 4px;
}
[data-shape="soft-pill"] #public-site-root {
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 20px;
}

/* Layout Theme Overrides */
[data-layout="impact-dark"] {
  --bg-main: #070b14;
  --bg-card: #111827;
  --bg-elevated: #1e293b;
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #1f2937;
  --shadow-md: 0 16px 36px -6px rgba(0, 0, 0, 0.55);
}

[data-layout="editorial-warm"] {
  --bg-main: #faf7f2;
  --bg-card: #ffffff;
  --bg-elevated: #f3ede2;
  --text-main: #292524;
  --text-sub: #57534e;
  --text-muted: #635d56;
  --border-color: #e7e0d6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--proto-h, 0px) + 88px);
  scroll-padding-bottom: 96px;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: clip;
  padding-bottom: 92px;
  transition: padding-right 0.3s ease;
}

/* ==========================================================================
   PC SPLIT-SCREEN LIVE STUDIO MODE
   ========================================================================== */
@media (min-width: 980px) {
  body.split-admin-open {
    padding-right: 470px;
  }
  body.split-admin-open .bottom-action-bar {
    right: 470px;
  }
}

.customer-view-indicator {
  display: none;
  position: fixed;
  bottom: 96px;
  left: 20px;
  z-index: 9000;
  background: rgba(15, 23, 42, 0.92);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

@media (min-width: 980px) {
  body.split-admin-open .customer-view-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

h1, h2, h3, .brand-logo, .stat-num, .price-val, .sr-brand-txt, .cn-big-kicker, .sr-pm-item strong, .sr-price-num {
  font-family: var(--font-heading);
}

body.copy-protected {
  -webkit-user-select: none;
  user-select: none;
}
body.copy-protected input,
body.copy-protected textarea,
body.copy-protected .allow-select {
  -webkit-user-select: text;
  user-select: text;
}

/* ==========================================================================
   PROTOTYPE MASTER CONTROL BAR
   ========================================================================== */
.proto-switcher {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.proto-switcher.hidden-bar {
  display: none !important;
}

.proto-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #38bdf8;
}

.proto-brand .badge-live {
  background: #22c55e;
  color: #052e16;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 800;
}

.proto-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.proto-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  font-family: inherit;
}

.proto-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.proto-btn.active {
  background: #3b82f6;
  color: #fff;
  border-color: #60a5fa;
}

.proto-btn.accent-btn {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  border: none;
}

.proto-btn.mix-btn {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  border: none;
  font-weight: 800;
}

.proto-select {
  background: #1e293b;
  color: #fff;
  border: 1px solid #475569;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.restore-proto-btn {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9998;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: none;
}

/* ==========================================================================
   TOP BANNERS
   ========================================================================== */
.preview-safety-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #312e81 100%);
  color: #e0e7ff;
  padding: 9px 16px;
  font-size: 12.5px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.preview-safety-bar strong {
  color: #fde047;
}

.preview-timer {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  color: #fca5a5;
  font-variant-numeric: tabular-nums;
}

.store-notice-bar {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notice-pill {
  background: #fff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ==========================================================================
   FLOATING HEADER & CUSTOM BRAND LOGO
   ========================================================================== */
.site-header-wrap {
  position: sticky;
  top: calc(var(--proto-h, 0px) + var(--demo-bar-h, 0px));
  z-index: 1005;
  padding: 10px 16px;
  margin-top: 0;
  background: color-mix(in srgb, var(--bg-main) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border-color) 60%, transparent);
  transition: top 0.2s ease, background-color 0.2s ease;
}

/* 핵심 요약 카드형(풀스크린 스냅)은 상단 헤더가 붕 뜨지 않고 빈틈없이 밀착되도록 일체형 바 적용 */
[data-layout="pitch-deck"] .site-header-wrap {
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e2e8f0;
}

[data-layout="pitch-deck"] .site-header {
  max-width: 1180px;
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 11px 0;
}

.site-header {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-layout="impact-dark"] .site-header {
  background: rgba(17, 24, 39, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo-img {
  height: 36px;
  max-width: 120px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px !important;
  font-weight: 700 !important;
}

@media (max-width: 960px) {
  .nav-links {
    margin-left: auto;
    margin-right: 6px;
  }
  .nav-links a:not(.header-cta) {
    display: none;
  }
}

/* ==========================================================================
   4 HERO MOTION MODES (Rolling+Zoom, Zoom-In, Zoom-Out, Static) - 0B Overhead
   ========================================================================== */
@keyframes smoothZoomIn {
  0% { transform: scale3d(1, 1, 1); }
  50% { transform: scale3d(1.08, 1.08, 1); }
  100% { transform: scale3d(1, 1, 1); }
}

@keyframes smoothZoomOut {
  0% { transform: scale3d(1.1, 1.1, 1); }
  50% { transform: scale3d(1, 1, 1); }
  100% { transform: scale3d(1.1, 1.1, 1); }
}

.hero-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale3d(1, 1, 1);
  transition: transform 4.2s ease-out;
}

.hero-carousel-slide.active-zoom img,
.hero-carousel-slide.active-zoom-in img {
  transform: scale3d(1.08, 1.08, 1);
}

.hero-carousel-slide.active-zoom-out img {
  transform: scale3d(1.1, 1.1, 1);
  animation: smoothZoomOut 12s ease-in-out infinite;
}

.hero-carousel-slide.continuous-zoom-in img {
  animation: smoothZoomIn 12s ease-in-out infinite;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 999px;
}

.carousel-dot {
  width: 24px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.carousel-dot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.carousel-dot.active::before {
  width: 20px;
  background: #fff;
}

.carousel-arrow {
  background: transparent;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
}

.reveal-up {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   HERO SECTION & 4 STYLISH LAYOUTS
   ========================================================================== */
.hero-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-title {
  font-size: clamp(27px, 4.4vw, 44px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  word-break: keep-all;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.65;
  opacity: 0.92;
  margin-bottom: 26px;
  max-width: 620px;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  min-height: 48px;
  border-radius: var(--radius-md);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(var(--primary-rgb), 0.5);
  transition: transform 0.15s ease, background-color 0.2s ease, opacity 0.2s ease;
  font-family: inherit;
}

.btn-primary-lg:hover {
  background: var(--primary-dark);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: var(--radius-md);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
  font-family: inherit;
}

.btn-secondary-lg.on-light {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: none;
}

.btn-light-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  padding: 14px 22px;
  min-height: 48px;
  border-radius: var(--radius-md);
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-block {
  width: 100%;
}

.btn-primary-lg:active,
.btn-secondary-lg:active,
.btn-light-lg:active,
.action-btn:active,
.chip-btn:active,
.gallery-tab-btn:active,
.faq-q:active {
  transform: scale(0.98);
}

.btn-primary-lg:disabled,
.btn-primary-lg.is-loading {
  opacity: 0.6;
  cursor: progress;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.55);
  outline-offset: 2px;
}

.ico {
  flex-shrink: 0;
  vertical-align: -0.15em;
}

/* LAYOUT 1: IMPACT DARK */
.hero-impact-dark {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 48px 20px 56px;
  margin-top: 14px;
  border-radius: 0;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.65) 55%, rgba(7, 11, 20, 0.88) 100%);
  z-index: 1;
}

.hero-content-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.hero-stats-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  text-align: left;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #38bdf8;
  display: block;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

/* LAYOUT 2: SPLIT BEFORE/AFTER */
.hero-split-ba {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-split-ba .trust-badge {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.2);
}

.hero-split-ba .btn-secondary-lg {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
}

/* LAYOUT 3: CLEAN TRUST BENTO */
.hero-clean-bento {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 44px;
}

.bento-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
}

.bento-main-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.bento-side-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bento-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* LAYOUT 4: EDITORIAL MAGAZINE */
.hero-editorial {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 44px;
}

.editorial-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.editorial-img-box {
  height: 390px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

@media (max-width: 860px) {
  .hero-content-inner,
  .hero-split-ba,
  .bento-hero-grid,
  .editorial-frame {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .editorial-img-box {
    height: 260px;
  }
}

/* ==========================================================================
   LIVE ROLLING SOCIAL PROOF TICKER & SECTIONS
   ========================================================================== */
.live-ticker-wrap {
  max-width: 1100px;
  margin: 12px auto 0;
  padding: 0 20px;
}

.live-ticker {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  overflow: hidden;
}

.ticker-ico {
  color: var(--primary);
}

.ticker-label {
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.ticker-text {
  color: var(--text-sub);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 20px;
}

section[id],
#comparison-section,
#main-content {
  scroll-margin-top: calc(var(--proto-h, 0px) + 96px);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

[data-layout="impact-dark"] .section-eyebrow {
  color: #60a5fa;
}

.section-title {
  font-size: clamp(23px, 3.4vw, 33px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  word-break: keep-all;
}

.section-desc {
  color: var(--text-sub);
  font-size: 15px;
  max-width: 580px;
  margin: 0 auto;
  word-break: keep-all;
}

/* ==========================================================================
   BENTO GRID FEATURES, 4-STEP PROCESS & REVIEWS
   ========================================================================== */
.bento-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

[data-layout="impact-dark"] .feature-icon-box {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.feature-card h3 {
  font-size: 18.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.6;
  word-break: keep-all;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
}

.step-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

[data-layout="impact-dark"] .step-badge {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.process-step-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.process-step-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  word-break: keep-all;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: #f59e0b;
  font-size: 15px;
}

.review-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.6;
  word-break: keep-all;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

@media (max-width: 860px) {
  .bento-features,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER SLIDER & PRICING
   ========================================================================== */
.ba-slider-container {
  position: relative;
  width: 100%;
  height: 390px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  user-select: none;
  touch-action: pan-y;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.ba-before-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(45%) contrast(90%) brightness(82%);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  z-index: 4;
}

.ba-label.before {
  left: 16px;
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
}

.ba-label.after {
  right: 16px;
  background: var(--primary);
  color: #fff;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  background: transparent;
  z-index: 5;
  cursor: ew-resize;
}

.ba-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .ba-slider-container {
    height: 270px;
  }
}

.pricing-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.price-list-card,
.quote-calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px dashed var(--border-color);
  gap: 12px;
}

.price-item:last-child {
  border-bottom: none;
}

.price-name {
  font-weight: 700;
  font-size: 15.5px;
}

.price-sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 2px;
}

.price-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

[data-layout="impact-dark"] .price-val {
  color: #38bdf8;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 14.5px;
  font-family: inherit;
}

.estimated-box {
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-layout="impact-dark"] .estimated-box {
  background: rgba(37, 99, 235, 0.15);
}

.estimated-box .est-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

[data-layout="impact-dark"] .estimated-box .est-price {
  color: #60a5fa;
}

@media (max-width: 860px) {
  .pricing-calc-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GALLERY & SMART FAQ
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  padding: 20px 14px 12px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item.hidden-faq {
  display: none;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
}

.faq-a {
  padding: 14px 22px 18px;
  color: var(--text-sub);
  font-size: 14.5px;
  display: none;
  border-top: 1px solid var(--border-color);
}

.faq-item.open .faq-a {
  display: block;
}

.faq-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px auto 0;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}

/* ==========================================================================
   LEGAL FOOTER & STICKY ACTION BAR
   ========================================================================== */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  padding: 44px 20px 60px;
  font-size: 13px;
  color: var(--text-sub);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-biz-info p {
  margin-bottom: 4px;
}

.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 10px 14px;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  transition: right 0.3s ease;
}

[data-layout="impact-dark"] .bottom-action-bar {
  background: rgba(17, 24, 39, 0.95);
}

.bottom-bar-inner {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 1fr 0.8fr;
  gap: 8px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.action-btn.call {
  background: var(--primary);
  color: #fff;
}

.action-btn.kakao {
  background: #fee500;
  color: #191919;
}

.action-btn.vcard,
.action-btn.qr {
  background: var(--bg-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   PC SPLIT-DOCK / MOBILE ADMIN PANEL (FORCED HIGH-CONTRAST LIGHT THEME!)
   Fixes dark mode white-on-white invisible input text bug!
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal-backdrop.open {
  display: flex;
}

@media (min-width: 980px) {
  .modal-backdrop.dock-right {
    inset: var(--proto-h, 0px) 0 0 auto;
    width: 470px;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-left: 2px solid #3b82f6;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.28);
  }
  .modal-backdrop.dock-right .admin-drawer {
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

.admin-drawer {
  /* Force Light Mode Variables Inside Admin Panel regardless of Public Dark Theme */
  --text-main: #0f172a;
  --text-sub: #475569;
  --bg-main: #ffffff;
  --bg-card: #f8fafc;
  --border-color: #cbd5e1;
  --radius-md: 10px;

  background: #ffffff;
  color: #0f172a;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.admin-drawer .form-label {
  color: #1e293b !important;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 5px;
}

.admin-drawer .form-input,
.admin-drawer .form-select,
.admin-drawer .form-textarea {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
}

.admin-drawer .form-input::placeholder,
.admin-drawer .form-textarea::placeholder {
  color: #94a3b8 !important;
  font-weight: 400;
}

.admin-drawer .form-input:focus,
.admin-drawer .form-select:focus,
.admin-drawer .form-textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.drawer-header {
  flex-shrink: 0;
  background: #0f172a;
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.drawer-header h2 {
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Pretendard Variable', sans-serif;
}

.close-drawer-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
}

.admin-tabs {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  overflow-x: auto;
  background: #f1f5f9;
  border-bottom: 1px solid #cbd5e1;
  padding: 8px 10px;
  gap: 5px;
}

.admin-tab-btn {
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Pretendard Variable', sans-serif;
}

.admin-tab-btn.active {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  font-family: 'Pretendard Variable', sans-serif;
}

.admin-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 14px;
}

.admin-card h4 {
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chip-btn {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  font-family: 'Pretendard Variable', sans-serif;
}

.chip-btn.active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.color-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
}

.color-dot.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px #0f172a;
}

.compression-result {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 12px;
  border-radius: 10px;
  font-size: 12px;
  margin-top: 10px;
  display: none;
}

.expired-lock-screen {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #0f172a;
  color: #fff;
  text-align: center;
}

.toast-msg {
  position: fixed;
  bottom: 92px;
  left: 50%;
  transform: translate3d(-50%, 20px, 0);
  background: #0f172a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}


/* ==========================================================================
   HIGH-CONVERSION SALES EDITION v7.1 - CLEAN & REFINED UI WIDGETS
   1. Layout 5: Direct Sales Hero (First-Fold Quick Inquiry + Clean Trust Checklist)
   2. Customer Empathy Pain-Point Checklist Cards (Optional Module)
   3. 3-Column Competitor vs Us Comparison Table (Clean Highlight)
   4. Category-Filtered Portfolio Gallery with Spec Badges & Lightbox Modal
   5. Event Countdown Timer & Daily Reservation Bar (Optional Module)
   6. PC Right Quick Menu (Optional) & Privacy Consent Checkbox
   ========================================================================== */

/* 1. LAYOUT 5: DIRECT SALES HERO */
.hero-direct-sales {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 48px 20px 56px;
  margin-top: 14px;
  background: #060b19;
}

.hero-sales-grid {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: center;
}

.sales-trust-pill,
.sales-urgency-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.sales-hero-checklist {
  list-style: none;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sales-hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.sales-hero-checklist li span.check-icon {
  background: var(--primary);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.sales-quick-form-card {
  --text-main: #0f172a;
  --text-sub: #475569;
  --bg-elevated: #f1f5f9;
  --border-color: #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.sales-quick-form-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.sales-quick-form-card .form-input,
.sales-quick-form-card .form-select {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .hero-sales-grid {
    grid-template-columns: 1fr;
  }
}

/* 2. PAIN POINT EMPATHY CHECKLIST SECTION */
.pain-point-wrap-legacy {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 10px;
}

.pain-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.pain-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.pain-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.pain-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  word-break: keep-all;
}

.pain-solution-bridge {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
  font-size: 15.5px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
}

@media (max-width: 860px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* 3. COMPARISON TABLE (row-based grid → 모든 행 높이가 3열에서 항상 일치) */
.comparison-wrap {
  max-width: 960px;
  margin: 48px auto 0;
}

.sub-header {
  text-align: center;
  margin-bottom: 20px;
}

.sub-title {
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 800;
}

.sub-desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 4px;
}

.comparison-table {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.25fr;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.comp-row {
  display: contents;
}

.comp-cell {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 8px;
  word-break: keep-all;
}

.comp-row.last .comp-cell {
  border-bottom: none;
}

.comp-cell.criteria {
  font-weight: 800;
  color: var(--text-main);
  background: var(--bg-elevated);
}

.comp-cell.competitor {
  color: var(--text-sub);
}

.comp-cell.ours {
  font-weight: 700;
  color: var(--text-main);
  background: rgba(var(--primary-rgb), 0.07);
  border-left: 2px solid var(--primary);
}

.comp-cell.ours .ico {
  color: var(--primary);
}

.comp-head .comp-cell {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-sub);
  background: var(--bg-elevated);
  padding: 13px 16px;
}

.comp-head .comp-cell.ours {
  background: var(--primary);
  color: #fff;
}

[data-layout="impact-dark"] .comp-cell.ours .ico {
  color: #60a5fa;
}

@media (max-width: 640px) {
  .comparison-table {
    grid-template-columns: 0.8fr 1fr 1.15fr;
  }
  .comp-cell,
  .comp-head .comp-cell {
    padding: 11px 8px;
    font-size: 12.5px;
    gap: 4px;
  }
  .comp-cell.ours .ico {
    display: none;
  }
}

/* 4. PORTFOLIO CATEGORY FILTER TABS, SPEC TAGS & LIGHTBOX */
.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}

.gallery-tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.gallery-tab-btn.active,
.gallery-tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.gallery-item {
  cursor: pointer;
}

.gallery-spec-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 3;
}

.gallery-spec-pill {
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.gallery-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.92;
  z-index: 4;
}

/* 5. URGENCY COUNTDOWN TIMER & DAILY RESERVATION GAUGE BAR */
.urgency-banner-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
}

.urgency-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.urgency-timer-digits {
  background: rgba(220, 38, 38, 0.22);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.urgency-gauge-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.urgency-gauge-fill {
  height: 100%;
  width: 84%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 999px;
}

/* 6. PRIVACY CONSENT BOX & PC FLOATING QUICK MENU */
.privacy-consent-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  margin-bottom: 14px;
  font-size: 12.5px;
}

.privacy-consent-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-main);
}

.privacy-detail-box {
  display: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.5;
}

.privacy-detail-box.open {
  display: block;
}

.floating-quick-menu {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: right 0.3s ease;
}

@media (min-width: 980px) {
  body.split-admin-open .floating-quick-menu {
    right: 486px;
  }
}

@media (max-width: 1024px) {
  .floating-quick-menu {
    display: none !important;
  }
}

.float-quick-btn {
  width: 66px;
  padding: 10px 6px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  font-family: inherit;
}

.float-quick-btn:hover {
  transform: translateY(-3px);
  background: var(--primary);
}

.float-quick-btn.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: rgba(255, 255, 255, 0.35);
}

.float-quick-btn .fq-icon {
  font-size: 18px;
}

/* ==========================================================================
   v8.0 UI/UX AUDIT FIXES - COMPONENTS
   ========================================================================== */

/* Hero layout text colors (inline style 제거분) */
.hero-split-ba .hero-subtitle,
.hero-editorial .hero-subtitle {
  color: var(--text-sub);
}

.hero-split-ba .btn-secondary-lg,
.hero-editorial .btn-secondary-lg {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: none;
}

.hero-editorial .trust-badge {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
}

.bento-main-card .hero-title,
.bento-main-card .hero-subtitle {
  color: #fff;
}

.bento-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.bento-stat {
  flex: 1;
  min-width: 110px;
  background: rgba(255, 255, 255, 0.14);
  padding: 14px;
  border-radius: var(--radius-md);
}

.bento-stat .stat-num {
  color: #fff;
  font-size: 22px;
}

.bento-stat span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.bento-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bento-profile-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.bento-profile-name {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
}

.bento-profile-card.compact {
  padding: 18px 20px;
}

.mini-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 9px;
  border-radius: 6px;
}

.mini-tag.danger {
  color: #fff;
  background: #dc2626;
}

.muted-text {
  font-size: 13px;
  color: var(--text-sub);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-sub);
  background: var(--bg-main);
  padding: 12px;
  border-radius: var(--radius-md);
}

.info-row .ico {
  color: var(--primary);
  margin-top: 2px;
}

.ba-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 10px;
  font-weight: 600;
}

.ba-frame {
  max-width: 860px;
  margin: 0 auto;
}

.trust-badge .ico {
  opacity: 0.9;
}

/* Direct sales form card */
.quick-form-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.quick-form-desc {
  font-size: 13px;
  color: #475569;
  margin-bottom: 14px;
}

.sales-quick-form-card .form-group {
  margin-bottom: 10px;
}

.sales-quick-form-card .form-label {
  color: #1e293b;
  font-size: 12.5px;
}

/* Cards & text helpers */
.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.fine-print {
  font-size: 12.5px;
  color: var(--text-sub);
  margin-top: 14px;
}

.notice-panel {
  background: rgba(var(--primary-rgb), 0.07);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.notice-panel strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 4px;
}

.notice-panel p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.6;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 6px 11px;
  border-radius: 999px;
}

.est-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}

.urgency-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fde68a;
}

.urgency-text {
  font-size: 12.5px;
  color: #cbd5e1;
}

.pain-solution-bridge .bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  color: var(--primary);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.center-row {
  text-align: center;
}

.faq-more-btn .ico,
.faq-chevron {
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-q {
  gap: 12px;
  min-height: 56px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.star-ico {
  fill: currentColor;
  stroke: none;
}

.review-text {
  margin: 10px 0 0;
}

.review-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

[data-layout="impact-dark"] .review-tag,
[data-layout="impact-dark"] .mini-tag {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}

.location-card {
  max-width: 780px;
  margin: 28px auto 0;
}

.info-line {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-sub);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
}

.info-line strong {
  flex-shrink: 0;
  width: 72px;
  color: var(--text-main);
}

.map-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.map-btn.naver {
  background: #027a37;
  color: #fff;
}

.map-btn.kakao {
  background: #fee500;
  color: #191919;
}

/* Footer */
.footer-name {
  display: block;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.footer-copy {
  margin-top: 8px;
  color: var(--text-sub);
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-policy-link {
  background: none;
  border: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 6px 0;
}

.footer-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.footer-admin-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  padding: 6px 0;
}

/* Skip link */
.skip-link {
  position: fixed;
  left: 8px;
  top: -100px;
  z-index: 3000;
  background: #0f172a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 8px;
}

/* Mobile menu */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 10px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: flex-end;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-sheet {
  width: 100%;
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 20px 20px 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 10px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.mobile-menu-links a {
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 960px) {
  .menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .header-cta {
    display: none !important;
  }
}

body.modal-lock {
  overflow: hidden;
}

/* Forms: privacy, honeypot, success, error */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.privacy-check input {
  width: 24px;
  height: 24px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.hero-title,
.section-title,
.sub-title,
.card-title,
.quick-form-title,
.lightbox-title {
  text-wrap: balance;
}

.text-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 6px 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.form-success {
  text-align: center;
  padding: 18px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-size: 19px;
  font-weight: 800;
}

.form-success p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

.sales-quick-form-card .form-success h3 {
  color: #0f172a;
}

.form-error {
  margin-top: 10px;
  font-size: 13px;
  color: #dc2626;
  font-weight: 700;
}

.form-error a {
  color: inherit;
}

/* Gallery (button items) */
.gallery-item {
  display: block;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}

.gallery-item .gallery-spec-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

.gallery-caption {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-zoom-hint {
  background: rgba(15, 23, 42, 0.7);
}

/* Modals: shell, lightbox, business card, document */
.modal-shell {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 22px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.lightbox-panel {
  background: #0f172a;
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
}

.lightbox-img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  display: block;
}

.lightbox-body {
  padding: 20px;
}

.lightbox-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.lightbox-specs span {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.lightbox-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.4;
}

.bizcard-panel {
  background: linear-gradient(160deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 22px;
  padding: 28px 22px 22px;
  text-align: center;
}

.bizcard-panel h3 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 10px;
}

.bizcard-sub {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.qr-box {
  background: #fff;
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box svg {
  width: 100%;
  height: 100%;
}

.qr-box.qr-empty {
  width: 100%;
  height: auto;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}

.qr-caption {
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.bizcard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.doc-panel {
  background: #fff;
  color: #0f172a;
  border-radius: 22px;
  padding: 26px 22px 20px;
  font-size: 14px;
  line-height: 1.65;
}

.doc-panel h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  padding-right: 40px;
}

.doc-panel h4 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 16px 0 4px;
}

.doc-panel p {
  color: #334155;
}

.doc-meta {
  margin: 16px 0;
  font-size: 12.5px;
  color: #64748b !important;
}

.expired-card {
  max-width: 460px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 24px;
  padding: 36px 28px;
}

.expired-card h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 14px 0 10px;
}

.expired-card p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 22px;
}

/* Bottom bar: quote variant + PC hide */
.action-btn.quote {
  background: #0f172a;
  color: #fff;
}

[data-layout="impact-dark"] .action-btn.quote {
  background: #f8fafc;
  color: #0f172a;
}

@media (min-width: 1025px) {
  .bottom-action-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   ADMIN (v8.0 classes)
   ========================================================================== */
.admin-syncbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sync-chip {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
}

.sync-chip.saved {
  background: #dcfce7;
  color: #166534;
}

.sync-chip.saving {
  background: #fef9c3;
  color: #854d0e;
}

.sync-chip.error {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-card.warn {
  background: #fffbeb;
  border-color: #fcd34d;
}

.admin-card.accent {
  background: #f5f3ff;
  border-color: #d8b4fe;
}

.admin-card.green {
  background: #f0fdf4;
  border-color: #86efac;
}

.admin-card.dark {
  background: #0f172a;
  border-color: #0f172a;
}

.admin-card.dark h4,
.admin-card.dark .form-label,
.admin-card.dark .admin-toggle {
  color: #e2e8f0 !important;
}

.pill {
  font-size: 11px;
  font-weight: 800;
  background: #7c3aed;
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill.green {
  background: #15803d;
}

.admin-help {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin: 4px 0 10px;
}

.warn-text {
  color: #b45309;
  font-weight: 700;
}

.admin-checklist {
  margin: 0 0 0 18px;
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.7;
}

.admin-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.admin-row > * {
  flex: 1;
}

.admin-row.between {
  justify-content: space-between;
  margin-bottom: 6px;
}

.admin-row.between > * {
  flex: 0 0 auto;
}

.admin-subcard {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
}

.admin-subcard.dashed {
  border-style: dashed;
  border-color: #60a5fa;
  background: #eff6ff;
}

.stat-edit {
  display: grid;
  grid-template-columns: 80px 64px 1fr auto;
  gap: 6px;
  align-items: center;
}

.gallery-edit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-edit img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.danger-btn {
  background: #fee2e2;
  color: #b91c1c;
  border: none;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  flex: 0 0 auto !important;
  font-family: inherit;
}

.add-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.chip-title {
  font-weight: 800;
}

.chip-desc {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.chip-grid.one {
  grid-template-columns: 1fr;
}

.chip-btn.compact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
}

.chip-btn.center {
  text-align: center;
}

.btn-primary-lg.danger {
  background: #dc2626;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.admin-toggle input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mt {
  margin-top: 8px;
}

.small-strong {
  font-size: 12px;
  color: #0f172a;
}

.locked-list {
  background: #fff;
  border: 1px solid #e9d5ff;
  border-radius: 8px;
  padding: 6px 10px;
}

.locked-row {
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  color: #475569;
  padding: 4px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.locked-row span {
  color: #94a3b8;
}

.lead-card {
  background: #fff;
  border: 2px solid #60a5fa;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 13px;
}

.lead-card.done {
  border-color: #e2e8f0;
  opacity: 0.75;
}

.lead-status {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fef2f2;
  color: #dc2626;
}

.lead-status.done {
  background: #dcfce7;
  color: #15803d;
}

.lead-time {
  font-size: 11.5px;
  color: #64748b;
}

.lead-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0 4px;
}

.lead-name a {
  color: #2563eb;
}

.lead-service {
  font-weight: 700;
  color: #1e293b;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.lead-memo {
  color: #475569;
  margin-bottom: 10px;
}

.lead-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 6px;
}

.lead-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: #f1f5f9;
  color: #475569;
  font-family: inherit;
}

.lead-btn.primary {
  background: #2563eb;
  color: #fff;
}

.lead-btn.dark {
  background: #0f172a;
  color: #fff;
}

.lead-btn.green {
  background: #16a34a;
  color: #fff;
}

.empty-text {
  text-align: center;
  padding: 24px;
  color: #64748b;
  font-size: 13px;
}

.right-row {
  text-align: right;
  margin-top: 6px;
}

/* ==========================================================================
   RESPONSIVE (PC 분할 화면 / 태블릿 / 스마트폰)
   ========================================================================== */

/* PC + 우측 관리자 열림 (좌측 실제 폭이 태블릿 수준으로 줄어드는 구간) */
@media (min-width: 980px) and (max-width: 1380px) {
  body.split-admin-open .site-header .nav-links {
    margin-left: auto;
    margin-right: 6px;
  }
  body.split-admin-open .site-header .nav-links a:not(.header-cta) {
    display: none;
  }
  body.split-admin-open .site-header .menu-btn {
    display: inline-flex;
  }
  body.split-admin-open .hero-content-inner,
  body.split-admin-open .hero-sales-grid,
  body.split-admin-open .hero-split-ba,
  body.split-admin-open .clinic-hero-grid,
  body.split-admin-open .bento-hero-grid,
  body.split-admin-open .editorial-frame,
  body.split-admin-open .pricing-calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  body.split-admin-open .bento-features,
  body.split-admin-open .reviews-grid,
  body.split-admin-open .process-grid,
  body.split-admin-open .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.split-admin-open .bento-features > :nth-child(3):last-child,
  body.split-admin-open .reviews-grid > :nth-child(3):last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) and (max-width: 1180px) {
  body.split-admin-open .bento-features,
  body.split-admin-open .reviews-grid,
  body.split-admin-open .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* 태블릿 (721px ~ 1024px) */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .bento-features,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-features > :nth-child(3):last-child,
  .reviews-grid > :nth-child(3):last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .bento-features,
  .reviews-grid,
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 스튜디오 컨트롤 바: 태블릿·모바일에서 줄바꿈 및 투박한 스크롤바 제거 */
@media (max-width: 1180px) {
  .proto-switcher {
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .proto-brand span:not(.badge-live) {
    display: none;
  }
  .proto-controls {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
  }
  .proto-controls::-webkit-scrollbar {
    height: 4px;
  }
  .proto-controls::-webkit-scrollbar-track {
    background: transparent;
  }
  .proto-controls::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
  }
  .proto-controls::-webkit-scrollbar-button {
    display: none;
  }
  .proto-controls > * {
    flex-shrink: 0;
  }
}

/* 모바일: iOS 입력 확대 방지 (16px 이상) */
@media (max-width: 768px) {
  .form-input,
  .form-select,
  .form-textarea,
  .admin-drawer .form-input,
  .admin-drawer .form-select,
  .admin-drawer .form-textarea,
  .sales-quick-form-card .form-input,
  .sales-quick-form-card .form-select {
    font-size: 16px !important;
  }
}

/* 스마트폰 */
@media (max-width: 640px) {
  .preview-safety-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    text-align: left;
    font-size: 12px;
  }
  .section-container {
    padding: 48px 16px;
  }
  .hero-impact-dark,
  .hero-direct-sales {
    padding: 32px 16px 40px;
    min-height: auto;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions > a,
  .hero-actions > button {
    width: 100%;
  }
  .btn-phone-num {
    display: none;
  }
  /* 세일즈형: 모바일 첫 화면에서 폼이 바로 보이도록 보조 요소 숨김 */
  .hero-direct-sales .sales-hero-checklist,
  .hero-direct-sales .hero-actions,
  .hero-direct-sales .carousel-dots {
    display: none;
  }
  .hero-direct-sales .hero-subtitle {
    margin-bottom: 18px;
  }
  .hero-stats-glass {
    padding: 16px;
    gap: 10px;
  }
  .stat-num {
    font-size: 22px;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .process-step-card {
    padding: 16px 14px;
  }
  .process-step-card h4 {
    font-size: 15px;
  }
  .process-step-card p {
    font-size: 13px;
  }
  .privacy-consent-label {
    gap: 8px;
  }
  .gallery-item .gallery-spec-pill {
    font-size: 11.5px;
    padding: 3px 7px;
    top: 8px;
    left: 8px;
  }
  .gallery-zoom-hint {
    width: 26px;
    height: 26px;
    top: 8px;
    right: 8px;
  }
  .gallery-caption {
    padding: 14px 8px 8px;
    font-size: 12px;
  }
  .info-line {
    flex-direction: column;
    gap: 2px;
  }
  .bottom-action-bar {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .bottom-bar-inner {
    grid-template-columns: 1.15fr 1.1fr 1fr 0.8fr;
    gap: 5px;
  }
  .action-btn {
    padding: 10px 4px;
    min-height: 48px;
    font-size: 12px;
    border-radius: 10px;
    gap: 4px;
    flex-direction: column;
  }
  .stat-edit {
    grid-template-columns: 1fr 1fr;
  }
}

/* 다크 레이아웃: 포인트색 글자를 밝게 섞어 대비 확보 (WCAG AA) */
[data-layout="impact-dark"] .ticker-label,
[data-layout="impact-dark"] .notice-panel strong,
[data-layout="impact-dark"] .price-chip,
[data-layout="impact-dark"] .text-link,
[data-layout="impact-dark"] .card-title .ico,
[data-layout="impact-dark"] .info-row .ico,
[data-layout="impact-dark"] .ticker-ico,
[data-layout="impact-dark"] .form-success-icon,
[data-layout="impact-dark"] .comp-cell.ours .ico {
  color: color-mix(in srgb, var(--primary) 45%, #ffffff);
}
/* 아이콘은 크기가 고정이므로 레이아웃 계산에서 분리 (실측 레이아웃 비용 약 절반) */
svg.ico {
  contain: strict;
}

/* ==========================================================================
   SAMPLE PHOTO PACKS & SMARTPHONE CAMERA UPLOAD STUDIO
   ========================================================================== */
.safety-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 5px 11px;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: #0369a1;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.safety-photo-btn:hover {
  background: #0284c7;
}

.photo-pack-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.photo-pack-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.photo-pack-card:hover {
  border-color: #3b82f6;
}
.photo-pack-card.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.photo-pack-thumbs {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.photo-pack-thumbs img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.photo-pack-meta {
  min-width: 0;
  flex: 1;
}
.photo-pack-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pack-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
}
.photo-pack-desc {
  font-size: 11.5px;
  color: #475569;
  margin-top: 2px;
}

.photo-slot-card {
  margin-top: 8px;
}
.photo-slot-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.photo-slot-current {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
  background: #e2e8f0;
}
.photo-slot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.photo-upload-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.photo-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  user-select: none;
}
.photo-action-btn.cam {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}
.photo-action-btn.album {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}
.sr-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.sample-thumb-strip {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed #cbd5e1;
}
.strip-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 5px;
}
.strip-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}
.sample-thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  background: #e2e8f0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.sample-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sample-thumb-btn.selected,
.sample-thumb-btn:hover {
  border-color: #2563eb;
}

.pulse-highlight {
  animation: cardPulse 0.9s ease 2;
}
@keyframes cardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
  50% { box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.35); }
}

/* ==========================================================================
   3-SLOT DESIGN & PHOTO KEEP BOX + DEVELOPER HANDOFF
   ========================================================================== */
.safety-bar-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.safety-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.safety-slot-chip,
.safety-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  min-height: 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.safety-slot-chip {
  border: 1px dashed rgba(251, 191, 36, 0.7);
  background: #334155;
  color: #f8fafc;
}
.safety-slot-chip.saved {
  border-style: solid;
  border-color: #fbbf24;
  background: #b45309;
  color: #ffffff;
}
.safety-slot-chip.active {
  background: #2563eb;
  border-color: #93c5fd;
  color: #ffffff;
}

.safety-send-btn {
  border: 1px solid rgba(52, 211, 153, 0.55);
  background: #047857;
  color: #ffffff;
}
.safety-send-btn.requested {
  background: #1d4ed8;
  border-color: #93c5fd;
}

/* Admin Quick Slot Dock */
.admin-slot-dock {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}

.slot-dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slot-dock-head strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
  color: #78350f;
}

.slot-status-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ffffff;
  color: #78350f;
  border: 1px solid #f59e0b;
  white-space: nowrap;
}
.slot-status-pill.req {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
}
.slot-status-pill.app {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}

.slot-dock-help {
  font-size: 11.5px;
  color: #92400e;
  margin: 4px 0 8px;
}

.slot-dock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.slot-pill {
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #fcd34d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slot-pill.empty {
  padding: 8px 6px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-style: dashed;
  border-color: #d97706;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.slot-pill.empty:hover {
  background: #ffffff;
}

.slot-pill-num {
  font-size: 11px;
  font-weight: 800;
  color: #78350f;
}
.slot-pill-action {
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
}

.slot-pill.saved.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.slot-pill-main {
  border: none;
  background: transparent;
  padding: 7px 7px 5px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.slot-pill-top {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #0f172a;
}

.slot-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  border: 1px solid rgba(15, 23, 42, 0.2);
}

.slot-mini-cam {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  background: #047857;
  color: #ffffff;
  margin-left: auto;
}

.slot-pill-meta {
  display: block;
  font-size: 10.5px;
  color: #475569;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-pill-subactions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}

.slot-pill-subactions button {
  border: none;
  background: transparent;
  padding: 4px 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  font-family: inherit;
}

.slot-request-main-btn {
  margin-top: 8px;
  background: #047857 !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
  min-height: 42px;
}
.slot-request-main-btn.is-requested {
  background: #1d4ed8 !important;
}

.dev-approve-box {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #fcd34d;
}
.dev-approve-box.highlight {
  background: #ecfdf5;
  border: 1.5px solid #059669;
}

.dev-approve-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: #334155;
  margin-bottom: 6px;
}

.req-alert-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: #047857;
  color: #ffffff;
}

.dev-approve-desc {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.45;
  color: #475569;
}

.dev-approve-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dev-approve-row .form-input {
  flex: 1 1 110px;
  min-width: 0;
  padding: 7px 10px !important;
  font-size: 12.5px !important;
}

.dev-propose-btn {
  padding: 8px 11px;
  border-radius: 9px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 11.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex: 1 1 auto;
}
.dev-propose-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.dev-approve-btn {
  padding: 8px 14px;
  border-radius: 9px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex: 1 1 auto;
}
.dev-approve-box.highlight .dev-approve-btn {
  background: #047857;
}

.safety-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 11.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.safety-edit-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.inline-edit-active [contenteditable='true'] {
  outline: 1.5px dashed rgba(37, 99, 235, 0.72);
  outline-offset: 2px;
  border-radius: 4px;
  cursor: text;
  -webkit-user-select: text !important;
  user-select: text !important;
  transition: outline-color 0.15s ease, background-color 0.15s ease;
}
.inline-edit-active [contenteditable='true']:focus {
  outline: 2px solid #2563eb;
  background-color: rgba(37, 99, 235, 0.14);
}
.inline-edit-active .stat-num[contenteditable='true'],
.inline-edit-active .hero-impact-dark [contenteditable='true'],
.inline-edit-active .hero-direct-sales [contenteditable='true'] {
  outline-color: rgba(251, 191, 36, 0.85);
}

/* ==========================================================================
   CUSTOMER REVIEW SUBMISSION FORM & CARDS
   ========================================================================== */
.reviews-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  text-align: left !important;
}
.reviews-header-row .section-desc {
  margin-left: 0;
  margin-right: 0;
}

.reviews-header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.reviews-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 13.5px;
  font-weight: 800;
  color: #92400e;
}
.reviews-summary-pill .summary-star {
  color: #f59e0b;
}

.write-review-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.25);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.write-review-toggle-btn:hover {
  transform: translateY(-1px);
}
.write-review-toggle-btn.open {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: none;
}

.customer-review-form-card {
  background: #ffffff;
  border: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  margin-bottom: 24px;
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.14);
}

.review-form-head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.review-form-head h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.review-form-head p {
  font-size: 13px;
  color: #64748b;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 12px;
}
@media (max-width: 720px) {
  .review-form-grid {
    grid-template-columns: 1fr;
  }
}

.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px 12px;
}
.star-pick-btn {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
  padding: 2px 3px;
  transition: transform 0.12s ease, color 0.12s ease;
}
.star-pick-btn.on {
  color: #f59e0b;
}
.star-pick-btn:active {
  transform: scale(1.2);
}
.star-rating-text {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.review-mask-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: #475569;
  cursor: pointer;
}

.review-photo-upload-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.review-photo-preview-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}
.review-photo-preview-wrap img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}

.review-form-submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}
@media (max-width: 560px) {
  .review-form-submit-row {
    flex-direction: column-reverse;
  }
  .review-form-submit-row button {
    width: 100%;
  }
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.review-card-top .review-stars {
  margin-bottom: 0;
}
.review-date {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
}

.review-photo-thumb-btn {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.review-photo-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.review-empty-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #64748b;
  font-size: 14px;
}

/* ==========================================================================
   v9.0 A안 · 7일 무료 사용 + 순서대로 4단계 가이드 + 개통·입금 안내 + 멀티 영업 콘솔
   ========================================================================== */

/* 일반 사장님·손님 접속 시 운영자 상단 스튜디오 바 완전 숨김 (?dev=1 일 때만 노출) */
html.customer-only-entry #proto-top-bar,
html.customer-only-entry #restore-proto-btn,
html.customer-only-entry .customer-view-indicator,
html.customer-only-entry .dev-approve-box {
  display: none !important;
}
html.customer-only-entry {
  --proto-h: 0px !important;
}

/* 7일 무료 사용 중 + 순서대로 따라하기 바 */
.preview-safety-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 950;
}
.preview-safety-bar.is-collapsed {
  padding: 8px 14px;
}

.safety-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.safety-status-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.trial-dday-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid #10b981;
  color: #6ee7b7;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.trial-dday-pill.warn {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
  color: #fde68a;
}
.trial-dday-pill.urgent {
  background: rgba(239, 68, 68, 0.28);
  border-color: #ef4444;
  color: #fecaca;
}

.trial-sub-note {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
}

.safety-collapse-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.safety-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.safety-guide-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.safety-QuickSlots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.quick-slot-label {
  font-size: 12px;
  font-weight: 700;
  color: #fde68a;
  margin-right: 4px;
}

.safety-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
@media (max-width: 720px) {
  .safety-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.step-guide-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.step-guide-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.step-guide-btn.active {
  background: #2563eb;
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.35);
}
.step-guide-btn.cta {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #34d399;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.32);
}
.step-guide-btn.cta.requested {
  background: linear-gradient(135deg, #d97706, #b45309);
  border-color: #fbbf24;
}
.step-guide-btn .step-num {
  font-size: 14px;
  opacity: 0.95;
}
.step-guide-btn .step-txt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.safety-helper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}
.helper-caption {
  font-size: 12px;
  color: #cbd5e1;
}
.helper-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.helper-intake-btn,
.helper-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.helper-intake-btn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.helper-link-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* 문구 직접 수정 플로팅 컨트롤 바 */
.inline-edit-floating-bar {
  position: fixed;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(94vw, 520px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  border: 2px solid #60a5fa;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.45);
}
.ief-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #bfdbfe;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ief-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ief-undo-btn,
.ief-done-btn {
  border: none;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.ief-undo-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.ief-done-btn {
  background: #10b981;
  color: #ffffff;
}

/* 단계별 가이드 모달 · 개통 입금 안내 · 1분 질문지 */
.step-modal-panel h3,
.payment-guide-panel h3,
.intake-wizard-panel h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 8px;
  margin-bottom: 6px;
}

.step-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
@media (max-width: 520px) {
  .step-chip-grid {
    grid-template-columns: 1fr;
  }
}

.step-pack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.upload-cta-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 2px dashed #3b82f6;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.step-slots-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-slot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}
.step-slot-card.active {
  border-color: #2563eb;
  background: #eff6ff;
}
.step-slot-card p {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}
.step-slot-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.step-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}
.step-modal-footer > button {
  flex: 1;
}
@media (max-width: 520px) {
  .step-modal-footer {
    flex-direction: column-reverse;
  }
  .step-modal-footer > button {
    width: 100%;
  }
}

.pay-lead-copy {
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 12px;
}

.pay-account-card {
  background: #f8fafc;
  border: 2px solid #0f172a;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  color: #334155;
}
.pay-row strong {
  color: #0f172a;
  font-weight: 800;
  text-align: right;
}
.pay-row .pay-price {
  color: #059669;
  font-size: 16px;
}

.pay-notice-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #065f46;
  line-height: 1.55;
}
.pay-notice-box strong {
  color: #047857;
}
.pay-notice-box ul {
  margin: 6px 0 0 16px;
  padding: 0;
}

.intake-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.intake-step-count {
  font-size: 13px;
  font-weight: 800;
  color: #2563eb;
}
.intake-progress-bar {
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.intake-progress-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #10b981);
  transition: width 0.2s ease;
}
.intake-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.intake-photo-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.intake-photo-thumb {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
}
.intake-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intake-photo-thumb button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
}

/* 운영자 콘솔 (?dev=1) 멀티 사장님 대시보드 */
.new-client-box {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px;
}
.multi-client-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
}
.mc-client-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
}
.mc-client-card.current {
  border: 2px solid #2563eb;
  background: #eff6ff;
}
.mc-client-card.needs-attention {
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.14);
}
.mc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.mc-slug {
  font-size: 11.5px;
  color: #64748b;
  margin-left: 6px;
  font-family: monospace;
}
.mc-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.mc-badge.ok {
  background: #dcfce7;
  color: #166534;
}
.mc-badge.req {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #f59e0b;
}
.mc-badge.intake {
  background: #dbeafe;
  color: #1e40af;
}
.mc-badge.d5 {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fb923c;
}
.mc-badge.d3 {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171;
}
.mc-badge.exp {
  background: #f1f5f9;
  color: #64748b;
}
.mc-badge.trial {
  background: #f1f5f9;
  color: #0f172a;
}
.mc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.mc-btn.primary {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}
.mc-btn.warn {
  background: #fffbeb;
  color: #92400e;
  border-color: #fcd34d;
}
.mc-btn.del {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

/* 3단계 라이프사이클 (세팅모드 · 월 2만원 구독 · 평생소장 전환 요금제 카드) */
.preview-safety-bar.setup-mode-bar {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 2px solid #f59e0b;
}
.trial-dday-pill.setup-pill {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.preview-safety-bar.sub-owner-bar {
  background: rgba(15, 23, 42, 0.94);
  border-bottom: 1px solid rgba(16, 185, 129, 0.45);
}

.plan-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .plan-select-grid {
    grid-template-columns: 1fr;
  }
}
.plan-option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 14px 15px;
  border-radius: 14px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.plan-option-card:hover {
  border-color: #64748b;
}
.plan-option-card.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.14);
}
.plan-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
  margin-bottom: 6px;
}
.plan-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.plan-badge.rec {
  background: #dcfce7;
  color: #166534;
}
.plan-badge.life {
  background: #fef3c7;
  color: #92400e;
}
.plan-check {
  font-size: 12px;
  font-weight: 800;
  color: #2563eb;
}
.plan-option-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 2px 0 4px;
}
.plan-price {
  font-size: 19px;
  font-weight: 900;
  color: #059669;
  margin-bottom: 8px;
}
.plan-price small {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.plan-strike {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-right: 4px;
}
.plan-points {
  margin: 0;
  padding-left: 16px;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.5;
}
.plan-points li + li {
  margin-top: 3px;
}

/* 초대 링크 유입 뱃지 & 방문자 데이터 리포트 */
.mc-badge.viral {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #a78bfa;
}

.mc-visit-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}

.visitor-report-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.visitor-report-card.in-modal {
  border: none;
  padding: 0;
  margin-bottom: 4px;
  box-shadow: none;
}

.vr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vr-head h4 {
  margin: 4px 0 0;
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
}

.vr-pure-badge {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 999px;
}

.vr-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

@media (max-width: 480px) {
  .vr-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.vr-kpi-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vr-kpi-box.highlight {
  background: #eff6ff;
  border-color: #93c5fd;
}

.vr-kpi-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}

.vr-kpi-val {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}

.vr-kpi-box.highlight .vr-kpi-val {
  color: #1d4ed8;
}

.vr-kpi-val small {
  font-size: 12.5px;
  font-weight: 700;
  margin-left: 2px;
  color: #475569;
}

.vr-kpi-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.vr-chart-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.vr-chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
  margin-bottom: 10px;
}

.vr-chart-title strong {
  color: #0f172a;
  font-weight: 800;
}

.vr-bars-wrap {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  align-items: end;
}

.vr-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vr-bar-num {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
}

.vr-bar-col.today .vr-bar-num {
  color: #2563eb;
}

.vr-bar-track {
  width: 100%;
  max-width: 26px;
  height: 58px;
  background: #e2e8f0;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.vr-bar-fill {
  width: 100%;
  background: #94a3b8;
  border-radius: 6px 6px 0 0;
  transition: height 0.25s ease;
}

.vr-bar-col.today .vr-bar-fill {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.vr-bar-date {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
}

.vr-bar-col.today .vr-bar-date {
  color: #1d4ed8;
  font-weight: 800;
}

.vr-quota-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 10px 12px;
}

.vr-quota-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 11.5px;
  color: #166534;
  font-weight: 700;
  margin-bottom: 6px;
}

.vr-quota-bar {
  height: 7px;
  background: #dcfce7;
  border-radius: 999px;
  overflow: hidden;
}

.vr-quota-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 999px;
}

.vr-quota-note {
  margin: 6px 0 0;
  font-size: 11px;
  color: #15803d;
  line-height: 1.45;
}

/* ==========================================================================
   법적 리스크 예방 UI · 가상 후기 안내 · 사진 저작권 경고 · 필수항목 검증 · 환불 약관
   ========================================================================== */
.legal-sample-review-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fffbeb;
  border: 1.5px dashed #f59e0b;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.legal-sample-review-banner.medical {
  background: #eff6ff;
  border-color: #3b82f6;
}

.legal-sample-review-banner .lsr-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 4px;
  line-height: 1.45;
}

.legal-sample-review-banner.medical .lsr-text strong {
  color: #1e40af;
}

.legal-sample-review-banner .lsr-text p {
  margin: 0;
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.55;
}

.legal-sample-review-banner.medical .lsr-text p {
  color: #1e3a8a;
}

.legal-sample-review-banner .lsr-actions {
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .legal-sample-review-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-sample-review-banner .lsr-actions,
  .legal-sample-review-banner .lsr-actions .chip-btn {
    width: 100%;
  }
}

[data-layout="impact-dark"] .legal-sample-review-banner {
  background: rgba(120, 53, 15, 0.28);
  border-color: rgba(251, 191, 36, 0.65);
}

[data-layout="impact-dark"] .legal-sample-review-banner .lsr-text strong {
  color: #fde68a;
}

[data-layout="impact-dark"] .legal-sample-review-banner .lsr-text p {
  color: #fef3c7;
}

[data-layout="impact-dark"] .legal-sample-review-banner.medical {
  background: rgba(30, 58, 138, 0.35);
  border-color: rgba(96, 165, 250, 0.65);
}

[data-layout="impact-dark"] .legal-sample-review-banner.medical .lsr-text strong {
  color: #bfdbfe;
}

[data-layout="impact-dark"] .legal-sample-review-banner.medical .lsr-text p {
  color: #dbeafe;
}

.review-card.is-sample-review {
  border-style: dashed;
  border-color: #fcd34d;
  background: #fffdf7;
}

[data-layout="impact-dark"] .review-card.is-sample-review {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(30, 41, 59, 0.72);
}

.sample-review-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

[data-layout="impact-dark"] .sample-review-badge {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
}

/* 사진 업로드 저작권 주의 문구 */
.legal-photo-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #78350f;
  line-height: 1.55;
}

.legal-photo-notice strong {
  color: #92400e;
  font-weight: 800;
}

.legal-photo-notice p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #78350f;
  line-height: 1.55;
}

.legal-photo-notice .muted {
  color: #92400e;
  opacity: 0.9;
}

.legal-photo-notice code {
  background: rgba(245, 158, 11, 0.16);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
}

.legal-photo-notice.compact {
  margin: 4px 0 8px;
  padding: 8px 10px;
  font-size: 11.5px;
}

/* 필수 입력 미완료 경고 배너 및 입력칸 강조 */
.missing-required-banner {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 12.5px;
  line-height: 1.55;
}

.missing-required-banner strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

.missing-required-banner p {
  margin: 0;
}

.missing-required-banner.danger {
  background: #fef2f2;
  border: 1.5px solid #f87171;
  color: #7f1d1d;
}

.missing-required-banner.danger strong {
  color: #b91c1c;
}

.missing-required-banner.warn {
  background: #fffbeb;
  border: 1.5px solid #fbbf24;
  color: #78350f;
}

.missing-required-banner.warn strong {
  color: #92400e;
}

.missing-required-banner.ok {
  background: #ecfdf5;
  border: 1.5px solid #34d399;
  color: #065f46;
}

.missing-required-banner.ok strong {
  color: #047857;
}

.missing-req-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.missing-req-list li {
  background: #ffffff;
  border: 1px solid #fecaca;
  border-radius: 9px;
  padding: 8px 11px;
}

.missing-req-list li strong {
  display: block;
  font-size: 13px;
  color: #b91c1c;
  margin-bottom: 2px;
}

.missing-req-list li span {
  display: block;
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}

.req-star {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 10.5px;
  font-weight: 800;
  vertical-align: middle;
}

.field-error-group {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.form-input.input-missing-error {
  border: 2px solid #ef4444 !important;
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.admin-help.warn-text {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* 서비스 개통 · 환불 분쟁 예방 약관 스크롤 박스 및 동의 체크박스 */
.terms-scroll-box {
  max-height: 175px;
  overflow-y: auto;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 12px;
  color: #334155;
  line-height: 1.6;
}

.terms-scroll-box h5 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.terms-scroll-box p {
  margin: 0 0 8px;
  font-size: 12px;
  color: #334155;
}

.terms-scroll-box p:last-child {
  margin-bottom: 0;
}

.terms-scroll-box code {
  background: #e2e8f0;
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 11px;
}

.terms-agree-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #f8fafc;
  border: 1.5px solid #94a3b8;
  border-radius: 11px;
  padding: 11px 13px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.5;
}

.terms-agree-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #2563eb;
  cursor: pointer;
}

/* 병·의원 전후 비교 사진 부작용 고지 문구 */
.medical-ba-warning {
  margin: 8px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.medical-ba-warning.center {
  text-align: center;
  margin-top: 10px;
}

[data-layout="impact-dark"] .medical-ba-warning {
  color: #94a3b8;
}

/* ==========================================================================
   LAYOUT: CLINIC MINIMAL (피부과 · 에스테틱 · 프리미엄 홈케어 감성 스킨)
   ========================================================================== */
[data-layout="clinic-minimal"] {
  --bg-main: #fbfaf8;
  --bg-card: #ffffff;
  --bg-elevated: #f3efe9;
  --text-main: #1c1917;
  --text-sub: #57534e;
  --text-muted: #78716c;
  --border-color: #e6e0d6;
  --shadow-sm: 0 2px 12px rgba(28, 25, 23, 0.03);
  --shadow-md: 0 14px 32px -10px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 22px 44px -14px rgba(28, 25, 23, 0.1);
}

[data-layout="clinic-minimal"] .site-header-wrap {
  background: rgba(251, 250, 248, 0.92);
  border-bottom: 1px solid rgba(230, 224, 214, 0.9);
}

[data-layout="clinic-minimal"] .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.18em;
  font-size: 11.5px;
}

[data-layout="clinic-minimal"] .section-eyebrow::before,
[data-layout="clinic-minimal"] .section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: rgba(var(--primary-rgb), 0.45);
}

[data-layout="clinic-minimal"] .feature-card,
[data-layout="clinic-minimal"] .price-list-card,
[data-layout="clinic-minimal"] .quote-calc-card,
[data-layout="clinic-minimal"] .review-card,
[data-layout="clinic-minimal"] .faq-item {
  border-color: #e6e0d6;
  box-shadow: 0 6px 22px -8px rgba(28, 25, 23, 0.05);
}

[data-layout="clinic-minimal"] .price-item {
  border-bottom: 1px solid #ede8df;
  padding: 15px 6px;
  transition: background-color 0.18s ease;
}

[data-layout="clinic-minimal"] .price-item:hover {
  background: rgba(var(--primary-rgb), 0.03);
}

.hero-clinic-minimal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 52px;
}

.clinic-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 38px;
  align-items: center;
}

.clinic-region-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-clinic-minimal .hero-title {
  color: var(--text-main);
  font-size: clamp(27px, 4vw, 41px);
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-clinic-minimal .hero-subtitle {
  color: var(--text-sub);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero-clinic-minimal .hero-badges {
  margin-bottom: 20px;
}

.hero-clinic-minimal .trust-badge {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(28, 25, 23, 0.03);
}

.hero-clinic-minimal .trust-badge .ico {
  color: var(--primary);
}

.hero-clinic-minimal .btn-secondary-lg {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: none;
}

.hero-clinic-minimal .btn-secondary-lg:hover {
  background: var(--bg-elevated);
}

.hero-clinic-minimal .carousel-dots {
  background: #ffffff;
  border: 1px solid var(--border-color);
  margin-top: 16px;
}

.hero-clinic-minimal .carousel-dot::before {
  background: rgba(28, 25, 23, 0.25);
}

.hero-clinic-minimal .carousel-dot.active::before {
  background: var(--primary);
}

.hero-clinic-minimal .carousel-arrow {
  color: var(--text-main);
}

.hero-clinic-minimal .carousel-arrow:hover {
  background: var(--bg-elevated);
}

/* 첫 화면 대표 프로그램 · 정찰 단가 요약 스트립 */
.clinic-quick-menu {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 15px 18px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.clinic-quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.clinic-quick-head a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.clinic-menu-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13.5px;
}

.clinic-menu-name {
  color: var(--text-main);
  font-weight: 600;
}

.clinic-menu-dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted #d6d0c4;
  transform: translateY(-2px);
}

.clinic-menu-val {
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 우측 포토 액자 & 대표 원장/마스터 실명 보증 카드 */
.clinic-visual-col {
  display: flex;
  flex-direction: column;
}

.clinic-media-frame {
  height: 350px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background: var(--bg-elevated);
}

.clinic-director-card {
  position: relative;
  z-index: 3;
  margin: -28px 14px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
}

.clinic-director-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clinic-director-avatar {
  flex-shrink: 0;
}

.clinic-director-avatar .brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 17px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
}

.clinic-director-avatar .brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.clinic-director-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.clinic-role-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 999px;
}

.clinic-biz-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  word-break: keep-all;
}

.clinic-hours-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-sub);
}

.clinic-hours-line .ico {
  color: var(--primary);
}

.clinic-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.clinic-stat-item {
  background: var(--bg-main);
  border: 1px solid #ede8df;
  border-radius: 10px;
  padding: 7px 8px;
  text-align: center;
}

.clinic-stat-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.clinic-stat-item span {
  display: block;
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clinic-director-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.clinic-mini-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.clinic-mini-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
}

.clinic-mini-btn .ico {
  color: var(--primary);
}

@media (max-width: 860px) {
  .clinic-hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .clinic-media-frame {
    height: 250px;
  }
  .clinic-director-card {
    margin: -20px 8px 0;
    padding: 14px;
  }
}

/* ==========================================================================
   1·2·3안 시안 비우기 · 전체 비우기 직관화 & 모바일 사용자 UX 최적화
   ========================================================================== */

/* 상단 세팅바: [1안 보기 | ✕] 캡슐 + [전체 비우기] */
.safety-slot-group {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #fbbf24;
  background: #b45309;
  color: #ffffff;
}

.safety-slot-group.active {
  background: #2563eb;
  border-color: #93c5fd;
}

.safety-slot-main {
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  min-height: 30px;
  cursor: pointer;
  white-space: nowrap;
}

.safety-slot-del {
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 23, 42, 0.24);
  color: #fee2e2;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 900;
  padding: 5px 8px;
  min-height: 30px;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.safety-slot-del:hover {
  background: #dc2626;
  color: #ffffff;
}

.safety-slot-clear-all {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.42);
  color: #fecaca;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.safety-slot-clear-all:hover {
  background: #b91c1c;
  color: #ffffff;
}

/* ③단계 비교 보관함 모달: 개별 비우기 + 전체 비우기 */
.step-compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-right: 42px;
  margin-bottom: 4px;
}

.slot-clear-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.slot-clear-all-btn:hover {
  background: #fee2e2;
}

.step-slot-info {
  min-width: 0;
  flex: 1;
}

.step-slot-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  word-break: keep-all;
}

.chip-btn.danger-outline {
  border-color: #fecaca;
  background: #fff5f5;
  color: #b91c1c;
}

.chip-btn.danger-outline:hover {
  background: #fee2e2;
  border-color: #f87171;
}

/* 관리자 상단 비교 독 & 멀티 콘솔 슬롯 버튼 */
.slot-dock-head-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.slot-clear-all-link {
  border: 1px solid #fca5a5;
  background: #fff1f2;
  color: #be123c;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.slot-clear-all-link:hover {
  background: #ffe4e6;
}

.slot-pill-subactions .slot-clear-btn {
  color: #b91c1c;
  border-left: 1px solid #e2e8f0;
}

.slot-pill-subactions .slot-clear-btn:hover {
  background: #fef2f2;
}

.super-slot-pair {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* 모달 닫기(✕) 버튼 스크롤 고정 & 모바일 주소창(dvh) 잘림 방지 */
.modal-shell {
  max-height: min(90dvh, 90vh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-close {
  z-index: 30;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.32);
}

#qr-card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.admin-drawer {
  max-height: min(92dvh, 92vh);
}

.drawer-body {
  overscroll-behavior: contain;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
}

/* 토스트 알림 모바일 줄바꿈 및 하단 안전 영역 정돈 */
.toast-msg {
  width: max-content;
  max-width: calc(100vw - 28px);
  border-radius: 16px;
  text-align: center;
  line-height: 1.45;
  word-break: keep-all;
  bottom: calc(84px + env(safe-area-inset-bottom));
}

@media (max-width: 900px) {
  /* 모바일 문구 터치 수정 중에는 하단 전화바를 숨겨 키보드 위 화면 가림·오터치 방지 */
  body.inline-edit-active .bottom-action-bar {
    display: none !important;
  }
  body.inline-edit-active .inline-edit-floating-bar {
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
  body.inline-edit-active .toast-msg {
    bottom: calc(72px + env(safe-area-inset-bottom));
  }
}

/* ==========================================================================
   카드 내부 뱃지 넘침 방지 & 태블릿(641px ~ 1024px) 레이아웃 밸런스 강화
   ========================================================================== */
.hero-impact-dark,
.hero-direct-sales {
  margin-top: 0;
}

[data-layout="clinic-minimal"] .site-header-wrap {
  background: color-mix(in srgb, var(--bg-main) 93%, transparent);
  border-bottom: 1px solid rgba(230, 224, 214, 0.9);
}

.review-card,
.feature-card,
.pain-card,
.process-step-card,
.price-list-card,
.quote-calc-card,
.gallery-item {
  min-width: 0;
}

.review-card-top {
  flex-wrap: wrap;
  row-gap: 6px;
}

.review-meta {
  flex-wrap: wrap;
  gap: 6px 10px;
}

.sample-review-badge {
  max-width: 100%;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.35;
  text-align: left;
}

/* 태블릿(641px ~ 1024px) 전용 하단 액션바: 화면 전체로 퍼지지 않는 중앙 플로팅 독 */
@media (min-width: 641px) and (max-width: 1024px) {
  .bottom-action-bar {
    left: 50%;
    right: auto;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(92vw, 660px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 9px 12px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  }
  .admin-drawer {
    max-width: min(92vw, 620px);
  }
}

@media (min-width: 980px) and (max-width: 1024px) {
  body.split-admin-open .bottom-action-bar {
    left: calc((100vw - 470px) / 2);
    width: min(calc(100vw - 500px), 560px);
  }
}

/* 태블릿 구간(960px 이하): 갤러리 2열 전환 및 상단 세팅 4단계 버튼 말줄임 방지 */
@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .safety-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 태블릿 히어로·견적 계산기(940px 이하): 비좁은 2열 대신 여유로운 1열 전환 */
@media (max-width: 940px) {
  .hero-content-inner,
  .hero-split-ba,
  .clinic-hero-grid,
  .bento-hero-grid,
  .editorial-frame,
  .hero-sales-grid,
  .pricing-calc-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (min-width: 641px) and (max-width: 940px) {
  .ba-slider-container {
    height: 360px;
  }
  .editorial-img-box,
  .clinic-media-frame {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .dev-approve-row .form-input {
    font-size: 16px !important;
  }
}

@media (max-width: 640px) {
  /* 플로팅 헤더: 긴 상호명도 모바일에서 빈틈 없이 깔끔한 1줄 유지 */
  .site-header-wrap {
    padding: 8px 12px;
    margin-top: 0;
  }
  .site-header {
    padding: 8px 12px;
    border-radius: 16px;
    gap: 8px;
  }
  .brand-logo {
    min-width: 0;
    flex: 1;
    font-size: 15.5px;
    gap: 8px;
  }
  body:not(.inline-edit-active) .brand-logo > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* 관리자 탭바: 모바일 2~3줄 줄바꿈 대신 한 줄 가로 스와이프로 편집 화면 공간 확보 */
  .admin-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  /* 포인트 컬러 선택 원형 버튼: 엄지 터치 크기 확대 */
  .color-dot {
    width: 34px;
    height: 34px;
  }

  /* 클리닉 미니멀 스킨 및 가격·후기 카드 모바일 여백 최적화 */
  .hero-clinic-minimal {
    padding: 22px 16px 36px;
  }
  .clinic-quick-menu {
    padding: 13px 14px;
  }
  .clinic-menu-row {
    font-size: 13px;
    gap: 6px;
  }
  .clinic-menu-name {
    min-width: 0;
    word-break: keep-all;
  }
  .clinic-stat-item span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
  }
  .price-list-card,
  .quote-calc-card,
  .pain-box,
  .feature-card,
  .review-card {
    padding: 22px 18px;
  }
}

@media (max-width: 560px) {
  /* ③단계 비교 보관함 카드: 모바일에서 버튼 3개를 시원한 가로 3등분 배치 */
  .step-slot-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .step-slot-btns {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .step-slot-card.empty .step-slot-btns {
    grid-template-columns: 1fr;
  }
  .step-slot-btns .chip-btn {
    text-align: center;
    justify-content: center;
    padding: 9px 6px;
  }

  /* 관리자 상단 비교 독: 모바일 좁은 3열 대신 큼직한 1열 카드로 터치 편의성 개선 */
  .slot-dock-head {
    flex-wrap: wrap;
  }
  .slot-dock-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .slot-pill-main {
    padding: 9px 10px 7px;
  }
  .slot-pill-top {
    font-size: 13px;
  }
  .slot-pill-meta {
    font-size: 12px;
  }
  .slot-pill-subactions button {
    padding: 8px 6px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  /* 방문자 리포트 KPI: 모바일에서도 3칸 한 줄 요약으로 최근 7일 그래프가 한 화면에 보이도록 개선 */
  .vr-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .vr-kpi-box {
    padding: 9px 8px;
  }
  .vr-kpi-val {
    font-size: 18px;
  }
}

/* ==========================================================================
   v8.5 보안 2중 분리(매장별 전용 비밀번호) & AI 검색·카톡 SSR 스냅샷 스타일
   ========================================================================== */
.admin-pin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 13px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}

.admin-pin-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  flex: 1 1 200px;
}

.admin-pin-info strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.admin-pin-info span {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}

.admin-pin-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.compact-pin-input {
  width: 122px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-align: center;
  letter-spacing: 0.04em;
}

.ai-seo-status-badge {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
}

.ai-seo-status-badge strong {
  font-size: 13px;
  font-weight: 800;
}

.ai-seo-status-badge.live {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.ai-seo-status-badge.shield {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.ssr-store-snapshot {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px 64px;
  color: var(--text-main, #0f172a);
  line-height: 1.65;
}

.ssr-store-snapshot h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 8px 0 12px;
}

.ssr-store-snapshot h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 24px 0 10px;
}

.ssr-store-snapshot table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.ssr-store-snapshot th,
.ssr-store-snapshot td {
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  font-size: 14px;
}

/* ==========================================================================
   v8.6 모바일 키보드 가림 방지(자동 위치 조정) & 경량 도로명·지번 주소 검색 UI
   ========================================================================== */
.toast-msg {
  z-index: 13000 !important;
}

.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.form-label-row .form-label {
  margin-bottom: 0 !important;
}

.addr-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1.5px solid #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  font-family: 'Pretendard Variable', sans-serif;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.addr-search-btn:hover,
.addr-search-btn:active {
  background: #2563eb;
  color: #ffffff;
}

.input-with-btn {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.input-with-btn .form-input {
  flex: 1;
  min-width: 0;
  margin-top: 0 !important;
}

.addr-search-btn.inline {
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12.5px;
}

.addr-search-overlay[hidden] {
  display: none !important;
}

.addr-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.addr-search-sheet {
  width: 100%;
  max-width: 460px;
  height: min(520px, 84vh);
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.addr-search-head {
  flex-shrink: 0;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-family: 'Pretendard Variable', sans-serif;
}

.addr-search-mount {
  flex: 1;
  width: 100%;
  min-height: 300px;
  background: #ffffff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.addr-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  font-family: 'Pretendard Variable', sans-serif;
}

/* 직접 수정 포커스 시 현재 편집 중인 글자 영역을 명확히 강조 */
body.inline-edit-active [data-edit][contenteditable="true"]:focus {
  outline: 2.5px solid #3b82f6 !important;
  outline-offset: 4px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.22);
  scroll-margin-top: 84px;
  scroll-margin-bottom: 140px;
}

/* 모바일 iOS Safari 입력창 터치 시 화면 강제 확대(Auto-Zoom) 방지 */
@media (max-width: 900px) {
  .form-input,
  .form-select,
  .form-textarea,
  .admin-drawer .form-input,
  .admin-drawer .form-select,
  .admin-drawer .form-textarea,
  .sales-quick-form-card .form-input,
  .sales-quick-form-card .form-select {
    font-size: 16px !important;
  }
}

/* 모바일·태블릿 가상 키보드 활성화 시 상·하단 고정바 가림 해제 및 가시 영역 자동 확보 */
@media (max-width: 1024px), (pointer: coarse) {
  body.inline-edit-active #public-site-root,
  body.kb-editing #public-site-root {
    padding-bottom: max(52vh, 340px) !important;
  }

  /* 키보드 입력 중 상단 스티키 바 고정 해제 (문서 높이 변화 0px → 점프 없이 넓은 편집 시야 확보) */
  body.kb-editing .preview-safety-bar,
  body.kb-editing .site-header-wrap {
    position: relative !important;
    top: auto !important;
  }

  /* 키보드 바 위로 겹치는 하단 고정 액션바 임시 숨김 */
  body.kb-editing .bottom-action-bar,
  body.kb-editing .floating-quick-menu {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(120%) !important;
  }

  /* 인라인 수정 플로팅 컨트롤 바를 가시 화면(Visual Viewport) 최상단 슬림 바로 이동시켜 키보드 가림 원천 차단 */
  body.kb-editing .inline-edit-floating-bar {
    top: calc(var(--vv-top, 0px) + 8px) !important;
    bottom: auto !important;
    padding: 7px 11px;
    border-width: 1.5px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.35);
  }

  body.kb-editing .ief-undo-btn,
  body.kb-editing .ief-done-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* 모달·관리자 드로어 내부 입력 시 키보드 위 실제 가시 높이에 정확히 맞춤 */
  body.kb-editing .modal-backdrop.open {
    top: var(--vv-top, 0px);
    bottom: auto;
    height: var(--vv-height, 100dvh);
    align-items: flex-start;
    padding: 6px;
  }

  body.kb-editing .admin-drawer,
  body.kb-editing .modal-shell {
    max-height: calc(var(--vv-height, 100dvh) - 12px) !important;
  }

  body.kb-editing .drawer-header {
    padding: 9px 14px;
  }

  body.kb-editing .drawer-body {
    padding-bottom: max(40vh, 220px) !important;
  }

  body.kb-editing .modal-shell .doc-panel {
    padding-bottom: max(34vh, 180px) !important;
  }

  .addr-search-overlay {
    align-items: flex-start;
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .addr-search-sheet {
    height: min(480px, calc(var(--vv-height, 86dvh) - 20px));
    min-height: 260px;
  }

  body.kb-editing .sr-header-wrap,
  body.kb-editing .sr-demo-bar {
    position: relative !important;
    top: auto !important;
  }
}

/* ==========================================================================
   v8.8 L7 글로벌 스타트업 피치덱(Pitch Deck · IR 요약형) & 홈페이지 Lab 공식 쇼룸
   ========================================================================== */
[data-layout="pitch-deck"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --text-main: #090d16;
  --text-sub: #475569;
  --border-color: #e2e8f0;
}

.hero-pitch-deck {
  position: relative;
  padding: 36px 20px 56px;
  background-color: #ffffff;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.pitch-hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 38px;
  align-items: center;
}

.pitch-eyebrow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pitch-slide-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #090d16;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pitch-region-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-light, #eff6ff);
  color: var(--primary, #2563eb);
  font-size: 12.5px;
  font-weight: 800;
}

.pitch-keynote-h1 {
  font-size: clamp(30px, 4.4vw, 50px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em;
  line-height: 1.18 !important;
  color: #090d16 !important;
  margin-bottom: 16px;
  word-break: keep-all;
}

.pitch-keynote-sub {
  font-size: clamp(15.5px, 1.5vw, 18px) !important;
  color: #334155 !important;
  line-height: 1.62 !important;
  margin-bottom: 18px;
  max-width: 560px;
  word-break: keep-all;
}

.pitch-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: var(--radius-md, 12px);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.pitch-jump-link:hover {
  border-color: var(--primary, #2563eb);
  color: var(--primary, #2563eb);
  background: #f8fafc;
}

.pitch-stage-card {
  background: #0b1120;
  color: #f8fafc;
  border-radius: 22px;
  padding: 14px;
  border: 1px solid #1e293b;
  box-shadow: 0 24px 48px -14px rgba(9, 13, 22, 0.28);
}

.pitch-stage-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 6px 12px;
}

.pitch-dots {
  display: inline-flex;
  gap: 6px;
}

.pitch-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.pitch-dots span:nth-child(1) {
  background: #ef4444;
}
.pitch-dots span:nth-child(2) {
  background: #f59e0b;
}
.pitch-dots span:nth-child(3) {
  background: #10b981;
}

.pitch-stage-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pitch-stage-title strong {
  color: #e2e8f0;
}

.pitch-stage-media {
  border-radius: 14px;
  overflow: hidden;
}

.pitch-stage-media .ba-slider-container {
  height: 280px;
  border-radius: 14px;
}

.pitch-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.pitch-kpi-cell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pitch-kpi-val {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.pitch-kpi-lbl {
  font-size: 11.5px;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.25;
}

/* PPT 슬라이드 브리핑 덱 (PC 2x2 장표 그리드 / 모바일·태블릿 스냅 스와이프 덱) */
.pitch-deck-section {
  padding-top: 52px;
  padding-bottom: 36px;
}

.pitch-deck-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.pitch-deck-head .section-title {
  margin-bottom: 6px;
}

.pitch-deck-nav {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pitch-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pitch-nav-btn:hover {
  border-color: var(--primary, #2563eb);
  color: var(--primary, #2563eb);
}

.pitch-slides-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pitch-slide-card {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.07);
  min-height: 310px;
}

.pitch-slide-card.is-dark {
  background: linear-gradient(155deg, #0b1120 0%, #172554 100%);
  color: #f8fafc;
  border-color: #1e3a8a;
}

.pitch-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.pitch-idx {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--primary-rgb, 37, 99, 235), 0.11);
  color: var(--primary, #2563eb);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.pitch-slide-card.is-dark .pitch-idx {
  background: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
}

.pitch-topic {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #64748b;
}

.pitch-slide-card.is-dark .pitch-topic {
  color: #94a3b8;
}

.pitch-card-title {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.32;
  margin-bottom: 18px;
  word-break: keep-all;
}

.pitch-contrast-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pitch-contrast-box {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.pitch-contrast-box.problem {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.pitch-contrast-box.solution {
  background: rgba(var(--primary-rgb, 37, 99, 235), 0.08);
  border: 1.5px solid rgba(var(--primary-rgb, 37, 99, 235), 0.35);
  color: #0f172a;
  font-weight: 700;
}

.pc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #64748b;
}

.pitch-contrast-box.solution .pc-tag {
  color: var(--primary, #2563eb);
}

.pitch-contrast-arrow {
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  color: var(--primary, #2563eb);
  line-height: 1;
}

.pitch-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pitch-bullet-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.pitch-bullet-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pitch-bullet-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pitch-bullet-body strong {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
}

.pitch-bullet-body span {
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  word-break: keep-all;
}

.pitch-dark-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.pitch-dark-metric {
  padding: 14px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pitch-dark-metric strong {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.pitch-dark-metric span {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.35;
}

.pitch-dark-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pitch-dark-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.22);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #e0f2fe;
}

.pitch-price-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.pitch-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 11px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 14px;
}

.pitch-price-line .pp-name {
  font-weight: 700;
  color: #1e293b;
}

.pitch-price-line .pp-val {
  font-weight: 900;
  color: var(--primary, #2563eb);
  white-space: nowrap;
}

.pitch-price-note {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 12px;
}

.pitch-card-cta {
  padding: 12px 16px !important;
  font-size: 14.5px !important;
}

/* ==========================================================================
   홈페이지 Lab 공식 쇼룸 (Official Brand Showroom) & 샘플 체험 스위처 바
   ========================================================================== */
body.showroom-mode-active {
  background: #f8fafc;
  color: #090d16;
  padding-bottom: 0 !important;
}

.sr-root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-rgb: 37, 99, 235;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --text-main: #090d16;
  --text-sub: #475569;
  --border-color: #e2e8f0;
  background: #f8fafc;
  color: #090d16;
  min-height: 100vh;
}

.sr-header-wrap {
  position: sticky;
  top: var(--proto-h, 0px);
  z-index: 1005;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 11px 20px;
}

.sr-header {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sr-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #090d16;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.sr-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.sr-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sr-nav a {
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.15s ease;
}

.sr-nav a:hover {
  color: #2563eb;
}

.sr-cta-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  background: #090d16;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.sr-cta-pill:hover {
  background: #2563eb;
}

.sr-hero {
  background: radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.1), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 54px 20px 60px;
  border-bottom: 1px solid #e2e8f0;
}

.sr-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.sr-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 18px;
}

.sr-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

.sr-hero-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: #090d16;
  margin-bottom: 18px;
  word-break: keep-all;
}

.sr-grad-txt {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 60%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sr-hero-desc {
  font-size: clamp(15.5px, 1.45vw, 17.5px);
  color: #334155;
  line-height: 1.65;
  margin-bottom: 26px;
  word-break: keep-all;
}

.sr-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sr-main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.42);
}

.sr-sub-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.sr-hero-board {
  background: #0b1120;
  color: #f8fafc;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid #1e293b;
  box-shadow: 0 24px 50px -14px rgba(15, 23, 42, 0.32);
}

.sr-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.sr-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sr-kpi-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  padding: 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sr-kpi-card.highlight {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.32), rgba(79, 70, 229, 0.22));
  border-color: rgba(96, 165, 250, 0.5);
}

.sr-kpi-top {
  font-size: 11px;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.03em;
}

.sr-kpi-card strong {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.sr-kpi-card p {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.4;
  margin: 0;
  word-break: keep-all;
}

.sr-samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sr-sample-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.sr-sample-card.featured {
  border-color: #2563eb;
  box-shadow: 0 14px 32px -10px rgba(37, 99, 235, 0.18);
}

.sr-sample-card:hover {
  transform: translateY(-3px);
  border-color: #94a3b8;
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.12);
}

.sr-sample-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--sr-acc, #2563eb);
  font-size: 11.5px;
  font-weight: 800;
}

.sr-sample-card h3 {
  font-size: 18.5px;
  font-weight: 900;
  color: #090d16;
  margin: 0;
  word-break: keep-all;
}

.sr-sample-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  word-break: keep-all;
}

.sr-sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sr-sample-tags span {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #334155;
}

.sr-sample-actions {
  display: flex;
  gap: 8px;
  padding-top: 6px;
}

.sr-btn-outline {
  flex: 1;
  padding: 11px 12px;
  border-radius: 11px;
  border: 1.5px solid #2563eb;
  background: #2563eb;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.sr-btn-ghost {
  padding: 11px 12px;
  border-radius: 11px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.sr-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 940px;
  margin: 0 auto 24px;
}

.sr-price-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 22px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sr-price-card.featured {
  border: 2px solid #2563eb;
  box-shadow: 0 18px 40px -12px rgba(37, 99, 235, 0.18);
}

.sr-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.sr-plan-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
}

.sr-plan-tag.gold {
  background: #dbeafe;
  color: #1d4ed8;
}

.sr-plan-sub {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
}

.sr-price-card h3 {
  font-size: 21px;
  font-weight: 900;
  margin: 0;
}

.sr-price-num {
  font-size: 32px;
  font-weight: 900;
  color: #090d16;
  letter-spacing: -0.03em;
}

.sr-price-num small {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.sr-price-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sr-price-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #334155;
  line-height: 1.45;
}

.sr-price-list li .ico {
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 2px;
}

.sr-hosting-policy-box {
  max-width: 940px;
  margin: 0 auto;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-radius: 22px;
  padding: 26px 26px;
  border: 1px solid #334155;
}

.sr-hp-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sr-hp-badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
}

.sr-hp-header strong {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  color: #ffffff;
}

.sr-hp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sr-hp-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 15px;
}

.sr-hp-item h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #e0f2fe;
  margin: 0 0 6px;
}

.sr-hp-item p {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
  word-break: keep-all;
}

.sr-hp-item strong {
  color: #ffffff;
}

.sr-apply-card {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 26px;
  padding: 34px 30px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.1);
}

.sr-apply-intro h2 {
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 900;
  margin: 10px 0 12px;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.sr-apply-intro p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  word-break: keep-all;
}

.sr-apply-promises {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sr-apply-promises li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.sr-apply-promises li .ico {
  color: #059669;
  flex-shrink: 0;
}

.sr-direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sr-apply-form-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 20px;
}

.sr-apply-success {
  text-align: center;
  padding: 28px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 샘플 체험 상단 플로팅 스위처 바 */
.sr-demo-bar {
  position: sticky;
  top: var(--proto-h, 0px);
  z-index: 1015;
  background: #090d16;
  color: #f8fafc;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.sr-demo-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sr-demo-left,
.sr-demo-Right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sr-demo-back {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.sr-demo-caption {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
}

.sr-demo-chips {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.sr-demo-chips::-webkit-scrollbar {
  display: none;
}

.sr-demo-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.sr-demo-chip.active {
  background: #2563eb;
  border-color: #60a5fa;
  color: #ffffff;
}

.sr-demo-apply {
  padding: 7px 13px;
  border-radius: 999px;
  border: none;
  background: #10b981;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.sr-footer {
  padding-bottom: 40px !important;
}

/* 태블릿·모바일 반응형 (피치덱 가로 스냅 스와이프 & 쇼룸 최적화) */
@media (max-width: 980px) {
  .pitch-hero-grid,
  .sr-hero-inner,
  .sr-apply-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .sr-samples-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-hp-grid {
    grid-template-columns: 1fr;
  }

  .sr-nav {
    display: none;
  }

  .pitch-deck-nav {
    display: inline-flex;
  }

  .pitch-slides-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .pitch-slides-track::-webkit-scrollbar {
    display: none;
  }

  .pitch-slide-card {
    flex: 0 0 min(86vw, 390px);
    scroll-snap-align: start;
    min-height: 290px;
    padding: 22px 20px;
  }
}

@media (max-width: 680px) {
  .sr-samples-grid,
  .sr-pricing-grid {
    grid-template-columns: 1fr;
  }

  .pitch-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .sr-kpi-card {
    padding: 13px 12px;
  }

  .sr-kpi-card strong {
    font-size: 21px;
  }

  .sr-hero {
    padding: 34px 16px 42px;
  }

  .hero-pitch-deck {
    padding: 24px 16px 40px;
  }

  .pitch-stage-media .ba-slider-container {
    height: 220px;
  }

  .sr-apply-card {
    padding: 22px 16px;
  }

  .sr-apply-form-wrap {
    padding: 16px 14px;
  }

  .sr-demo-caption {
    display: none;
  }

  .sr-demo-Right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   v9.0 풀스크린 스냅(한 화면씩 정밀 멈춤) & 질문·답변 스와이프 카드 덱
   ========================================================================== */
html {
  scroll-snap-type: none !important;
  scroll-padding-top: var(--snap-top, 58px) !important;
}

/* 매장용 L7 핵심 요약 카드형도 상단 들뜸 없이 섹션마다 풀스크린 스냅 밀착 */
@media (min-height: 560px) {
  body.pitch-snap-active:not(.kb-editing):not(.inline-edit-active) #public-site-root > .preview-safety-bar {
    scroll-snap-align: start;
  }

  body.pitch-snap-active:not(.kb-editing):not(.inline-edit-active) #public-site-root > .hero-pitch-deck,
  body.pitch-snap-active:not(.kb-editing):not(.inline-edit-active) #public-site-root > .section-container {
    min-height: calc(100svh - var(--snap-top, 60px));
    padding-top: 32px;
    padding-bottom: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  body.pitch-snap-active:not(.kb-editing):not(.inline-edit-active) #public-site-root > .site-footer {
    scroll-snap-align: end;
  }
}

/* 핵심 질문 4장 트랙: PC·모바일 공통 가로 스와이프 + 옆 카드 터치 넘김 */
.pitch-slides-track {
  position: relative;
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 6px 52% 14px 4px;
  scrollbar-width: none;
}

.pitch-slides-track::-webkit-scrollbar {
  display: none;
}

.pitch-slides-track .pitch-slide-card {
  flex: 0 0 clamp(390px, 43vw, 480px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.pitch-slide-card .pitch-contrast-stack,
.pitch-slide-card .pitch-bullet-list,
.pitch-slide-card .pitch-dark-metrics-grid,
.pitch-slide-card .pitch-price-box {
  margin-top: 4px;
}

.pitch-slide-card .pitch-card-cta,
.pitch-slide-card .pitch-dark-badges {
  margin-top: auto;
}

.pitch-deck-nav {
  display: inline-flex !important;
}

/* 홈페이지 Lab 6단계 풀스크린 스테이지 */
.sr-snap-stage {
  min-height: calc(100svh - var(--snap-top, 58px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  border-bottom: 1px solid #eef2f7;
  background: #ffffff;
}

.sr-snap-stage.alt-bg {
  background: #f8fafc;
}

.sr-hero-stage {
  background: radial-gradient(circle at 75% 18%, rgba(37, 99, 235, 0.1), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.sr-stage-box {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.sr-hero-compact {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.sr-hero-short {
  font-size: clamp(15px, 1.5vw, 17.5px);
  color: #475569;
  line-height: 1.6;
  margin: 0 auto 22px;
  word-break: keep-all;
}

.sr-pill-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 26px;
}

.sr-pm-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 13px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sr-pm-item.highlight {
  background: #eff6ff;
  border-color: #60a5fa;
}

.sr-pm-item strong {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 900;
  color: #090d16;
  letter-spacing: -0.02em;
}

.sr-pm-item.highlight strong {
  color: #1d4ed8;
}

.sr-pm-item span {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.sr-hero-btns.center {
  justify-content: center;
}

.sr-next-stage-cue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 26px auto 0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  width: fit-content;
}

.sr-next-stage-cue:hover {
  color: #2563eb;
  border-color: #93c5fd;
}

/* 우측 플로팅 스테이지 도트 내비게이터 (PC·태블릿) */
.sr-stage-rail {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 880;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 6px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.sr-rail-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all 0.16s ease;
}

.sr-rail-dot.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}

/* 카드뉴스 스테이지 헤더 & 가로 스와이프 트랙 */
.cn-stage-head {
  margin-bottom: 18px;
}

.cn-stage-title {
  font-size: clamp(22px, 2.8vw, 31px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #090d16;
  margin-top: 6px;
  line-height: 1.28;
  word-break: keep-all;
}

.cn-sub-inline {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 700;
  color: #2563eb;
  margin-left: 6px;
}

.cn-track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 6px 52% 14px 4px;
  scrollbar-width: none;
}

.cn-track::-webkit-scrollbar {
  display: none;
}

.cn-card {
  flex: 0 0 clamp(360px, 38vw, 440px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-height: 270px;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.08);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.cn-card .cn-desc,
.cn-card .sr-sample-cta {
  margin-top: auto;
}

.pitch-slide-card.is-peek-card,
.cn-card.is-peek-card {
  cursor: pointer;
}

.pitch-slide-card.is-peek-card:hover:not(.is-dark),
.cn-card.is-peek-card:hover:not(.is-dark) {
  border-color: #93c5fd;
}

.cn-card.featured {
  border: 2px solid #2563eb;
  box-shadow: 0 16px 34px -12px rgba(37, 99, 235, 0.2);
}

.cn-card.is-dark {
  background: linear-gradient(150deg, #0b1120 0%, #1e3a8a 100%);
  color: #f8fafc;
  border-color: #1e3a8a;
}

.cn-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cn-idx {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #64748b;
}

.cn-card.is-dark .cn-idx {
  color: #93c5fd;
}

.cn-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 800;
}

.cn-card.is-dark .cn-tag {
  background: rgba(255, 255, 255, 0.14);
  color: #e0f2fe;
}

.cn-big-kicker {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #2563eb;
  line-height: 1.1;
}

.cn-card.is-dark .cn-big-kicker {
  color: #60a5fa;
}

.cn-title {
  font-size: clamp(18.5px, 2vw, 21.5px);
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -0.025em;
  color: #090d16;
  margin: 0;
  word-break: keep-all;
}

.cn-card.is-dark .cn-title {
  color: #ffffff;
}

.cn-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  word-break: keep-all;
}

.cn-card.is-dark .cn-desc {
  color: #cbd5e1;
}

/* 카드뉴스 하단 넘기기 컨트롤 바 */
.cn-deck-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  max-width: 520px;
}

.cn-step-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.cn-step-btn:disabled {
  opacity: 0.42;
  cursor: default;
}

.cn-step-btn.next {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.cn-dots-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cn-count-txt {
  font-size: 12.5px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
}

.cn-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cn-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cn-dot.active {
  width: 18px;
  background: #2563eb;
}

/* 컴팩트 요금표 & 옵션 띠 & 컴팩트 신청 카드 */
.sr-pricing-grid.compact {
  margin-bottom: 14px;
}

.sr-pricing-grid.compact .sr-price-card {
  padding: 22px 22px;
  gap: 9px;
}

.sr-price-list.compact {
  gap: 7px;
  margin: 2px 0 8px;
}

.sr-option-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 940px;
  margin: 0 auto;
}

.sr-option-pills > span {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: #334155;
}

.sr-option-pills strong {
  color: #090d16;
}

.sr-apply-card.compact {
  padding: 24px 24px;
  gap: 24px;
}

.sr-apply-card.compact .form-group {
  margin-bottom: 10px;
}

.sr-mini-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 6px 4px;
  font-size: 12.5px;
  color: #64748b;
}

.sr-mf-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .sr-stage-rail {
    display: none;
  }

  .cn-track,
  .pitch-slides-track {
    padding: 6px 20vw 14px 2px;
  }

  .cn-card,
  .pitch-slides-track .pitch-slide-card {
    flex: 0 0 min(81vw, 350px);
    min-height: 256px;
    padding: 22px 20px;
  }

  .pitch-slide-card.is-peek-card,
  .cn-card.is-peek-card {
    opacity: 0.82;
    transform: scale(0.98);
  }

  .sr-pill-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .cn-sub-inline {
    display: block;
    margin-left: 0;
    margin-top: 3px;
  }
}

@media (max-width: 560px) {
  .sr-snap-stage {
    padding: 22px 14px;
  }

  .cn-deck-bar {
    width: 100%;
    padding: 6px 8px;
  }

  .cn-step-btn {
    padding: 7px 11px;
    font-size: 12px;
  }

  .sr-apply-card.compact {
    padding: 18px 14px;
  }

  .sr-option-pills > span {
    border-radius: 12px;
    width: 100%;
    text-align: left;
  }
}

/* ==========================================================================
   v9.2 네이버 예약 공식 버튼 연동 & 쇼룸 업종 빠른 예시 칩
   ========================================================================== */
.naver-n-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.btn-naver-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px;
  border-radius: var(--radius-md, 12px);
  background: #03c75a;
  color: #ffffff !important;
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #02b350;
  box-shadow: 0 10px 24px -6px rgba(3, 199, 90, 0.38);
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.btn-naver-lg:hover {
  background: #02b350;
  transform: translateY(-2px);
}

.action-btn.naver-book {
  background: #03c75a !important;
  color: #ffffff !important;
  border-color: #02b350 !important;
  font-weight: 800;
}

.map-btn.naver-book {
  background: #03c75a !important;
  color: #ffffff !important;
  border-color: #02b350 !important;
  font-weight: 800;
}

.float-quick-btn.naver-float {
  background: #03c75a;
  border-color: #34d399;
  color: #ffffff;
}

.sr-quick-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.sr-quick-cat-chips > button {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s ease;
}

.sr-quick-cat-chips > button:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

/* ==========================================================================
   v9.3 3일 경과 1회 무료 재시안 배너 · 수신 동의 체크 · 운영자 리마인드 큐
   ========================================================================== */
.sr-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 11px;
  margin-bottom: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.45;
  cursor: pointer;
}

.sr-consent-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #2563eb;
  flex-shrink: 0;
}

.sr-consent-check small {
  color: #475569;
  font-weight: 600;
}

.remake-offer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 88, 12, 0.16));
  border: 1px solid rgba(251, 191, 36, 0.55);
}

.remake-offer-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.remake-offer-txt strong {
  font-size: 13px;
  color: #fef08a !important;
}

.remake-offer-txt span {
  font-size: 12px;
  color: #f1f5f9;
}

.remake-offer-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: #f59e0b;
  color: #090d16;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.remake-offer-btn:hover {
  background: #fbbf24;
}

.remake-status-line {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

.remake-status-line.done {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.45);
}

.remake-pref-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.remake-pref-chip {
  padding: 9px 13px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.remake-pref-chip.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16);
}

.day3-reminder-card {
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  padding: 12px 13px;
}

.day3-reminder-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.day3-reminder-head strong {
  font-size: 13px;
  color: #92400e;
}

.day3-reminder-head span {
  font-size: 11.5px;
  color: #78350f;
}

.day3-reminder-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.day3-reminder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #fde68a;
}

.day3-reminder-item.is-sent {
  opacity: 0.72;
  border-style: dashed;
}

.d3-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.d3-meta strong {
  font-size: 13px;
  color: #0f172a;
}

.d3-meta span {
  font-size: 11.5px;
  color: #64748b;
}

.d3-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   v9.4 L8 카드뉴스 쇼룸형(무사진 매장 레이아웃) & 공식 쇼룸 문구 직접 수정 스타일
   ========================================================================== */
.sr-root.client-cs-root {
  --primary: var(--primary, #2563eb);
}

[data-layout="card-showroom"] .site-header-wrap.cs-flush-header {
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e2e8f0;
}

[data-layout="card-showroom"] .site-header-wrap.cs-flush-header .site-header {
  max-width: 1180px;
  background: transparent;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 11px 0;
}

.client-cs-root .sr-eyebrow-pill,
.client-cs-root .cn-tag {
  background: var(--primary-light, #eff6ff);
  color: var(--primary, #2563eb);
  border-color: color-mix(in srgb, var(--primary, #2563eb) 28%, transparent);
}

.client-cs-root .cn-card.is-dark .cn-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.client-cs-root .cn-big-kicker,
.client-cs-root .cn-sub-inline,
.client-cs-root .sr-pm-item.highlight strong {
  color: var(--primary, #2563eb);
}

.client-cs-root .cn-card.is-dark .cn-big-kicker {
  color: #93c5fd;
}

.client-cs-root .sr-pm-item.highlight {
  background: var(--primary-light, #eff6ff);
  border-color: color-mix(in srgb, var(--primary, #2563eb) 45%, transparent);
}

.client-cs-root .sr-main-cta,
.client-cs-root .cn-step-btn.next,
.client-cs-root .cn-dot.active,
.client-cs-root .sr-rail-dot.active {
  background: var(--primary, #2563eb);
  border-color: var(--primary, #2563eb);
  box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb, 37, 99, 235), 0.35);
}

.client-cs-root .cn-card {
  border-radius: var(--radius-xl, 24px);
}

.client-cs-root .cs-pricing-stage-wrap .section-container {
  padding: 0;
  max-width: 100%;
}

.client-cs-root .cs-client-footer {
  padding-bottom: 84px;
}

/* 공식 쇼룸 문구 직접 수정 하이라이트 */
.sr-edit-active [data-sr-edit] {
  outline: 1.5px dashed rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
  cursor: text;
  transition: outline-color 0.15s ease, background-color 0.15s ease;
}

.sr-edit-active [data-sr-edit]:hover,
.sr-edit-active [data-sr-edit]:focus {
  outline: 2px solid #2563eb;
  background-color: rgba(37, 99, 235, 0.06);
}

.sr-edit-active .cn-card.is-dark [data-sr-edit]:hover,
.sr-edit-active .cn-card.is-dark [data-sr-edit]:focus {
  outline-color: #60a5fa;
  background-color: rgba(255, 255, 255, 0.1);
}

.sr-op-biz-line {
  margin-top: 4px;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.45;
}

/* ==========================================================================
   v9.7 쇼룸 신청 폼 50:50 정밀 칼럼 정렬 · 필수 빨간 점(.req-dot) · 상세 기재 안내 · 동의 강조
   ========================================================================== */
.req-dot {
  display: inline-block;
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background-color: #ef4444;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
  top: -4px;
}

.req-star {
  color: #ef4444;
  font-weight: 900;
  margin-left: 2px;
}

.sr-apply-form-wrap .admin-row,
.intake-wizard-panel .admin-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.sr-apply-form-wrap .admin-row > .form-group,
.intake-wizard-panel .admin-row > .form-group {
  min-width: 0;
  width: 100%;
}

.sr-apply-form-wrap .admin-row > .form-group > .form-label,
.intake-wizard-panel .admin-row > .form-group > .form-label {
  display: block;
  line-height: 1.35;
  min-height: 19px;
  margin-bottom: 6px;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .sr-apply-form-wrap .admin-row,
  .intake-wizard-panel .admin-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sr-apply-form-wrap .admin-row > .form-group > .form-label,
  .intake-wizard-panel .admin-row > .form-group > .form-label {
    white-space: normal;
  }
}

.sr-memo-quality-tip {
  margin: -2px 0 7px;
  padding: 7px 10px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  font-size: 12px;
  color: #0f172a;
  line-height: 1.45;
}

.sr-memo-quality-tip strong {
  color: #0369a1;
  font-weight: 800;
}

.sr-consent-check.needs-check {
  background: #fef2f2;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
  animation: srConsentPulse 0.36s ease;
}

@keyframes srConsentPulse {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ==========================================================================
   v9.8 사진 우선 시네마틱 히어로(순차 등장) & 대표 프로·원장 프로필/약력 섹션
   ========================================================================== */
.hero-impact-dark {
  min-height: clamp(560px, 78vh, 720px);
  align-items: flex-end;
  padding: 150px 24px 36px;
}

.hero-impact-dark .hero-bg-overlay {
  background:
    radial-gradient(circle at 18% 84%, rgba(6, 10, 18, 0.56) 0%, transparent 58%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.08) 0%, rgba(6, 10, 18, 0.2) 44%, rgba(6, 10, 18, 0.82) 78%, rgba(6, 10, 18, 0.94) 100%);
}

.hero-impact-dark .hero-content-inner.hero-cinematic-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.hero-copy-compact {
  max-width: 650px;
}

.hero-impact-dark .hero-title {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
  margin-bottom: 10px;
}

.hero-impact-dark .hero-subtitle {
  max-width: 560px;
  margin-bottom: 20px;
  color: rgba(248, 250, 252, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  font-size: 16px;
  line-height: 1.55;
}

.hero-bottom-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.hero-strip-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.strip-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: #34d399;
  font-variant-numeric: tabular-nums;
}

[data-layout="impact-dark"] .strip-stat-num {
  color: color-mix(in srgb, var(--primary, #10b981) 70%, #ffffff 30%);
}

.strip-stat-label {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.88);
  font-weight: 600;
}

.hero-carousel-dock .carousel-dots {
  margin-top: 0;
}

/* 이미지 먼저 노출 후 글자·안내 바 순차 등장 */
@keyframes heroPhotoFirstOpen {
  0% {
    transform: scale(1.06);
    filter: brightness(1.08);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes heroSeqRise {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-seq-active .hero-bg-media {
  animation: heroPhotoFirstOpen 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-seq-active .seq-step {
  opacity: 0;
  animation: heroSeqRise 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-seq-active .seq-1 {
  animation-delay: 0.48s;
}

.hero-seq-active .seq-2 {
  animation-delay: 0.8s;
}

.hero-seq-active .seq-3 {
  animation-delay: 1.12s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-seq-active .hero-bg-media,
  .hero-seq-active .seq-step {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .hero-impact-dark {
    min-height: clamp(500px, 74svh, 620px);
    padding: 168px 16px 26px;
  }

  .hero-impact-dark .hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 16px;
  }

  .hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    width: 100%;
  }

  .strip-stat-num {
    font-size: 17px;
  }

  .strip-stat-label {
    font-size: 12px;
  }
}

/* 대표 프로 · 원장 프로필 & 약력 섹션 */
.pro-profile-grid.is-single {
  max-width: 980px;
  margin: 0 auto;
}

.pro-profile-grid.is-multi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pro-profile-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-xl, 24px);
  padding: 32px;
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.1);
}

[data-layout="impact-dark"] .pro-profile-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.9));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, 0.55);
}

.pro-profile-card.is-featured-single {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.pro-profile-card.is-team-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
}

.pro-portrait-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pro-portrait-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.28);
}

.pro-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.pro-portrait-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 13, 22, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.pro-photo-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px dashed var(--primary, #059669);
  background: color-mix(in srgb, var(--primary, #059669) 10%, transparent);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.pro-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pro-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.pro-profile-card.is-team-item .pro-name {
  font-size: 21px;
}

.pro-role {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

[data-layout="impact-dark"] .pro-role {
  color: color-mix(in srgb, var(--primary, #10b981) 72%, #ffffff 28%);
}

.pro-quote {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  border-radius: 0 12px 12px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.6;
}

[data-layout="impact-dark"] .pro-quote {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
}

.pro-career-box {
  padding-top: 4px;
}

.pro-career-heading {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-sub, #64748b);
  margin-bottom: 10px;
}

.pro-career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pro-career-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.5;
}

.pro-career-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

[data-layout="impact-dark"] .pro-career-check {
  background: color-mix(in srgb, var(--primary, #10b981) 24%, transparent);
  color: color-mix(in srgb, var(--primary, #10b981) 68%, #ffffff 32%);
}

.pro-card-foot {
  padding-top: 4px;
}

.pro-book-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-md, 12px);
  background: var(--primary);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.pro-book-link.naver {
  background: #03c75a;
}

.pro-book-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

@media (max-width: 860px) {
  .pro-profile-grid.is-multi {
    grid-template-columns: 1fr;
  }

  .pro-profile-card.is-featured-single,
  .pro-profile-card.is-team-item {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 18px;
  }

  .pro-portrait-col {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }

  .pro-name {
    font-size: 22px;
  }
}

/* ==========================================================================
   v10.1 차롱 웹스튜디오 브랜드 인장 · 오픈 모션 히어로 · 1~7단계 웜톤 컬러 플로우 통합
   ========================================================================== */
.sr-official-showroom {
  color: #1c1917;
  background: #fdfcf9;
}

/* 1) 상단 헤더 & 브랜드 정적 인장 아이콘 */
.sr-official-showroom .sr-header-wrap {
  background: rgba(253, 251, 247, 0.92);
  border-bottom: 1px solid #e6dfd1;
}

.sr-official-showroom .sr-brand {
  color: #1c1917;
  gap: 8px;
}

.sr-brand-icon-img {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.sr-official-showroom .sr-nav a {
  color: #4b433b;
}

.sr-official-showroom .sr-nav a:hover {
  color: #7c582e;
}

.sr-official-showroom .sr-cta-pill {
  background: #231e19;
  color: #fdfbf7;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.sr-official-showroom .sr-cta-pill:hover {
  background: #7c582e;
}

/* 우측 스테이지 도트 내비게이터 */
.sr-official-showroom .sr-stage-rail {
  background: rgba(255, 253, 248, 0.88);
  border-color: #e4dac8;
  box-shadow: 0 8px 24px rgba(58, 43, 24, 0.08);
}

.sr-official-showroom .sr-rail-dot {
  color: #8c8275;
}

.sr-official-showroom .sr-rail-dot:hover {
  color: #231e19;
}

.sr-official-showroom .sr-rail-dot.active {
  background: #7c582e;
  color: #fffdf9;
  box-shadow: 0 3px 10px rgba(124, 88, 46, 0.32);
}

/* 2) 1페이지 ~ 7페이지 경계선 없는 자연스러운 한지·린넨 그라데이션 흐름 */
.sr-official-showroom .sr-snap-stage {
  border-bottom: 1px solid rgba(168, 140, 98, 0.12);
}

.sr-official-showroom #sr-stage-1 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 42%, rgba(196, 156, 94, 0.14), transparent 52%),
    linear-gradient(180deg, #fdfcf9 0%, #f7f3ea 100%);
}

.sr-official-showroom #sr-stage-story {
  background:
    radial-gradient(circle at 16% 24%, rgba(180, 145, 92, 0.09), transparent 46%),
    linear-gradient(180deg, #f7f3ea 0%, #f1eadc 100%);
}

.sr-official-showroom #sr-stage-2 {
  background: linear-gradient(180deg, #f1eadc 0%, #fbfaf6 22%, #fbfaf6 100%);
}

.sr-official-showroom #sr-stage-3 {
  background: linear-gradient(180deg, #fbfaf6 0%, #f3ede1 22%, #f3ede1 100%);
}

.sr-official-showroom #sr-stage-4 {
  background: linear-gradient(180deg, #f3ede1 0%, #fbfaf6 22%, #fbfaf6 100%);
}

.sr-official-showroom #sr-stage-5 {
  background: linear-gradient(180deg, #fbfaf6 0%, #f3ede1 22%, #f3ede1 100%);
}

.sr-official-showroom #sr-stage-6 {
  background: linear-gradient(180deg, #f3ede1 0%, #faf7f0 24%, #f0e8d8 100%);
  border-bottom: none;
}

/* 3) STAGE 01: 여백 중심 다이어트 히어로 + ㅁ 틀 없이 배경에 반투명하게 천천히 열리는 차롱 */
.sr-official-showroom #sr-stage-1 > .sr-stage-box {
  position: relative;
  z-index: 1;
}

.sr-hero-ambient-motion {
  position: absolute;
  right: max(2%, calc(50% - 550px));
  top: 52%;
  transform: translateY(-50%);
  width: clamp(320px, 40vw, 480px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.sr-hero-ambient-motion img {
  width: 100%;
  height: auto;
  display: block;
}

.sr-hero-minimal {
  max-width: 680px;
  text-align: left;
  padding: 10px 0;
}

.sr-official-showroom .sr-eyebrow-pill {
  background: rgba(245, 237, 224, 0.85);
  border: 1px solid #dfd0b8;
  color: #78552b;
  margin-bottom: 20px;
}

.sr-official-showroom .sr-live-dot {
  background: #2d6a4f;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.16);
}

.sr-official-showroom .sr-hero-title {
  color: #1c1917;
  font-size: clamp(31px, 4.1vw, 49px);
  line-height: 1.24;
  margin-bottom: 18px;
}

.sr-official-showroom .sr-grad-txt {
  background: linear-gradient(135deg, #7c582e 0%, #9c6e37 52%, #2d5a43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sr-official-showroom .sr-hero-short {
  color: #4b443c;
  font-size: clamp(15.5px, 1.45vw, 17.5px);
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 540px;
}

/* 네모 카드 박스를 없앤 깔끔한 한 줄 핵심 요약 */
.sr-hero-inline-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 11px;
  margin: 0 0 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(180, 152, 108, 0.24);
  font-size: 14px;
  color: #574f45;
}

.sr-hero-inline-facts strong {
  font-weight: 800;
  color: #231e19;
}

.sr-hero-inline-facts small {
  font-size: 13px;
  font-weight: 600;
  color: #6b6257;
}

.sr-hero-inline-facts .is-accent strong {
  color: #78552b;
}

.sr-hero-inline-facts i {
  font-style: normal;
  color: #c7b8a1;
  font-weight: 700;
}

.sr-official-showroom .sr-main-cta {
  background: linear-gradient(135deg, #231e19, #3b2f23);
  color: #fffdf9;
  box-shadow: 0 14px 28px -8px rgba(44, 34, 24, 0.32);
  transition: transform 0.16s ease, background 0.18s ease;
}

.sr-official-showroom .sr-main-cta:hover {
  background: linear-gradient(135deg, #78552b, #8f6635);
  transform: translateY(-1px);
}

.sr-official-showroom .sr-sub-cta {
  background: rgba(255, 254, 251, 0.78);
  border: 1px solid #d8cbb8;
  color: #3f3830;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.sr-official-showroom .sr-sub-cta:hover {
  background: #f6efe2;
  border-color: #b89564;
}

/* 4) STAGE 02: 브랜드 이야기 스테이지 */
.sr-story-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
  background: rgba(255, 254, 250, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(180, 152, 108, 0.26);
  border-radius: 28px;
  padding: 38px 40px;
  box-shadow: 0 24px 52px -24px rgba(84, 64, 36, 0.14);
}

.sr-story-img-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: #ede6d8;
  border: 1px solid rgba(161, 124, 72, 0.22);
  box-shadow: 0 18px 36px -16px rgba(68, 52, 28, 0.22);
}

.sr-story-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.sr-story-card:hover .sr-story-img-frame img {
  transform: scale(1.025);
}

.sr-story-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(38, 30, 20, 0.74);
  backdrop-filter: blur(8px);
  color: #fefcf6;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sr-story-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sr-story-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f5ede0;
  border: 1px solid #dfd0b8;
  color: #78552b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sr-story-title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0;
  word-break: keep-all;
}

.sr-story-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sr-story-paragraphs p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #44403c;
  word-break: keep-all;
}

.sr-story-paragraphs p.sr-story-highlight {
  color: #1c1917;
  font-weight: 700;
  padding: 12px 15px;
  background: rgba(161, 124, 72, 0.1);
  border-left: 3px solid #8c6a3d;
  border-radius: 0 12px 12px 0;
}

.sr-story-seals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 6px;
}

.sr-seal-item {
  padding: 11px 12px;
  border-radius: 14px;
  background: #fffefb;
  border: 1px solid rgba(180, 152, 108, 0.25);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sr-seal-item strong {
  font-size: 13px;
  font-weight: 800;
  color: #78552b;
}

.sr-seal-item span {
  font-size: 11.5px;
  color: #57534e;
  line-height: 1.35;
}

/* 5) STAGE 03 ~ 06: 섹션 타이틀 · Q&A 카드덱 · 샘플 카드 · 요금표 웜톤 통일 */
.sr-official-showroom .section-eyebrow,
.sr-official-showroom .mini-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f5ede0;
  border: 1px solid #dfd0b8;
  color: #78552b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sr-official-showroom .cn-stage-title {
  color: #1c1917;
}

.sr-official-showroom .cn-sub-inline {
  color: #855f32;
}

.sr-official-showroom .cn-card {
  background: #fffefb;
  border: 1.5px solid #e4dac8;
  box-shadow: 0 14px 30px -14px rgba(58, 43, 24, 0.1);
}

.sr-official-showroom .cn-card.is-peek-card:hover:not(.is-dark) {
  border-color: #c29b61;
}

.sr-official-showroom .cn-card.featured {
  border: 2px solid #9a713d;
  box-shadow: 0 18px 36px -14px rgba(124, 88, 46, 0.2);
}

.sr-official-showroom .cn-idx {
  color: #78716c;
}

.sr-official-showroom .cn-tag {
  background: #f5ede0;
  color: #78552b;
}

.sr-official-showroom .cn-big-kicker {
  color: #7c582e;
}

.sr-official-showroom .cn-title {
  color: #1c1917;
}

.sr-official-showroom .cn-desc {
  color: #4b443c;
}

/* 다크 강조 카드: 차가운 네이비 대신 현무암 에스프레소 + 대나무 금빛 포인트 */
.sr-official-showroom .cn-card.is-dark {
  background: linear-gradient(150deg, #1f1a15 0%, #34281d 100%);
  border-color: #4a3928;
  color: #faf7f0;
}

.sr-official-showroom .cn-card.is-dark .cn-idx {
  color: #dfc396;
}

.sr-official-showroom .cn-card.is-dark .cn-tag {
  background: rgba(255, 246, 229, 0.14);
  color: #f6e4c4;
}

.sr-official-showroom .cn-card.is-dark .cn-big-kicker {
  color: #ebd0a3;
}

.sr-official-showroom .cn-card.is-dark .cn-title {
  color: #fffdf9;
}

.sr-official-showroom .cn-card.is-dark .cn-desc {
  color: #ded6c8;
}

.sr-official-showroom .sr-sample-tags span {
  background: #f5efe4;
  color: #4b433b;
  border: 1px solid #e6dccb;
}

.sr-official-showroom .sr-btn-outline {
  background: #231e19;
  border-color: #231e19;
  color: #fffdf9;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.sr-official-showroom .sr-btn-outline:hover {
  background: #78552b;
  border-color: #78552b;
}

.sr-official-showroom .sr-btn-ghost {
  background: #faf6ee;
  border-color: #d8cbb8;
  color: #3f3830;
}

.sr-official-showroom .sr-btn-ghost:hover {
  background: #f1e8d8;
  border-color: #b89564;
}

/* 카드덱 하단 컨트롤 바 */
.sr-official-showroom .cn-deck-bar {
  background: #fffefb;
  border-color: #e4dac8;
}

.sr-official-showroom .cn-step-btn {
  background: #faf6ee;
  border-color: #d8cbb8;
  color: #3f3830;
}

.sr-official-showroom .cn-step-btn.next {
  background: #231e19;
  border-color: #231e19;
  color: #fffdf9;
}

.sr-official-showroom .cn-step-btn.next:hover {
  background: #78552b;
  border-color: #78552b;
}

.sr-official-showroom .cn-count-txt {
  color: #231e19;
}

.sr-official-showroom .cn-dot {
  background: #d8cebe;
}

.sr-official-showroom .cn-dot.active {
  background: #7c582e;
}

/* 요금 카드 & 옵션 띠 */
.sr-official-showroom .sr-price-card {
  background: #fffefb;
  border: 1.5px solid #e4dac8;
}

.sr-official-showroom .sr-price-card.featured {
  border: 2px solid #9a713d;
  box-shadow: 0 18px 40px -14px rgba(124, 88, 46, 0.2);
}

.sr-official-showroom .sr-plan-tag {
  background: #e7f2ec;
  color: #24533d;
}

.sr-official-showroom .sr-plan-tag.gold {
  background: #f5e6cc;
  color: #78552b;
}

.sr-official-showroom .sr-plan-sub,
.sr-official-showroom .sr-price-num small {
  color: #6b6257;
}

.sr-official-showroom .sr-price-card h3,
.sr-official-showroom .sr-price-num {
  color: #1c1917;
}

.sr-official-showroom .sr-price-list li {
  color: #3f3830;
}

.sr-official-showroom .sr-price-list li .ico {
  color: #2d6a4f;
}

.sr-official-showroom .btn-primary-lg {
  background: linear-gradient(135deg, #231e19, #3b2f23);
  border-color: #231e19;
  color: #fffdf9;
  box-shadow: 0 12px 26px -8px rgba(44, 34, 24, 0.3);
}

.sr-official-showroom .btn-primary-lg:hover {
  background: linear-gradient(135deg, #78552b, #8f6635);
  border-color: #78552b;
}

.sr-official-showroom .btn-secondary-lg.on-light {
  background: #faf6ee;
  border: 1.5px solid #d8cbb8;
  color: #231e19;
}

.sr-official-showroom .btn-secondary-lg.on-light:hover {
  background: #f1e8d8;
  border-color: #b89564;
}

.sr-official-showroom .sr-option-pills > span {
  background: #fffefb;
  border-color: #e4dac8;
  color: #4b433b;
}

.sr-official-showroom .sr-option-pills strong {
  color: #1c1917;
}

/* 6) STAGE 07: 무료 시안 신청 카드 & 푸터 */
.sr-official-showroom .sr-apply-card {
  background: #fffefb;
  border: 1.5px solid #dcd0bc;
  box-shadow: 0 22px 48px -18px rgba(58, 43, 24, 0.12);
}

.sr-official-showroom .sr-apply-intro h2 {
  color: #1c1917;
}

.sr-official-showroom .sr-apply-intro p {
  color: #4b443c;
}

.sr-official-showroom .sr-apply-promises li {
  color: #231e19;
}

.sr-official-showroom .sr-apply-promises li .ico {
  color: #2d6a4f;
}

.sr-official-showroom .sr-apply-form-wrap {
  background: #faf6ee;
  border: 1px solid #e4dac8;
}

.sr-official-showroom .sr-apply-form-wrap .form-label {
  color: #29231d;
}

.sr-official-showroom .sr-apply-form-wrap .form-input,
.sr-official-showroom .sr-apply-form-wrap .form-textarea {
  background: #fffefb;
  border-color: #dcd0bc;
  color: #1c1917;
}

.sr-official-showroom .sr-apply-form-wrap .form-input:focus,
.sr-official-showroom .sr-apply-form-wrap .form-textarea:focus {
  border-color: #855f32;
  box-shadow: 0 0 0 3px rgba(133, 95, 50, 0.14);
  outline: none;
}

.sr-official-showroom .sr-quick-cat-chips > button {
  background: #fffefb;
  border-color: #dcd0bc;
  color: #4b433b;
}

.sr-official-showroom .sr-quick-cat-chips > button:hover {
  background: #f5ede0;
  border-color: #b89564;
  color: #78552b;
}

.sr-official-showroom .addr-search-btn {
  background: #f5ede0;
  border-color: #d4be98;
  color: #78552b;
}

.sr-official-showroom .addr-search-btn:hover {
  background: #ebd9bd;
}

.sr-official-showroom .sr-memo-quality-tip {
  background: #fbf5e8;
  border: 1px solid #e3cfa9;
  color: #29231d;
}

.sr-official-showroom .sr-memo-quality-tip strong {
  color: #78552b;
}

.sr-official-showroom .sr-consent-check {
  background: #f5efe2;
  border-color: #dcd0bc;
  color: #29231d;
}

.sr-official-showroom .sr-consent-check input[type="checkbox"] {
  accent-color: #78552b;
}

.sr-official-showroom .sr-consent-check.needs-check {
  background: #fef2f2;
  border-color: #ef4444;
}

.sr-official-showroom .sr-mini-footer,
.sr-official-showroom .sr-op-biz-line {
  color: #6b6257;
}

.sr-official-showroom .sr-mini-footer strong {
  color: #231e19;
}

/* 쇼룸 인라인 편집 하이라이트도 웜톤 통일 */
.sr-official-showroom.sr-edit-active [data-sr-edit] {
  outline-color: rgba(133, 95, 50, 0.5);
}

.sr-official-showroom.sr-edit-active [data-sr-edit]:hover,
.sr-official-showroom.sr-edit-active [data-sr-edit]:focus {
  outline: 2px solid #855f32;
  background-color: rgba(133, 95, 50, 0.08);
}

.sr-official-showroom.sr-edit-active .cn-card.is-dark [data-sr-edit]:hover,
.sr-official-showroom.sr-edit-active .cn-card.is-dark [data-sr-edit]:focus {
  outline-color: #ebd0a3;
  background-color: rgba(255, 248, 235, 0.12);
}

/* 반응형 */
@media (max-width: 920px) {
  .sr-hero-ambient-motion {
    right: 50%;
    top: 56%;
    transform: translate(50%, -50%);
    width: min(78vw, 330px);
    opacity: 0.16;
  }

  .sr-hero-minimal {
    text-align: center;
    margin: 0 auto;
  }

  .sr-official-showroom .sr-hero-short {
    margin-left: auto;
    margin-right: auto;
  }

  .sr-hero-inline-facts,
  .sr-official-showroom .sr-hero-btns {
    justify-content: center;
  }

  .sr-story-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 20px;
  }

  .sr-story-img-frame {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
  }

  .sr-story-seals {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   v10.4 PC 우측 세로 패널 & 모바일 하단 2단 전환 독 · 샘플 동작 안내 모달 · 9종 날씨/사계절/성탄 감성
   ========================================================================== */

@keyframes srSoftFadeEnter {
  0% {
    opacity: 0.35;
  }
  100% {
    opacity: 1;
  }
}

#public-site-root.sr-view-fade-enter {
  animation: srSoftFadeEnter 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sr-concierge-dock {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
}

body.kb-editing .sr-concierge-dock {
  display: none !important;
}

.sr-concierge-scrim {
  position: fixed;
  inset: 0;
  z-index: 2140;
  background: rgba(15, 12, 9, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sr-concierge-dock.is-open .sr-concierge-scrim {
  opacity: 1;
  pointer-events: auto;
}

/* 1-0) 3가지 샘플 뷰어 전환 탭 (쇼룸 비교 · 실제 화면 · 편집 체험) 공통 스타일 */
.sr-viewer-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
}

.sr-vt-btn {
  border: none;
  background: transparent;
  padding: 5px 9px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.sr-floating-viewer-pill {
  position: fixed;
  top: calc(var(--visible-top, 56px) + 8px);
  right: 10px;
  z-index: 2158;
  background: rgba(29, 24, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 178, 120, 0.48);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(15, 12, 8, 0.26);
}

.sr-floating-viewer-pill .sr-vt-btn {
  color: rgba(253, 251, 247, 0.78);
}

.sr-floating-viewer-pill .sr-vt-btn.is-active {
  background: #f5e6cc;
  color: #231e19;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

/* 편집 체험 뷰어 활성화 시 터치 가능 텍스트 시각 가이드 */
html[data-viewer-mode="edit"] body.sample-demo-mode [data-edit] {
  outline: 1.5px dashed rgba(180, 130, 68, 0.58);
  outline-offset: 2px;
  border-radius: 4px;
  cursor: text;
}

html[data-viewer-mode="edit"] body.sample-demo-mode [data-edit]:focus {
  outline: 2px solid #9a6e36;
  background: rgba(250, 236, 208, 0.32);
}

/* 1-A) PC 전용 (961px 이상): 본문 가림이 전혀 없는 우측 전용 사이드 도크 + 3-뷰어 연동 */
.sr-stage-rail {
  top: calc(var(--visible-top, 60px) + (100vh - var(--visible-top, 60px) - var(--bottom-bar-h, 0px)) / 2) !important;
  transform: translateY(-50%) !important;
  z-index: 1020 !important;
}

@media (min-width: 961px) {
  body.sample-demo-mode .floating-quick-menu {
    display: none !important;
  }

  /* PC에서 우측 사이드 카드가 열려 있을 때는 카드 내부에 3-뷰어 탭이 있으므로 상단 알약 중복 숨김 */
  .sr-concierge-dock:not(.is-pc-collapsed):not(.mode-real) .sr-floating-viewer-pill {
    display: none !important;
  }

  .sr-floating-viewer-pill {
    top: calc(var(--visible-top, 64px) + 12px);
    right: 16px;
  }

  /* PC '실제 화면' 뷰어에서는 우측 사이드 도크를 완전히 숨겨 100% 실제 납품 화면 비율 제공 */
  html[data-viewer-mode="real"] .sr-pc-side-concierge,
  .sr-concierge-dock.mode-real .sr-pc-side-concierge {
    display: none !important;
  }

  body.sample-demo-mode:not(.pc-concierge-collapsed) {
    padding-right: 228px !important;
  }

  body.sample-demo-mode:not(.pc-concierge-collapsed) .bottom-action-bar {
    right: 228px !important;
  }

  body.sample-demo-mode:not(.pc-concierge-collapsed) .sr-stage-rail {
    right: 242px !important;
  }

  body.sample-demo-mode:not(.pc-concierge-collapsed) .sr-ambient-whisper {
    right: 228px !important;
  }

  .sr-mobile-conv-wrap,
  .sr-edit-viewer-bar,
  .sr-concierge-popover,
  .sr-concierge-scrim {
    display: none !important;
  }

  .sr-pc-side-concierge {
    position: fixed;
    top: var(--proto-h, 0px);
    right: 0;
    bottom: 0;
    width: 228px;
    z-index: 2150;
    background: linear-gradient(180deg, #f7f2e7 0%, #efe7d8 100%);
    border-left: 1px solid #dccbb2;
    box-shadow: -10px 0 28px -14px rgba(24, 18, 12, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
  }

  .sr-concierge-dock.is-pc-collapsed .sr-pc-side-concierge {
    top: 50%;
    bottom: auto;
    width: auto;
    transform: translateY(-50%);
    background: transparent;
    border-left: none;
    box-shadow: none;
    padding: 0;
  }

  .sr-pc-rail-card {
    width: 100%;
    max-height: calc(100vh - var(--proto-h, 0px) - 24px);
    overflow-y: auto;
    background: rgba(255, 254, 250, 0.96);
    border: 1px solid #d9c8ae;
    border-radius: 20px;
    padding: 14px 12px;
    box-shadow: 0 14px 32px -14px rgba(24, 18, 12, 0.18);
    color: #1c1917;
  }

  .sr-pc-viewer-switch-box {
    margin-bottom: 10px;
  }

  .sr-pc-viewer-switch-box .sr-viewer-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    background: #efe6d6;
    border: 1px solid #dfd1bc;
    border-radius: 11px;
    padding: 3px;
  }

  .sr-pc-viewer-switch-box .sr-vt-btn {
    padding: 6px 2px;
    font-size: 10.5px;
    color: #5c5247;
    border-radius: 8px;
  }

  .sr-pc-viewer-switch-box .sr-vt-btn.is-active {
    background: #231e19;
    color: #fffdf9;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(35, 30, 25, 0.22);
  }

  .sr-pc-edit-guide {
    background: #faf2e1;
    border: 1px solid #dcc196;
    border-radius: 12px;
    padding: 9px 10px;
    margin-bottom: 10px;
  }

  .sr-pc-edit-guide strong {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: #6e4c24;
    margin-bottom: 3px;
  }

  .sr-pc-edit-guide p {
    font-size: 10.5px;
    line-height: 1.45;
    color: #4b433a;
    margin: 0 0 7px;
    word-break: keep-all;
  }

  .sr-pc-undo-btn {
    width: 100%;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #cfb489;
    background: #fffdf9;
    color: #5c4324;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
  }

  .sr-pc-expand-tab {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    border-radius: 999px 0 0 999px;
    background: #231e19;
    border: 1px solid rgba(214, 178, 120, 0.55);
    border-right: none;
    color: #fdfbf7;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: -6px 10px 24px rgba(15, 12, 8, 0.3);
  }

  .sr-pc-expand-tab img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
  }

  .sr-concierge-dock.is-pc-collapsed .sr-pc-rail-card {
    display: none;
  }

  .sr-concierge-dock.is-pc-collapsed .sr-pc-expand-tab {
    display: inline-flex;
  }

  .sr-pc-rail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ebe1d1;
  }

  .sr-pc-brand-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }

  .sr-pc-brand-row img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .sr-pc-brand-row strong {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    color: #1c1917;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .sr-pc-brand-row span {
    display: block;
    font-size: 10.5px;
    color: #6b6257;
    margin-top: 1px;
    word-break: keep-all;
    white-space: nowrap;
  }

  .sr-pc-collapse-btn {
    border: none;
    background: #f3ece0;
    color: #574f45;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 7px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
  }

  .sr-pc-mode-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 11px;
  }

  .sr-pc-mode-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid #e6dccb;
    background: #fffefb;
    color: #1c1917;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
  }

  .sr-pc-mode-item:hover {
    border-color: #bfa070;
    background: #faf4e8;
    transform: translateX(-2px);
  }

  .sr-pc-mode-item.is-active {
    background: #f5ead8;
    border: 1.5px solid #8c6332;
    box-shadow: 0 6px 14px -8px rgba(124, 88, 46, 0.35);
  }

  .sr-pc-mode-txt {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .sr-pc-mode-txt strong {
    font-size: 12.5px;
    font-weight: 800;
    color: #1c1917;
  }

  .sr-pc-mode-item.is-active .sr-pc-mode-txt strong {
    color: #6e4c24;
  }

  .sr-pc-mode-txt small {
    font-size: 10.5px;
    color: #6b6257;
  }

  .sr-pc-arrow {
    font-size: 14px;
    color: #b5a690;
    font-weight: 700;
  }

  .sr-pc-rail-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid #ebe1d1;
  }

  .sr-pc-cta-primary {
    width: 100%;
    padding: 10px 12px;
    border-radius: 11px;
    border: none;
    background: linear-gradient(135deg, #231e19, #3b2f23);
    color: #fffdf9;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 18px -6px rgba(35, 30, 25, 0.38);
  }

  .sr-pc-cta-primary:hover {
    background: linear-gradient(135deg, #78552b, #8f6635);
  }

  .sr-pc-sub-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .sr-pc-cta-kakao {
    padding: 8px 6px;
    border-radius: 9px;
    border: 1px solid #e5cf6b;
    background: #fee500;
    color: #191919;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
  }

  .sr-pc-cta-back {
    padding: 8px 6px;
    border-radius: 9px;
    border: 1px solid #d8cbb8;
    background: #f5efe4;
    color: #3f3830;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
  }
}

/* 1-B) 모바일·태블릿 전용 (960px 이하): 3-뷰어 단일 58px 하단 슬롯 교체로 상단 실제 화면 비율 100% 일치 */
@media (max-width: 960px) {
  .sr-pc-side-concierge {
    display: none !important;
  }

  body.sample-demo-mode .site-footer,
  body.sample-demo-mode .cs-client-footer {
    padding-bottom: 92px !important;
  }

  body.sample-demo-mode .floating-quick-menu {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* 뷰어 ① 쇼룸 비교 모드: 이중 하단바 없이 단일 58px 차롱 전환바만 하단에 배치 → 상단 비율 100% 동일 */
  html[data-viewer-mode="showroom"] body.sample-demo-mode .bottom-action-bar,
  html[data-viewer-mode="showroom"] .sr-edit-viewer-bar {
    display: none !important;
  }

  /* 뷰어 ② 실제 화면 모드: 차롱 하단바·팝업을 완전히 숨기고 매장 실제 하단바만 노출 */
  html[data-viewer-mode="real"] .sr-mobile-conv-wrap,
  html[data-viewer-mode="real"] .sr-edit-viewer-bar,
  html[data-viewer-mode="real"] .sr-concierge-popover,
  html[data-viewer-mode="real"] .sr-concierge-scrim {
    display: none !important;
  }

  /* 뷰어 ③ 편집 체험 모드: 단일 58px 편집 도구 바만 하단에 배치 */
  html[data-viewer-mode="edit"] body.sample-demo-mode .bottom-action-bar,
  html[data-viewer-mode="edit"] .sr-mobile-conv-wrap,
  html[data-viewer-mode="edit"] .sr-concierge-popover,
  html[data-viewer-mode="edit"] .sr-concierge-scrim {
    display: none !important;
  }

  body.sample-demo-mode .bottom-action-bar {
    min-height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .sr-mobile-conv-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2150;
    background: #1d1814;
    border-top: 1px solid rgba(214, 178, 120, 0.35);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.32);
  }

  .sr-mobile-conv-bar {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1.25fr 0.95fr;
    gap: 5px;
    min-height: calc(58px + env(safe-area-inset-bottom, 0px));
    align-items: center;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    max-width: 680px;
    margin: 0 auto;
  }

  .sr-mcb-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    height: 44px;
    padding: 4px 4px;
    border-radius: 11px;
    border: 1px solid rgba(255, 248, 235, 0.14);
    background: rgba(255, 248, 235, 0.07);
    color: #fdfbf7;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
  }

  .sr-mcb-sub {
    font-size: 9.5px;
    font-weight: 600;
    opacity: 0.78;
    line-height: 1.1;
  }

  .sr-mcb-btn strong {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .sr-mcb-btn.apply {
    background: linear-gradient(135deg, #9a6e36, #785326);
    border-color: #cfa564;
    color: #fffdf9;
    box-shadow: 0 4px 12px rgba(154, 110, 54, 0.38);
  }

  .sr-mcb-btn.apply .sr-mcb-sub {
    color: #fae8c8;
    opacity: 0.95;
  }

  .sr-mcb-btn.kakao {
    background: #fee500;
    border-color: #ebd300;
    color: #191919;
  }

  .sr-mcb-btn.kakao .sr-mcb-sub {
    color: #4b4200;
    opacity: 0.9;
  }

  .sr-edit-viewer-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2150;
    min-height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #231d18;
    border-top: 1px solid rgba(214, 178, 120, 0.42);
    box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .sr-evb-hint {
    font-size: 11px;
    font-weight: 700;
    color: #f3dfc1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sr-evb-btns {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
  }

  .sr-evb-undo,
  .sr-evb-real,
  .sr-evb-apply {
    height: 38px;
    padding: 0 9px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
  }

  .sr-evb-undo {
    border: 1px solid rgba(255, 248, 235, 0.22);
    background: rgba(255, 248, 235, 0.09);
    color: #fdfbf7;
  }

  .sr-evb-real {
    border: 1px solid rgba(214, 178, 120, 0.45);
    background: #352b22;
    color: #f6e7ce;
  }

  .sr-evb-apply {
    border: 1px solid #cfa564;
    background: linear-gradient(135deg, #9a6e36, #785326);
    color: #fffdf9;
  }

  .sr-concierge-popover {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    z-index: 2155;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(253, 251, 246, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid #d6c5ab;
    border-radius: 22px;
    padding: 15px;
    box-shadow: 0 24px 52px -12px rgba(15, 12, 8, 0.42);
    color: #1c1917;
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .sr-concierge-dock.is-open .sr-concierge-popover {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

/* 공통 미니 팝업 내부 & 샘플 안내 모달 */
.sr-cc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}

.sr-cc-head-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sr-cc-head-txt strong {
  font-size: 14px;
  font-weight: 800;
  color: #1c1917;
}

.sr-cc-head-txt span {
  font-size: 11.5px;
  color: #6b6257;
}

.sr-cc-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e2d6c3;
  background: #f6efe2;
  color: #4b433b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sr-cc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.sr-cc-mode-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 13px;
  border: 1px solid #e5dbc9;
  background: #fffefb;
  color: #1c1917;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.sr-cc-mode-btn.is-active {
  background: #f6ede0;
  border: 1.5px solid #8f6737;
}

.sr-cc-mode-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.sr-cc-mode-top strong {
  font-size: 12.5px;
  font-weight: 800;
  color: #1c1917;
}

.sr-cc-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7c582e;
  color: #fffdf9;
  font-size: 10px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sr-cc-mode-sub {
  font-size: 11px;
  color: #6b6257;
}

/* 샘플 전화·예약·문의 클릭 안내 모달 */
.sample-guide-modal {
  padding: 8px 4px 4px;
  text-align: center;
  color: #1c1917;
}

.sample-guide-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f5ede0;
  border: 1px solid #dfd0b8;
  color: #78552b;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.sample-guide-modal h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.35;
  margin: 0 0 10px;
  word-break: keep-all;
}

.sample-guide-modal p {
  font-size: 14px;
  color: #4b443c;
  line-height: 1.6;
  margin: 0 0 18px;
  word-break: keep-all;
}

.sample-guide-actions .btn-primary-lg {
  background: linear-gradient(135deg, #231e19, #3b2f23);
  border-color: #231e19;
  color: #fffdf9;
}

.sample-guide-sub-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}

.sample-guide-kakao-btn {
  padding: 11px 10px;
  border-radius: 11px;
  border: 1px solid #ebd300;
  background: #fee500;
  color: #191919;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.sample-guide-keep-btn {
  padding: 11px 10px;
  border-radius: 11px;
  border: 1px solid #d8cbb8;
  background: #f6efe2;
  color: #3f3830;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.sample-guide-close-link {
  margin-top: 12px;
  border: none;
  background: transparent;
  color: #6b6257;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

/* ==========================================================================
   2) 선명하면서도 본문 가독성을 지키는 12종 날씨 · 사계절 · 성탄 · 밤하늘(달·별) 감성 연출
   ========================================================================== */
.sr-ambient-whisper {
  position: fixed;
  top: var(--visible-top, 58px);
  left: 0;
  right: 0;
  bottom: var(--bottom-bar-h, 0px);
  z-index: 2050;
  pointer-events: none;
  overflow: hidden;
}

.amb-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: ambWhisperEnvelope 9.2s ease-in-out forwards;
}

.amb-scene.is-long-snow {
  animation-duration: 11.2s;
}

/* 산타와 같은 단일 캐릭터 이동은 선명도 100% 유지, 배경 요소만 10% 완화 */
.amb-scene.amb-christmas {
  animation-name: ambWhisperEnvelopeFull;
}

.amb-christmas .amb-xmas-glow,
.amb-christmas .amb-snow-crystal {
  opacity: 0.88;
}

@keyframes ambWhisperEnvelope {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 0.89;
  }
  74% {
    opacity: 0.89;
  }
  100% {
    opacity: 0;
  }
}

@keyframes ambWhisperEnvelopeFull {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  74% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ① 맑은 날: 박스 경계선 없이 화면 전체에서 자연스럽게 스며드는 창가 햇살 빛무리 & 보케 */
.amb-sunbeam-ray {
  position: absolute;
  pointer-events: none;
}

.amb-sunbeam-ray.ray-1 {
  inset: -12%;
  background: radial-gradient(
    ellipse 46% 54% at 88% 10%,
    rgba(246, 192, 72, 0.42) 0%,
    rgba(246, 204, 106, 0.22) 34%,
    rgba(246, 212, 132, 0.08) 62%,
    rgba(246, 212, 132, 0) 92%
  );
  animation: ambSunDrift 9.2s ease-in-out forwards;
}

.amb-sunbeam-ray.ray-2 {
  top: -18%;
  right: 2%;
  width: clamp(260px, 34vw, 520px);
  height: clamp(420px, 68vh, 720px);
  border-radius: 50%;
  transform: rotate(-28deg);
  filter: blur(22px);
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 226, 138, 0.36) 0%,
    rgba(246, 196, 88, 0.16) 42%,
    rgba(246, 196, 88, 0.04) 70%,
    rgba(246, 196, 88, 0) 95%
  );
  animation: ambSunShaftDrift 9.2s ease-in-out forwards;
}

@keyframes ambSunShaftDrift {
  0% { transform: translate(10px, -10px) rotate(-28deg) scale(0.95); }
  100% { transform: translate(-16px, 12px) rotate(-28deg) scale(1.04); }
}

.amb-sun-bokeh {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 190, 78, 0.5);
  background: radial-gradient(circle, rgba(255, 244, 198, 0.58) 0%, rgba(245, 196, 92, 0.22) 60%, transparent 80%);
  animation: ambBokehFloat 9.2s ease-in-out forwards;
}

.amb-sun-bokeh.bokeh-1 {
  width: 112px;
  height: 112px;
  top: 10%;
  right: 9%;
}

.amb-sun-bokeh.bokeh-2 {
  width: 68px;
  height: 68px;
  top: 23%;
  right: 18%;
}

.amb-sun-bokeh.bokeh-3 {
  width: 44px;
  height: 44px;
  top: 16%;
  right: 25%;
}

@keyframes ambSunDrift {
  0% { transform: translate(12px, -10px) scale(0.95); }
  100% { transform: translate(-14px, 12px) scale(1.05); }
}

@keyframes ambBokehFloat {
  0% { transform: translateY(8px) scale(0.9); }
  100% { transform: translateY(-14px) scale(1.08); }
}

/* ② 노을 시간: 박스 경계선 없이 화면 전체로 부드럽게 번지는 주홍·살구 노을 물듦 */
.amb-sunset-wash {
  position: absolute;
  inset: -10%;
  background: radial-gradient(
    ellipse 52% 62% at 90% 18%,
    rgba(234, 102, 52, 0.38) 0%,
    rgba(245, 162, 78, 0.2) 38%,
    rgba(245, 178, 106, 0.06) 66%,
    rgba(245, 178, 106, 0) 92%
  );
  animation: ambSunsetBreath 9.2s ease-in-out forwards;
}

.amb-sunset-sun {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 214, 148, 0.7) 0%,
    rgba(238, 118, 64, 0.3) 50%,
    rgba(238, 118, 64, 0) 94%
  );
  filter: blur(6px);
}

.amb-sunset-orb {
  position: absolute;
  inset: -10%;
  background: radial-gradient(
    ellipse 44% 42% at 10% 88%,
    rgba(236, 134, 82, 0.24) 0%,
    rgba(236, 152, 104, 0.09) 48%,
    rgba(236, 152, 104, 0) 88%
  );
}

@keyframes ambSunsetBreath {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.04); }
  100% { transform: scale(0.98); }
}

/* ③ 구름 있는 날: 밝은 배경에서도 또렷하게 보이는 입체 하늘빛 구름 3점 */
.amb-cloud {
  position: absolute;
  opacity: 0.92;
  filter: drop-shadow(0 12px 22px rgba(72, 102, 132, 0.22));
}

.amb-cloud-right {
  top: 8%;
  right: 3%;
  width: clamp(170px, 22vw, 270px);
  height: auto;
  animation: ambCloudFloatLeft 9.2s ease-in-out forwards;
}

.amb-cloud-right-sub {
  top: 16%;
  right: 12%;
  width: clamp(120px, 16vw, 195px);
  height: auto;
  opacity: 0.82;
  animation: ambCloudFloatLeftSub 9.2s ease-in-out forwards;
}

.amb-cloud-left {
  top: 20%;
  left: 2.5%;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  opacity: 0.86;
  animation: ambCloudFloatRight 9.2s ease-in-out forwards;
}

@keyframes ambCloudFloatLeft {
  0% { transform: translateX(28px); }
  100% { transform: translateX(-34px); }
}

@keyframes ambCloudFloatLeftSub {
  0% { transform: translateX(18px); }
  100% { transform: translateX(-42px); }
}

@keyframes ambCloudFloatRight {
  0% { transform: translateX(-26px); }
  100% { transform: translateX(34px); }
}

/* ④ 기분 좋은 비: 선명한 은청색 여우비 빗줄기 + 바닥 물방울 파문 */
.amb-rain-mist {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28vh;
  background: linear-gradient(180deg, rgba(132, 168, 198, 0.2) 0%, transparent 100%);
}

.amb-raindrop {
  position: absolute;
  top: -50px;
  width: 2px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(66, 122, 172, 0) 0%, rgba(66, 122, 172, 0.68) 100%);
  transform: rotate(12deg);
  animation-name: ambRainFall;
  animation-timing-function: linear;
  animation-iteration-count: 5;
}

@keyframes ambRainFall {
  0% {
    transform: translate3d(0, -40px, 0) rotate(12deg);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  88% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-64px, 88vh, 0) rotate(12deg);
    opacity: 0;
  }
}

.amb-rain-ripple {
  position: absolute;
  bottom: 92px;
  width: 36px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 130, 178, 0.55);
  animation: ambRipplePop 2.4s ease-out infinite;
}

.amb-rain-ripple.r1 { left: 9%; animation-delay: 0.5s; }
.amb-rain-ripple.r2 { right: 11%; animation-delay: 1.1s; }
.amb-rain-ripple.r3 { right: 20%; bottom: 114px; animation-delay: 1.8s; }

@keyframes ambRipplePop {
  0% { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ⑤ 포근한 눈: 눈송이가 먼저 바닥까지 내린 뒤(0~3.4초) 그 다음부터 눈언덕이 차오름 */
.amb-winter-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 26vh;
  background: linear-gradient(180deg, rgba(164, 198, 228, 0.28) 0%, transparent 100%);
}

.amb-snow-crystal {
  position: absolute;
  top: -28px;
  color: #4f84b4;
  filter: drop-shadow(0 2px 5px rgba(52, 92, 132, 0.38));
  animation-name: ambSnowCrystalFall;
  animation-timing-function: linear;
  animation-iteration-count: 2;
  animation-fill-mode: both;
}

[data-layout="impact-dark"] ~ #sr-ambient-whisper .amb-snow-crystal,
body.sample-demo-mode [data-layout="impact-dark"] .amb-snow-crystal {
  color: #dbeafe;
}

.amb-snow-crystal svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes ambSnowCrystalFall {
  0% {
    transform: translate3d(0, -24px, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.96;
  }
  55% {
    transform: translate3d(16px, 46vh, 0) rotate(110deg);
    opacity: 0.95;
  }
  92% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-10px, 84vh, 0) rotate(220deg);
    opacity: 0;
  }
}

.amb-snow-bank {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  transform-origin: bottom center;
  filter: drop-shadow(0 -3px 8px rgba(79, 132, 180, 0.3));
  animation: ambSnowPileUpAfterFall 11.2s ease-out forwards;
}

@keyframes ambSnowPileUpAfterFall {
  0%, 31% {
    transform: scaleY(0);
    opacity: 0;
  }
  48% {
    transform: scaleY(0.42);
    opacity: 0.88;
  }
  68% {
    transform: scaleY(0.82);
    opacity: 0.96;
  }
  82%, 90% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0.6);
    opacity: 0;
  }
}

/* ⑥ 봄: 흩날리는 분홍 벚꽃잎 */
.amb-spring-blush {
  position: absolute;
  inset: -8%;
  background: radial-gradient(
    ellipse 44% 42% at 88% 10%,
    rgba(255, 182, 198, 0.26) 0%,
    rgba(255, 198, 210, 0.1) 48%,
    rgba(255, 198, 210, 0) 88%
  );
}

.amb-petal {
  position: absolute;
  top: -28px;
  filter: drop-shadow(0 3px 6px rgba(224, 108, 138, 0.28));
  animation-name: ambPetalFlutter;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.amb-petal svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes ambPetalFlutter {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0deg) scale(0.9);
    opacity: 0;
  }
  16% {
    opacity: 0.95;
  }
  50% {
    transform: translate3d(-34px, 45vh, 0) rotate(140deg) scale(1);
  }
  100% {
    transform: translate3d(-72px, 88vh, 0) rotate(290deg) scale(0.88);
    opacity: 0;
  }
}

/* ⑦ 여름: 살랑이는 초록 나뭇잎 그늘 + 바다 윤슬 빛망울 */
.amb-summer-breeze {
  position: absolute;
  inset: -8%;
  background: radial-gradient(
    ellipse 48% 36% at 86% 8%,
    rgba(82, 183, 136, 0.2) 0%,
    rgba(56, 189, 248, 0.08) 45%,
    rgba(56, 189, 248, 0) 88%
  );
}

.amb-summer-bough {
  position: absolute;
  top: 0;
  pointer-events: none;
}

.amb-summer-bough.right {
  right: 0;
  width: clamp(160px, 22vw, 250px);
  transform-origin: top right;
  animation: ambBoughSwayRight 4.6s ease-in-out infinite alternate;
}

.amb-summer-bough.left {
  left: 0;
  width: clamp(130px, 17vw, 195px);
  transform-origin: top left;
  animation: ambBoughSwayLeft 5.2s ease-in-out infinite alternate;
}

@keyframes ambBoughSwayRight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-5deg) translateY(4px); }
}

@keyframes ambBoughSwayLeft {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(4.5deg) translateY(3px); }
}

.amb-summer-yunseul {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(45, 212, 191, 0.55);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(94, 234, 212, 0.42) 58%, transparent 80%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
  animation: ambYunseulShimmer 3.2s ease-in-out infinite alternate;
}

@keyframes ambYunseulShimmer {
  0% { transform: translateY(6px) scale(0.8); opacity: 0.45; }
  100% { transform: translateY(-16px) scale(1.18); opacity: 0.95; }
}

/* ⑧ 가을: 붉은 단풍잎 & 노란 은행잎 날림 */
.amb-autumn-glow {
  position: absolute;
  inset: -8%;
  background: radial-gradient(
    ellipse 45% 40% at 88% 10%,
    rgba(234, 138, 56, 0.22) 0%,
    rgba(234, 158, 86, 0.08) 48%,
    rgba(234, 158, 86, 0) 88%
  );
}

.amb-autumn-leaf {
  position: absolute;
  top: -32px;
  filter: drop-shadow(0 4px 7px rgba(146, 64, 14, 0.28));
  animation-name: ambAutumnFall;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.amb-autumn-leaf svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes ambAutumnFall {
  0% {
    transform: translate3d(0, -24px, 0) rotate(-15deg);
    opacity: 0;
  }
  16% {
    opacity: 0.95;
  }
  52% {
    transform: translate3d(-40px, 46vh, 0) rotate(95deg);
  }
  100% {
    transform: translate3d(-18px, 88vh, 0) rotate(210deg);
    opacity: 0;
  }
}

/* ⑨ 크리스마스: 헤더 아래 열린 하늘을 선명하게 가로지르는 루돌프·산타 썰매 & 별빛 */
.amb-xmas-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34vh;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.26) 0%, rgba(217, 119, 6, 0.1) 55%, transparent 100%);
}

.amb-santa-flight {
  position: absolute;
  top: 26px;
  right: -260px;
  filter:
    drop-shadow(0 0 10px rgba(255, 244, 204, 0.92))
    drop-shadow(0 6px 14px rgba(15, 23, 42, 0.35));
  animation: ambSantaAcrossSky 8.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes ambSantaAcrossSky {
  0% {
    transform: translate3d(0, 22px, 0) rotate(3deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  50% {
    transform: translate3d(-52vw, -12px, 0) rotate(-3deg);
    opacity: 1;
  }
  90% {
    opacity: 0.96;
  }
  100% {
    transform: translate3d(calc(-100vw - 320px), 10px, 0) rotate(-5deg);
    opacity: 0;
  }
}

/* ⑩~⑫ 밤하늘: 초승달 · 보름달 · 별빛 반짝임 & 별똥별 */
.amb-night-canopy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44vh;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 41, 59, 0.46) 52%, rgba(30, 41, 59, 0) 100%);
}

.amb-moon-wrap {
  position: absolute;
  top: 22px;
  right: clamp(28px, 7vw, 96px);
  filter: drop-shadow(0 0 18px rgba(253, 224, 71, 0.65));
  animation: ambMoonRise 9.2s ease-out forwards;
}

.amb-moon-wrap.is-full {
  filter: drop-shadow(0 0 24px rgba(254, 240, 138, 0.78));
}

.amb-fullmoon-halo {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 249, 195, 0.35) 0%, rgba(250, 204, 21, 0.12) 55%, transparent 75%);
}

@keyframes ambMoonRise {
  0% { transform: translateY(14px) scale(0.94); }
  100% { transform: translateY(-6px) scale(1.02); }
}

.amb-twinkle-star {
  position: absolute;
  filter: drop-shadow(0 0 6px rgba(254, 240, 138, 0.9));
  animation: ambStarTwinkle 1.8s ease-in-out infinite alternate;
}

@keyframes ambStarTwinkle {
  0% { transform: scale(0.55) rotate(-8deg); opacity: 0.35; }
  100% { transform: scale(1.18) rotate(8deg); opacity: 1; }
}

.amb-shooting-star {
  position: absolute;
  top: 34px;
  right: 12%;
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 240, 138, 0.55) 40%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(-24deg);
  filter: drop-shadow(0 0 6px #fef08a);
  opacity: 0;
  animation: ambShootingStreak 3.4s ease-out 1.4s forwards;
}

@keyframes ambShootingStreak {
  0% {
    transform: translate3d(60px, -25px, 0) rotate(-24deg) scaleX(0.4);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate3d(-340px, 145px, 0) rotate(-24deg) scaleX(1.15);
    opacity: 0;
  }
}

/* 모바일 스마트폰(768px 이하): 날씨·계절·성탄·밤하늘 12종 요소 크기를 PC 화면 점유 비율 수준으로 축소 */
@media (max-width: 768px) {
  .amb-sunbeam-ray.ray-1 {
    background: radial-gradient(
      ellipse 44% 34% at 90% 8%,
      rgba(246, 192, 72, 0.38) 0%,
      rgba(246, 204, 106, 0.18) 36%,
      rgba(246, 212, 132, 0.05) 66%,
      rgba(246, 212, 132, 0) 92%
    );
  }

  .amb-sunbeam-ray.ray-2 {
    width: 140px;
    height: 230px;
    filter: blur(16px);
  }

  .amb-sun-bokeh.bokeh-1 {
    width: 48px;
    height: 48px;
    top: 9%;
    right: 7%;
  }

  .amb-sun-bokeh.bokeh-2 {
    width: 30px;
    height: 30px;
    top: 19%;
    right: 16%;
  }

  .amb-sun-bokeh.bokeh-3 {
    width: 20px;
    height: 20px;
    top: 14%;
    right: 24%;
  }

  .amb-sunset-wash {
    background: radial-gradient(
      ellipse 48% 36% at 90% 14%,
      rgba(234, 102, 52, 0.34) 0%,
      rgba(245, 162, 78, 0.16) 40%,
      rgba(245, 178, 106, 0) 88%
    );
  }

  .amb-sunset-sun {
    width: 44px;
    height: 44px;
    top: 8%;
    right: 7%;
  }

  .amb-sunset-orb {
    background: radial-gradient(
      ellipse 40% 26% at 10% 90%,
      rgba(236, 134, 82, 0.2) 0%,
      rgba(236, 152, 104, 0) 85%
    );
  }

  .amb-cloud-right {
    width: 92px;
    top: 6%;
    right: 2.5%;
  }

  .amb-cloud-right-sub {
    width: 66px;
    top: 11%;
    right: 12%;
  }

  .amb-cloud-left {
    width: 76px;
    top: 13%;
    left: 2%;
  }

  .amb-rain-mist,
  .amb-winter-glow {
    height: 16vh;
  }

  .amb-raindrop {
    width: 1.25px;
    height: 26px;
  }

  .amb-rain-ripple {
    width: 19px;
    height: 6.5px;
    bottom: 22px;
  }

  .amb-rain-ripple.r3 {
    bottom: 34px;
  }

  .amb-snow-crystal svg,
  .amb-petal svg,
  .amb-autumn-leaf svg {
    transform: scale(0.54);
    transform-origin: center;
  }

  .amb-snow-bank {
    height: 18px;
  }

  .amb-spring-blush {
    background: radial-gradient(
      ellipse 44% 28% at 88% 8%,
      rgba(255, 182, 198, 0.24) 0%,
      rgba(255, 198, 210, 0) 85%
    );
  }

  .amb-autumn-glow {
    background: radial-gradient(
      ellipse 44% 28% at 88% 8%,
      rgba(234, 138, 56, 0.2) 0%,
      rgba(234, 158, 86, 0) 85%
    );
  }

  .amb-summer-breeze {
    background: radial-gradient(
      ellipse 46% 26% at 86% 6%,
      rgba(82, 183, 136, 0.18) 0%,
      rgba(56, 189, 248, 0) 85%
    );
  }

  .amb-summer-bough.right {
    width: 88px;
  }

  .amb-summer-bough.left {
    width: 68px;
  }

  .amb-summer-yunseul {
    scale: 0.54;
    max-width: 13px;
    max-height: 13px;
  }

  .amb-xmas-glow {
    height: 22vh;
  }

  .amb-santa-flight {
    top: 40px;
    right: -135px;
    animation-name: ambSantaAcrossSkyMobile;
  }

  .amb-santa-flight svg {
    width: 118px;
    height: 36px;
  }

  .amb-night-canopy {
    height: 26vh;
  }

  .amb-moon-wrap {
    top: 42px;
    right: 14px;
  }

  .amb-moon-wrap svg {
    width: 38px;
    height: 38px;
  }

  .amb-fullmoon-halo {
    inset: -9px;
  }

  .amb-twinkle-star {
    scale: 0.56;
    max-width: 8px;
    max-height: 8px;
  }

  .amb-shooting-star {
    top: 44px;
    width: 66px;
    height: 1.5px;
  }
}

@keyframes ambSantaAcrossSkyMobile {
  0% {
    transform: translate3d(0, 14px, 0) rotate(2.5deg);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  50% {
    transform: translate3d(-52vw, -8px, 0) rotate(-2.5deg);
    opacity: 1;
  }
  90% {
    opacity: 0.96;
  }
  100% {
    transform: translate3d(calc(-100vw - 150px), 6px, 0) rotate(-4deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-ambient-whisper {
    display: none !important;
  }
}

/* ==========================================================================
   v10.8 모바일(100dvh) · PC 정밀 풀스크린 자석 스냅 & 3-뷰어 화면 비율 1:1 정합
   ========================================================================== */
html.is-programmatic-snapping {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

body.official-showroom-active {
  padding-bottom: 0 !important;
}

.sr-snap-stage {
  min-height: calc(100vh - var(--snap-top, 58px));
  min-height: calc(100dvh - var(--snap-top, 58px));
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* 매장·샘플 풀스크린 스테이지는 하단 바(58px 단일 슬롯) 높이를 정확히 차감하여 쇼룸/실제/편집 3뷰어 비율 100% 일치 */
.client-cs-root .sr-snap-stage {
  min-height: calc(100vh - var(--snap-top, 58px) - var(--viewer-bottom-h, 0px));
  min-height: calc(100dvh - var(--snap-top, 58px) - var(--viewer-bottom-h, 0px));
}

@media (min-height: 560px) {
  body.pitch-snap-active:not(.kb-editing):not(.inline-edit-active) #public-site-root > .hero-pitch-deck,
  body.pitch-snap-active:not(.kb-editing):not(.inline-edit-active) #public-site-root > .section-container {
    min-height: calc(100vh - var(--snap-top, 60px) - var(--viewer-bottom-h, 0px));
    min-height: calc(100dvh - var(--snap-top, 60px) - var(--viewer-bottom-h, 0px));
  }
}

/* 노트북 화면(세로 820px 이하)에서 각 스테이지가 1화면을 넘쳐 어정쩡하게 걸치지 않도록 높이 최적화 */
@media (min-width: 681px) and (max-height: 820px) {
  .sr-snap-stage {
    padding: 18px 20px;
  }

  .sr-story-card {
    padding: 24px 30px;
    gap: 28px;
  }

  .sr-story-img-frame {
    aspect-ratio: 4 / 2.9;
  }

  .sr-story-paragraphs p {
    font-size: 14.2px;
    line-height: 1.58;
  }

  .cn-card {
    min-height: 236px;
    padding: 20px 20px;
  }

  .sr-pricing-grid.compact .sr-price-card {
    padding: 17px 20px;
    gap: 7px;
  }

  .sr-apply-card.compact {
    padding: 18px 22px;
    gap: 18px;
  }
}

/* 스마트폰(680px 이하)에서도 각 스테이지가 한 화면에 딱 맞아떨어지도록 컴팩트 정렬 */
@media (max-width: 680px) {
  .sr-snap-stage {
    padding: 18px 14px;
  }

  .sr-story-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .sr-story-img-frame {
    aspect-ratio: 16 / 8.2;
    max-height: 156px;
  }

  .sr-story-title {
    font-size: 21px;
  }

  .sr-story-paragraphs {
    gap: 8px;
  }

  .sr-story-paragraphs p {
    font-size: 13.5px;
    line-height: 1.52;
  }

  .sr-story-paragraphs p.sr-story-highlight {
    padding: 9px 12px;
  }

  .sr-story-seals {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .sr-seal-item {
    padding: 8px 7px;
    text-align: center;
  }

  .sr-seal-item strong {
    font-size: 11.5px;
  }

  .sr-seal-item span {
    font-size: 10.5px;
  }

  .sr-pricing-grid.compact {
    gap: 10px;
    margin-bottom: 10px;
  }

  .sr-pricing-grid.compact .sr-price-card {
    padding: 15px 16px;
    gap: 6px;
  }

  .sr-price-num {
    font-size: 24px;
  }

  .sr-price-list li {
    font-size: 13px;
  }

  .sr-option-pills {
    gap: 5px;
  }

  .sr-option-pills > span {
    padding: 5px 10px;
    font-size: 11.5px;
  }
}

/* ==========================================================================
   v11.0 학원·교습소(L4 매거진 웜톤) & 뷰티·클리닉(L2 클리닉 미니멀) 모바일 전면 최적화
   ========================================================================== */

/* 사진 액자 내부 우측 슬라이드 컨트롤 오버레이 (텍스트 아래 분리 노출 해소) */
.media-carousel-overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
}

.clinic-media-frame .media-carousel-overlay {
  bottom: auto;
  top: 12px;
}

.media-carousel-overlay .carousel-dots {
  margin-top: 0 !important;
  background: rgba(24, 20, 17, 0.58) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  padding: 1px 5px;
}

.media-carousel-overlay .carousel-arrow {
  color: #ffffff !important;
  width: 28px;
  height: 28px;
}

.media-carousel-overlay .carousel-dot {
  width: 20px;
  height: 26px;
}

.media-carousel-overlay .carousel-dot::before {
  background: rgba(255, 255, 255, 0.48) !important;
}

.media-carousel-overlay .carousel-dot.active::before {
  background: #ffffff !important;
}

/* L4 매거진 웜톤(학원·교습소) 핵심 4대 지표 스트립 */
.editorial-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.editorial-stat-cell {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}

.editorial-stat-cell strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.editorial-stat-cell span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 2px;
  word-break: keep-all;
}

/* PC(941px 이상): 좌측 카피+버튼 / 우측 화보 2열 정밀 배치 */
@media (min-width: 941px) {
  .clinic-hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    grid-template-areas:
      "head visual"
      "cta visual";
    column-gap: 38px;
    row-gap: 0;
  }

  .clinic-copy-head {
    grid-area: head;
    align-self: end;
  }

  .clinic-copy-cta {
    grid-area: cta;
    align-self: start;
  }

  .clinic-visual-col {
    grid-area: visual;
  }

  .editorial-frame {
    grid-template-columns: 1fr 1.05fr;
    grid-template-areas:
      "head media"
      "cta media";
    column-gap: 32px;
    row-gap: 0;
  }

  .editorial-copy-head {
    grid-area: head;
    align-self: end;
  }

  .editorial-copy-cta {
    grid-area: cta;
    align-self: start;
  }

  .editorial-img-box {
    grid-area: media;
  }
}

/* 태블릿·모바일(960px 이하): 3-뷰어 전환 알약을 하단 엄지 영역 위로 이동 → 상단 제목·배지 가림 0% */
@media (max-width: 960px) {
  .sr-floating-viewer-pill {
    top: auto !important;
    bottom: calc(var(--viewer-bottom-h, 58px) + 10px);
    right: 10px;
    transition: opacity 0.18s ease;
  }

  .sr-concierge-dock.is-open .sr-floating-viewer-pill {
    opacity: 0;
    pointer-events: none;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* 태블릿·모바일(940px 이하): 타이틀 직후에 공간·강의실 사진이 첫 화면에 바로 보이도록 순서 재배치 */
@media (max-width: 940px) {
  .clinic-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "visual"
      "cta";
    gap: 18px;
  }

  .clinic-copy-head {
    grid-area: head;
  }

  .clinic-visual-col {
    grid-area: visual;
  }

  .clinic-copy-cta {
    grid-area: cta;
  }

  .editorial-frame {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "media"
      "cta";
    gap: 16px;
  }

  .editorial-copy-head {
    grid-area: head;
  }

  .editorial-img-box {
    grid-area: media;
  }

  .editorial-copy-cta {
    grid-area: cta;
  }
}

/* 스마트폰(640px 이하): 학원·교습소 & 뷰티·클리닉 전용 여백·버튼·카드·탭 정밀 최적화 */
@media (max-width: 640px) {
  .store-notice-bar {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.35;
    word-break: keep-all;
  }

  .section-container {
    padding: 46px 16px;
  }

  .section-header {
    margin-bottom: 26px;
  }

  .section-desc {
    font-size: 14px;
    line-height: 1.55;
  }

  /* L4 학원·교습소(매거진 웜톤) 모바일 히어로 카드 최적화 */
  .hero-editorial {
    padding: 14px 14px 28px;
  }

  .editorial-frame {
    padding: 20px 16px;
    border-radius: 24px;
    gap: 14px;
  }

  .hero-editorial .hero-badges,
  .hero-clinic-minimal .hero-badges {
    gap: 6px;
    margin-bottom: 12px;
  }

  .hero-editorial .trust-badge,
  .hero-clinic-minimal .trust-badge {
    padding: 5px 10px;
    font-size: 11.5px;
  }

  .hero-editorial .hero-title,
  .hero-clinic-minimal .hero-title {
    font-size: clamp(23px, 6.4vw, 28px);
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hero-editorial .hero-subtitle,
  .hero-clinic-minimal .hero-subtitle {
    font-size: 14px;
    line-height: 1.58;
    margin-bottom: 0;
  }

  .editorial-img-box {
    height: 208px;
    border-radius: 16px;
  }

  .editorial-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 14px;
  }

  .editorial-stat-cell {
    padding: 9px 10px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    text-align: left;
  }

  .editorial-stat-cell strong {
    font-size: 15.5px;
    order: 2;
  }

  .editorial-stat-cell span {
    font-size: 12px;
    margin-top: 0;
    order: 1;
  }

  /* L2 뷰티·클리닉(클리닉 미니멀) 모바일 히어로 & 원장 카드 & 프로그램 요약 최적화 */
  .hero-clinic-minimal {
    padding: 16px 16px 30px;
  }

  .clinic-region-eyebrow {
    font-size: 11.5px;
    padding: 4px 10px;
    margin-bottom: 10px;
  }

  .clinic-media-frame {
    height: 214px;
    border-radius: 20px;
  }

  .clinic-director-card {
    margin: -18px 8px 0;
    padding: 13px 14px;
    border-radius: 16px;
  }

  .clinic-biz-title {
    font-size: 14px;
    line-height: 1.35;
  }

  .clinic-hours-line {
    align-items: flex-start;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .clinic-hours-line .ico {
    margin-top: 2px;
  }

  .clinic-quick-menu {
    margin-bottom: 14px;
    padding: 13px 14px;
  }

  .clinic-menu-dots {
    display: none;
  }

  .clinic-menu-row {
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed #ebe5db;
  }

  .clinic-menu-row:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }

  /* 히어로 액션 버튼: 모바일에서 반쪽 계단 깨짐 없이 100% 정돈 배치 */
  .hero-editorial .hero-actions,
  .hero-clinic-minimal .hero-actions,
  .hero-split-ba .hero-actions,
  .hero-clean-bento .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hero-editorial .hero-actions > *,
  .hero-clinic-minimal .hero-actions > *,
  .hero-split-ba .hero-actions > *,
  .hero-clean-bento .hero-actions > * {
    width: 100%;
  }

  /* 4단계 진행 순서 카드: 좁은 2열 찌그러짐 대신 시원하고 깔끔한 모바일 1열 카드 */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .process-step-card {
    padding: 15px 16px;
  }

  .process-step-card .step-badge {
    margin-bottom: 5px;
  }

  /* 갤러리 카테고리 탭: 모바일 2줄 줄바꿈 대신 1줄 가로 터치 스와이프 */
  .gallery-filter-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 18px;
  }

  .gallery-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 13px;
  }

  .gallery-caption {
    padding: 16px 10px 9px;
    font-size: 12px;
    line-height: 1.35;
    word-break: keep-all;
  }

  .gallery-spec-badges {
    top: 8px;
    left: 8px;
    right: 38px;
    gap: 4px;
  }

  .gallery-spec-pill {
    font-size: 10px;
    padding: 3px 7px;
  }

  .gallery-zoom-hint {
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
  }

  /* 가격표·예상금액 박스·지도 버튼 모바일 정밀 정렬 */
  .price-item {
    align-items: flex-start;
    padding: 13px 0;
  }

  .price-name {
    font-size: 14.5px;
    word-break: keep-all;
  }

  .price-sub {
    font-size: 12.5px;
    line-height: 1.45;
    word-break: keep-all;
  }

  .price-val {
    font-size: 15.5px;
    padding-top: 1px;
  }

  .estimated-box {
    gap: 10px;
    padding: 13px 14px;
  }

  .estimated-box .est-price {
    font-size: 18px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .info-line {
    font-size: 13.5px;
    gap: 10px;
  }

  .info-line strong {
    width: 84px;
  }

  .map-btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .map-btns .map-btn {
    justify-content: center;
    padding: 10px 8px;
    font-size: 13px;
  }

  .map-btns .map-btn.naver-book {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   v11.1 전문직(변호사·세무사·노무사·법무사) 전용 직무상 비밀유지 안심 배너
   ========================================================================== */
.confidential-seal-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.24);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
}

.confidential-seal-box .ico {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   v11.2 방문자 한도 85% 사전 경고 · 100% 7일 유예 카운트다운 · 자동 일시중단 & 콘솔 UI
   ========================================================================== */
.traffic-quota-alert-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom: 2px solid #f59e0b;
  color: #78350f;
  font-size: 13.5px;
  line-height: 1.5;
  z-index: 60;
}

.traffic-quota-alert-bar.is-grace {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-bottom-color: #ea580c;
  color: #7c2d12;
}

.traffic-quota-alert-bar.is-suspended {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-bottom-color: #dc2626;
  color: #7f1d1d;
}

.traffic-quota-alert-bar.in-drawer {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  border-radius: 12px;
  border: 1.5px solid #f59e0b;
  padding: 12px 13px;
  margin-bottom: 12px;
}

.traffic-quota-alert-bar.in-drawer.is-grace {
  border-color: #ea580c;
}

.traffic-quota-alert-bar.in-drawer.is-suspended {
  border-color: #dc2626;
}

.tq-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  flex: 1;
  min-width: 0;
}

.tq-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.tq-pill.warn {
  background: #f59e0b;
  color: #ffffff;
}

.tq-pill.grace {
  background: #ea580c;
  color: #ffffff;
}

.tq-pill.danger {
  background: #dc2626;
  color: #ffffff;
}

.tq-msg {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  word-break: keep-all;
}

.tq-sim-chip {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.12);
  font-size: 11px;
  font-weight: 800;
}

.tq-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.tq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.tq-btn:hover {
  opacity: 0.93;
}

.tq-btn.ghost {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(120, 53, 15, 0.25);
  color: #78350f;
}

.tq-btn.cta-warn {
  background: #b45309;
  color: #ffffff;
}

.tq-btn.cta-grace {
  background: #ea580c;
  color: #ffffff;
}

.tq-btn.cta-danger {
  background: #dc2626;
  color: #ffffff;
}

@media (max-width: 768px) {
  .traffic-quota-alert-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }
  .tq-actions {
    width: 100%;
  }
  .tq-actions .tq-btn {
    flex: 1;
  }
}

.vr-quota-box.is-warn {
  background: #fffbeb;
  border-color: #fcd34d;
}

.vr-quota-box.is-warn .vr-quota-head {
  color: #92400e;
}

.vr-quota-box.is-warn .vr-quota-bar {
  background: #fef3c7;
}

.vr-quota-box.is-warn .vr-quota-bar > div {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.vr-quota-box.is-warn .vr-quota-note {
  color: #92400e;
}

.vr-quota-box.is-danger {
  background: #fef2f2;
  border-color: #fecaca;
}

.vr-quota-box.is-danger .vr-quota-head {
  color: #991b1b;
}

.vr-quota-box.is-danger .vr-quota-bar {
  background: #fee2e2;
}

.vr-quota-box.is-danger .vr-quota-bar > div {
  background: linear-gradient(90deg, #ea580c, #dc2626);
}

.vr-quota-box.is-danger .vr-quota-note {
  color: #991b1b;
}

.traffic-owner-recover-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
}

.traffic-ops-console-box {
  padding: 12px 13px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
}

.traffic-ops-console-box .toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 13px;
  color: #0c4a6e;
}

.traffic-ops-console-box .toc-req-alert {
  margin: 6px 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  font-size: 12.5px;
  line-height: 1.45;
}

/* ==========================================================================
   v11.3 사장님 현장 필수 6대 기능 스타일
   (자동만료 휴무·마감 공지 / 3초 상담 칩 / 사전 체크사항 / 주차·결제 배지 / 티맵 / 공식 SNS 모음)
   ========================================================================== */
.store-notice-bar.is-closed {
  background: #7f1d1d;
  color: #fef2f2;
}

.store-notice-bar.is-closed .notice-pill {
  background: #fecaca;
  color: #7f1d1d;
}

.store-notice-bar.is-booked {
  background: #78350f;
  color: #fffbeb;
}

.store-notice-bar.is-booked .notice-pill {
  background: #fde68a;
  color: #78350f;
}

.notice-until-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.quick-inquiry-chips-wrap {
  margin-bottom: 14px;
}

.qic-label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.quick-inquiry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.qic-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-main);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qic-btn:hover {
  border-color: rgba(var(--primary-rgb), 0.55);
}

.qic-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.25);
}

.prep-checklist-box {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: rgba(var(--primary-rgb), 0.05);
  border: 1px dashed rgba(var(--primary-rgb), 0.3);
}

.prep-check-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 7px;
}

.prep-check-head .ico {
  color: var(--primary);
  flex-shrink: 0;
}

.prep-check-list {
  margin: 0;
  padding-left: 17px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.55;
  word-break: keep-all;
}

.prep-check-list li + li {
  margin-top: 4px;
}

.store-facility-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
}

.sf-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
}

.sf-pill .ico {
  color: var(--primary);
  flex-shrink: 0;
}

.map-btn.tmap {
  background: #4f46e5;
  color: #ffffff;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.map-btn.tmap:hover {
  opacity: 0.92;
}

.store-channels-bar {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.store-channels-bar.is-compact {
  margin-top: 10px;
  padding-top: 10px;
  border-top-color: rgba(255, 255, 255, 0.16);
  justify-content: center;
}

.scb-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-muted);
}

.scb-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.scb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.scb-btn:hover {
  transform: translateY(-1px);
}

.scb-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  color: #ffffff;
}

.scb-btn.ch-blog .scb-ico {
  background: #03c75a;
}

.scb-btn.ch-insta .scb-ico {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.scb-btn.ch-karrot .scb-ico {
  background: #ff6f0f;
}

.scb-btn.ch-yt .scb-ico {
  background: #ef4444;
}

.admin-preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
