/* Scoped customer surfaces; shared room/Partner components are untouched. */
body[data-customer-page] { --customer-sage: #5f7d63; --customer-cream: #f8f5ed; padding-top: 76px; }
body[data-customer-page] > header { position: fixed; inset: 0 0 auto; z-index: 220; background: #fffcf6; border-bottom: 1px solid #e9e5d9; margin: 0; max-width: none; padding: 0; }
body[data-customer-page] .header-inner,
body[data-customer-page] .topbar-inner,
body[data-customer-page] .faq-header { max-width: 1240px; width: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 12px 28px; box-sizing: border-box; }
body[data-customer-page="faq"] .faq-header { position: fixed; }
body[data-customer-page] .logo-img,
body[data-customer-page] .legal-logo { width: auto; height: 38px; max-width: 130px; object-fit: contain; }
body[data-customer-page] .logo,
body[data-customer-page] .brand,
body[data-customer-page] .legal-brand { display: flex; flex: 0 0 auto; align-items: center; padding: 0; }
body[data-customer-page] .customer-desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(2px, .5vw, 6px); margin-left: auto; white-space: nowrap; }
body[data-customer-page] .customer-desktop-nav a { font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif; text-decoration: none; color: #544b40; padding: 9px 16px; border-radius: 12px; transition: background-color .15s ease; }
/* Selected menu: butter highlight (design B, 2026-10-14). */
body[data-customer-page] .customer-desktop-nav a:hover { background: #fbf3d7; }
body[data-customer-page] .customer-desktop-nav a.is-current { background: #f7e3a3; color: #3f3627; font-weight: 800; }
body[data-customer-page] .header-actions,
body[data-customer-page] .topbar-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
body[data-customer-page] .header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border: none; border-radius: 13px; background: #5f7d63; color: #fff; font: 700 15px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; box-sizing: border-box; }
body[data-customer-page] .topbar-extras { display: none; }
body[data-customer-page] .customer-logout { min-height: 40px; padding: 0 12px; border: 1px solid #e3ddcf; border-radius: 11px; background: transparent; color: #6b6052; font: 600 13px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif; cursor: pointer; }
body[data-customer-page] .customer-logout:hover { background: #fbf3d7; }
body[data-customer-page] .customer-logout[hidden] { display: none; }
body[data-customer-page] .nav-drawer { background: #fffcf6; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
body[data-customer-page] .nav-drawer .is-current { background: #f7e3a3; color: #3f3627; font-weight: 800; }
body[data-customer-page] .header-mode { margin: 0; }
body[data-customer-page] .customer-bottom-nav { display: none; }
body[data-customer-page] a:focus-visible,
body[data-customer-page] button:focus-visible { outline: 3px solid #5f7d63; outline-offset: 4px; }
body[data-customer-page] #talkArchiveTitle { scroll-margin-top: 96px; }
body[data-customer-page] .tk-discount { display: flex; align-items: baseline; justify-content: flex-end; gap: 3px; margin: 6px 0; color: #3F5A45; }
body[data-customer-page] .tk-discount strong { font-size: 14px; font-weight: 700; line-height: 1.3; }
body[data-customer-page] .tk-discount span { font-size: 12px; }
body[data-customer-page] .tk-price-bonus { font-size: 11px; line-height: 1.5; color: #48634b; margin: 6px 0 0; }
@media (min-width: 768px) and (max-width: 1050px) {
  body[data-customer-page] .header-inner, body[data-customer-page] .topbar-inner, body[data-customer-page] .faq-header { padding: 10px 16px; gap: 14px; }
  body[data-customer-page] .customer-desktop-nav { gap: 2px; }
  body[data-customer-page] .customer-desktop-nav a { font-size: 12px; padding: 8px 10px; }
  body[data-customer-page] .header-actions > [data-i18n-lang], body[data-customer-page] .topbar-right > [data-i18n-lang], body[data-customer-page] .faq-language { display: none; }
  body[data-customer-page] .header-cta { font-size: 13px; padding: 10px 14px; }
  body[data-customer-page] .logo-img, body[data-customer-page] .legal-logo { height: 30px; }
}
@media (max-width: 767px) {
  body[data-customer-page] { padding-top: calc(64px + env(safe-area-inset-top)); padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body[data-customer-page] .header-inner, body[data-customer-page] .topbar-inner, body[data-customer-page] .faq-header { min-height: 64px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; gap: 12px; flex-wrap: nowrap; }
  body[data-customer-page] .customer-desktop-nav, body[data-customer-page] .customer-logout { display: none !important; }
  body[data-customer-page] .logo-img, body[data-customer-page] .legal-logo { height: 31px; max-width: 92px; }
  body[data-customer-page] .header-actions, body[data-customer-page] .topbar-right { margin-left: auto; gap: 8px; }
  body[data-customer-page] .header-actions > [data-i18n-lang], body[data-customer-page] .topbar-right > [data-i18n-lang], body[data-customer-page] .faq-language, body[data-customer-page] .admin-dash-link { display: none; }
  body[data-customer-page] .header-cta { display: inline-flex !important; min-height: 42px; padding: 10px 12px; font-size: 12px; border-radius: 11px; }
  body[data-customer-page] .menu-toggle { display: inline-flex; width: 38px; height: 42px; background: transparent; color: #4c634e; border: none; border-radius: 10px; }
  body[data-customer-page] .customer-bottom-nav { position: fixed; z-index: 210; inset: auto 0 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: #fffcf8; border-top: 1px solid #e7e4d9; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-sizing: border-box; }
  body[data-customer-page] .customer-bottom-nav a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; min-height: 54px; padding: 4px 0; text-decoration: none; color: #8b7d70; font: 600 11px/1.2 -apple-system, BlinkMacSystemFont, sans-serif; border-radius: 10px; }
  body[data-customer-page] .customer-bottom-nav svg { width: 23px; height: 23px; }
  body[data-customer-page] .customer-bottom-nav a { border-radius: 14px; }
  body[data-customer-page] .customer-bottom-nav a.is-current { color: #3f3627; background: #f7e3a3; font-weight: 800; }
  body[data-customer-page] .chat-fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body[data-customer-page] .tk-overlay { padding-bottom: env(safe-area-inset-bottom); }
  body[data-customer-page] .tk-discount strong { font-size: 13px; }
}
