/**
 * [한글 주석] 두피케어 고객관리 시스템 전용 독립 스타일입니다.
 * - 공용 uc-system.css에 기대지 않도록 필요한 관리자 프레임/폼/상단바 규칙을 자체 포함합니다.
 * - 위치: /plugin/assets/css/scalp-care.css
 */

/* ── 독립 공통 변수/프레임 ── */
.zyss-system-shell.uc-admin {
  --uc-primary: #ffffff;
  --uc-surface: rgba(255, 255, 255, 0.03);
  --uc-surface-strong: rgba(255, 255, 255, 0.06);
  --uc-border: rgba(255, 255, 255, 0.08);
  --uc-border-strong: rgba(255, 255, 255, 0.15);
  --uc-text: rgba(255, 255, 255, 0.95);
  --uc-muted: rgba(255, 255, 255, 0.58);
  --uc-radius: 12px;
  --uc-radius-sm: 8px;
  background: #000000;
  color: var(--uc-text);
  font-family: "Pretendard", sans-serif;
  line-height: 1.5;
}

.zyss-system-shell .uc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.72rem;
  border: 1px solid var(--uc-border);
  border-radius: 8px;
  background: var(--uc-surface-strong);
  color: var(--uc-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
  text-transform: uppercase;
}

.zyss-system-shell .uc-brand__panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.zyss-system-shell .uc-brand__mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--uc-border);
  border-radius: 8px;
  background: var(--uc-surface-strong);
  color: var(--uc-text);
  font-size: 0.88rem;
}

.zyss-system-shell .uc-brand__mark--home {
  font-size: 1.25rem;
  line-height: 1;
}

.zyss-system-shell .uc-brand__mark--home-link {
  text-decoration: none;
}

.zyss-system-shell .uc-icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--uc-border);
  border-radius: 8px;
  background: var(--uc-surface);
  color: var(--uc-text);
}

.zyss-system-shell .uc-icon-button:hover {
  border-color: var(--uc-primary);
  color: var(--uc-primary);
}

.zyss-system-shell [data-sidebar-toggle] {
  transition: transform 0.22s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  font-size: 1.1rem;
  font-weight: 700;
}

.zyss-system-shell [data-sidebar-toggle][aria-expanded="false"] {
  transform: scaleX(-1);
}

.zyss-system-shell .uc-field {
  display: grid;
  gap: 0.35rem;
}

.zyss-system-shell .uc-field__label {
  color: var(--uc-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.zyss-system-shell .uc-field__control {
  width: 100%;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--uc-border);
  border-radius: 8px;
  background: var(--uc-surface);
  color: var(--uc-text);
}

.zyss-system-shell textarea.uc-field__control {
  min-height: 90px;
  resize: vertical;
}

.zyss-system-shell select.uc-field__control,
.zyss-system-shell input.uc-field__control {
  accent-color: var(--uc-primary);
}

.zyss-system-shell.uc-admin .uc-admin__topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--uc-border);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
}

.zyss-system-shell.uc-admin .uc-admin__brand-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.zyss-system-shell.uc-admin .uc-admin__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: calc(100vh - 56px);
}

.zyss-system-shell.uc-admin .uc-admin__layout.is-sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.zyss-system-shell.uc-admin.zyss-system-shell--single-panel .uc-admin__layout {
  grid-template-columns: minmax(0, 1fr);
}

.zyss-system-shell.uc-admin .uc-admin__sidebar {
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid var(--uc-border);
  background: var(--uc-surface);
}

.zyss-system-shell.uc-admin.zyss-system-shell--single-panel .uc-admin__sidebar {
  display: none;
}

.zyss-system-shell.uc-admin .uc-admin__layout.is-sidebar-collapsed .uc-admin__sidebar {
  border-right: 0;
}

.zyss-system-shell.uc-admin .uc-admin-menu {
  position: sticky;
  top: 56px;
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 1rem;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.zyss-system-shell.uc-admin .uc-admin-menu__item {
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--uc-muted);
  text-align: left;
}

.zyss-system-shell.uc-admin .uc-admin-menu__item:hover,
.zyss-system-shell.uc-admin .uc-admin-menu__item.is-active {
  border-color: var(--uc-border);
  background: var(--uc-surface-strong);
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .uc-admin__main {
  min-width: 0;
  padding: 1.25rem;
}

.zyss-system-shell.uc-admin.zyss-system-shell--single-panel .uc-admin__main {
  width: 100%;
}

.zyss-system-shell.uc-admin.zyss-system-shell--scalp .uc-admin__layout {
  grid-template-columns: minmax(0, 1fr);
}

.zyss-system-shell.uc-admin.zyss-system-shell--scalp .uc-admin__sidebar {
  display: none;
}

.zyss-system-shell.uc-admin .uc-admin-panel {
  display: none;
}

.zyss-system-shell.uc-admin .uc-admin-panel.is-active {
  display: block;
}

@media (max-width: 900px) {
  .zyss-system-shell.uc-admin .uc-admin__layout {
    grid-template-columns: 1fr;
  }

  .zyss-system-shell.uc-admin .uc-admin__sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--uc-border);
  }

  .zyss-system-shell.uc-admin .uc-admin-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .zyss-system-shell.uc-admin .uc-admin-menu {
    grid-template-columns: 1fr;
  }

  .zyss-system-shell.uc-admin .uc-admin__main {
    padding: 0.75rem;
  }
}

/* ── 패널 래퍼 ── */
.zyss-system-shell.uc-admin .sc-panel {
  padding: 0 !important;
  overflow: hidden;
}

/* ── 2단 레이아웃 ── */
.zyss-system-shell.uc-admin .sc-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 620px;
  height: 100%;
  transition: grid-template-columns 0.22s ease;
}

/* ── 좌측 내비 ── */
.zyss-system-shell.uc-admin .sc-nav {
  background: var(--uc-surface);
  border-right: 1px solid var(--uc-border);
  display: flex;
  flex-direction: column;
  padding: 0 0 16px;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
  transition: opacity 0.18s ease, padding 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.zyss-system-shell.uc-admin .sc-main {
  min-width: 0;
}

.zyss-system-shell.uc-admin .sc-layout.is-nav-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.zyss-system-shell.uc-admin .sc-layout.is-nav-collapsed .sc-nav {
  opacity: 0;
  pointer-events: none;
  padding: 0;
  border-right-color: transparent;
  transform: translateX(-12px);
}

.zyss-system-shell.uc-admin .sc-nav__brand {
  padding: 20px 16px 18px;
  border-bottom: 1px solid var(--uc-border);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zyss-system-shell.uc-admin .sc-nav__brand-icon {
  font-size: 1.1rem;
  filter: grayscale(1) brightness(1.4);
}

.zyss-system-shell.uc-admin .sc-nav__brand-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-nav__item {
  display: block;
  width: calc(100% - 16px);
  margin: 0 8px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--uc-radius-sm);
  background: transparent;
  color: var(--uc-muted);
  text-align: left;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.zyss-system-shell.uc-admin .sc-nav__item:hover {
  background: var(--uc-surface-strong);
  color: var(--uc-text);
  border-color: var(--uc-border);
}

.zyss-system-shell.uc-admin .sc-nav__item.sc-active {
  background: #111111;
  color: var(--uc-text);
  border-color: var(--uc-border-strong);
  font-weight: 600;
}

.zyss-system-shell.uc-admin .sc-nav__group {
  margin: 0 8px;
}

.zyss-system-shell.uc-admin .sc-nav__item--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
}

.zyss-system-shell.uc-admin .sc-nav__caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 0.9rem;
  color: var(--uc-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.zyss-system-shell.uc-admin .sc-nav__group.is-open > .sc-nav__item--toggle .sc-nav__caret {
  transform: rotate(90deg);
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-nav__submenu {
  display: grid;
  gap: 4px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 10px;
  transition: max-height 0.24s ease, opacity 0.18s ease, margin-top 0.18s ease;
}

.zyss-system-shell.uc-admin .sc-nav__group.is-open > .sc-nav__submenu {
  max-height: 180px;
  margin-top: 6px;
  opacity: 1;
}

.zyss-system-shell.uc-admin .sc-nav__subitem {
  display: block;
  width: calc(100% - 8px);
  margin: 0;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--uc-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: var(--uc-muted);
  font-size: 0.83rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.zyss-system-shell.uc-admin .sc-nav__subitem:hover {
  background: var(--uc-surface-strong);
  color: var(--uc-text);
  border-color: var(--uc-border);
}

.zyss-system-shell.uc-admin .sc-nav__subitem.sc-active {
  background: #111111;
  color: var(--uc-text);
  border-color: var(--uc-border-strong);
  font-weight: 600;
}

/* ── 우측 메인 ── */
.zyss-system-shell.uc-admin .sc-main {
  padding: 1.25rem;
  min-width: 0;
  overflow-y: auto;
}

/* ── 섹션 표시 제어 ── */
.zyss-system-shell.uc-admin .sc-section {
  display: none;
}

.zyss-system-shell.uc-admin .sc-section.sc-active {
  display: block;
}

/* ── 섹션 헤더 ── */
.zyss-system-shell.uc-admin .sc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.zyss-system-shell.uc-admin .sc-section-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--uc-text);
}

/* ── 스탯 카드 그리드 ── */
.zyss-system-shell.uc-admin .sc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.zyss-system-shell.uc-admin .sc-stat-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  background: var(--uc-surface);
  box-shadow: var(--uc-shadow-sm);
}

.zyss-system-shell.uc-admin .sc-stat-card__label {
  font-size: 0.82rem;
  color: var(--uc-muted);
}

.zyss-system-shell.uc-admin .sc-stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--uc-text);
}

/* ── 카드 ── */
.zyss-system-shell.uc-admin .sc-card {
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  background: var(--uc-surface);
  padding: 1rem;
  box-shadow: var(--uc-shadow-sm);
}

.zyss-system-shell.uc-admin .sc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.zyss-system-shell.uc-admin .sc-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--uc-text);
}

/* ── 버튼 ── */
.zyss-system-shell.uc-admin .sc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.zyss-system-shell.uc-admin .sc-btn--primary {
  background: #111111;
  border-color: var(--uc-border-strong);
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-btn--primary:hover {
  background: #000000;
  border-color: var(--uc-border-strong);
}

.zyss-system-shell.uc-admin .sc-btn--secondary {
  background: var(--uc-surface-strong);
  border-color: var(--uc-border);
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-btn--secondary:hover {
  border-color: var(--uc-border-strong);
}

.zyss-system-shell.uc-admin .sc-btn--danger {
  background: #111111;
  border-color: var(--uc-border-strong);
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-btn--danger:hover {
  background: #000000;
  border-color: var(--uc-border-strong);
}

.zyss-system-shell.uc-admin .sc-btn--sm {
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
}

.zyss-system-shell.uc-admin .sc-inline-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── 폼 필드 ── */
.zyss-system-shell.uc-admin .sc-field {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius-sm);
  background: var(--uc-surface-strong);
  color: var(--uc-text);
  font: inherit;
  font-size: 0.875rem;
  transition: border-color 0.15s;
}

.zyss-system-shell.uc-admin .sc-field:focus {
  outline: none;
  border-color: var(--uc-border-strong);
}

.zyss-system-shell.uc-admin .sc-field--sm {
  width: auto;
  min-width: 120px;
}

.zyss-system-shell.uc-admin .sc-field[rows] {
  resize: vertical;
}

/* ── 라벨 ── */
.zyss-system-shell.uc-admin .sc-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--uc-muted);
}

.zyss-system-shell.uc-admin .sc-label--wide {
  grid-column: 1 / -1;
}

.zyss-system-shell.uc-admin .sc-field--file {
  padding: 0.45rem 0.6rem;
  line-height: 1.4;
}

.zyss-system-shell.uc-admin .sc-upload-help {
  margin: 0;
  font-size: 0.78rem;
  color: var(--uc-muted);
}

.zyss-system-shell.uc-admin .sc-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.zyss-system-shell.uc-admin .sc-upload-preview[hidden] {
  display: none !important;
}

.zyss-system-shell.uc-admin .sc-upload-preview__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.zyss-system-shell.uc-admin .sc-upload-preview__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.zyss-system-shell.uc-admin .sc-upload-preview__item figcaption {
  overflow: hidden;
  padding: 6px 8px;
  color: var(--uc-muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 폼 그리드 ── */
.zyss-system-shell.uc-admin .sc-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.zyss-system-shell.uc-admin .sc-form-grid--row {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  align-items: end;
}

.zyss-system-shell.uc-admin .sc-form-grid--photo-upload {
  grid-template-columns: 160px minmax(0, 1.35fr) minmax(0, 1fr);
}

/* ── 검색 바 ── */
.zyss-system-shell.uc-admin .sc-search-bar {
  margin-bottom: 1rem;
}

.zyss-system-shell.uc-admin .sc-search-bar .sc-field {
  max-width: 380px;
}

/* ── 고객 카드 그리드 ── */
.zyss-system-shell.uc-admin .sc-customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.zyss-system-shell.uc-admin .sc-customer-card {
  padding: 1rem;
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  background: var(--uc-surface);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.zyss-system-shell.uc-admin .sc-customer-card:hover {
  border-color: var(--uc-border-strong);
  background: var(--uc-surface-strong);
}

.zyss-system-shell.uc-admin .sc-customer-card__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-customer-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.82rem;
  color: var(--uc-muted);
  margin-bottom: 8px;
}

.zyss-system-shell.uc-admin .sc-customer-card__grade {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--uc-border);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--uc-muted);
}

.zyss-system-shell.uc-admin .sc-customer-card__grade--vip {
  border-color: rgba(255,255,255,0.5);
  color: var(--uc-text);
  background: rgba(255,255,255,0.06);
  font-weight: 700;
}

/* ── 고객 상세 요약 ── */
.zyss-system-shell.uc-admin .sc-detail-summary {
  margin-bottom: 1rem;
}

.zyss-system-shell.uc-admin .sc-detail-grid {
  display: grid;
  grid-template-columns: 120px 1fr 120px 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
}

.zyss-system-shell.uc-admin .sc-detail-grid dt {
  font-size: 0.8rem;
  color: var(--uc-muted);
  align-self: center;
}

.zyss-system-shell.uc-admin .sc-detail-grid dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--uc-text);
  align-self: center;
  word-break: break-all;
}

/* ── 탭 네비 ── */
.zyss-system-shell.uc-admin .sc-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--uc-border);
  padding-bottom: 0.65rem;
}

.zyss-system-shell.uc-admin .sc-tab-btn {
  padding: 0.45rem 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--uc-radius-sm);
  background: transparent;
  color: var(--uc-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.zyss-system-shell.uc-admin .sc-tab-btn:hover {
  background: var(--uc-surface-strong);
  color: var(--uc-text);
  border-color: var(--uc-border);
}

.zyss-system-shell.uc-admin .sc-tab-btn.sc-active {
  background: #111111;
  color: var(--uc-text);
  border-color: var(--uc-border-strong);
  font-weight: 600;
}

/* ── 탭 패널 ── */
.zyss-system-shell.uc-admin .sc-tab-panel {
  display: none;
}

.zyss-system-shell.uc-admin .sc-tab-panel.sc-active {
  display: block;
}

/* ── 테이블 ── */
.zyss-system-shell.uc-admin .sc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  background: var(--uc-surface);
}

.zyss-system-shell.uc-admin .sc-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.zyss-system-shell.uc-admin .sc-table th,
.zyss-system-shell.uc-admin .sc-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--uc-border);
  text-align: left;
  font-size: 0.875rem;
}

.zyss-system-shell.uc-admin .sc-table th {
  background: var(--uc-surface-strong);
  color: var(--uc-muted);
  font-weight: 600;
}

.zyss-system-shell.uc-admin .sc-table td {
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-table tr:last-child th,
.zyss-system-shell.uc-admin .sc-table tr:last-child td {
  border-bottom: none;
}

/* ── 예약 카드 ── */
.zyss-system-shell.uc-admin .sc-appt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.zyss-system-shell.uc-admin .sc-appt-card {
  padding: 1rem;
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  background: var(--uc-surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s, background 0.15s;
}

.zyss-system-shell.uc-admin .sc-appt-card:hover {
  border-color: var(--uc-border-strong);
  background: var(--uc-surface-strong);
}

.zyss-system-shell.uc-admin .sc-appt-card__date {
  font-weight: 700;
  font-size: 1rem;
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-appt-card__name {
  font-size: 0.9rem;
  color: var(--uc-text);
}

.zyss-system-shell.uc-admin .sc-appt-card__meta {
  font-size: 0.82rem;
  color: var(--uc-muted);
}

.zyss-system-shell.uc-admin .sc-appt-status {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.78rem;
  border: 1px solid var(--uc-border);
  color: var(--uc-muted);
}

.zyss-system-shell.uc-admin .sc-appt-status--scheduled {
  border-color: rgba(255,255,255,0.4);
  color: var(--uc-text);
  background: rgba(255,255,255,0.06);
}

.zyss-system-shell.uc-admin .sc-appt-status--done {
  color: var(--uc-muted);
}

.zyss-system-shell.uc-admin .sc-appt-status--cancel {
  border-color: var(--uc-border);
  color: var(--uc-muted);
  background: rgba(255,255,255,0.04);
}

/* ── 정보 행 dl ── */
.zyss-system-shell.uc-admin .sc-info-rows {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 1rem;
  margin: 0;
}

.zyss-system-shell.uc-admin .sc-info-rows dt {
  font-size: 0.8rem;
  color: var(--uc-muted);
}

.zyss-system-shell.uc-admin .sc-info-rows dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--uc-text);
}

/* ── 빈 상태 ── */
.zyss-system-shell.uc-admin .sc-empty {
  padding: 2rem;
  text-align: center;
  color: var(--uc-muted);
  font-size: 0.9rem;
}

/* ── stub ── */
.zyss-system-shell.uc-admin .sc-stub .sc-empty {
  padding: 3rem;
  border: 1px dashed var(--uc-border);
  border-radius: var(--uc-radius);
}

/* ── 퀵 폼 래퍼 ── */
.zyss-system-shell.uc-admin .sc-quick-form {
  padding: 1rem;
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  background: var(--uc-surface);
  margin-bottom: 1rem;
}

/* ── 반응형 ── */
@media (max-width: 900px) {
  .zyss-system-shell.uc-admin .sc-layout {
    grid-template-columns: 1fr;
  }

  .zyss-system-shell.uc-admin .sc-nav {
    border-right: none;
    border-bottom: 1px solid var(--uc-border);
    flex-direction: row;
    flex-wrap: wrap;
    padding: 6px 6px 8px;
    gap: 4px;
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--uc-surface);
  }

  .zyss-system-shell.uc-admin .sc-nav__brand {
    display: none; /* 모바일에서 브랜드 영역 숨김 — 버튼만 표시 */
  }

  .zyss-system-shell.uc-admin .sc-nav__item {
    width: auto;
    margin: 0;
    min-height: 38px;
    padding: 7px 12px;
    font-size: 0.82rem;
    /* 터치 타겟 보장 */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .zyss-system-shell.uc-admin .sc-nav__group {
    margin: 0;
  }

  .zyss-system-shell.uc-admin .sc-nav__submenu {
    width: 100%;
    padding-left: 0;
  }

  .zyss-system-shell.uc-admin .sc-nav__subitem {
    width: auto;
    min-height: 36px;
    padding: 7px 12px;
  }

  .zyss-system-shell.uc-admin .sc-main {
    padding: 1rem 0.75rem;
  }

  .zyss-system-shell.uc-admin .sc-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zyss-system-shell.uc-admin .sc-detail-grid {
    grid-template-columns: 90px 1fr;
  }

  .zyss-system-shell.uc-admin .sc-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zyss-system-shell.uc-admin .sc-form-grid--row {
    grid-template-columns: 1fr;
  }

  .zyss-system-shell.uc-admin .sc-customer-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .zyss-system-shell.uc-admin .sc-appt-grid {
    grid-template-columns: 1fr;
  }

  .zyss-system-shell.uc-admin .sc-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 토스트 알럿 (두 시스템 공용) ── */
.sc-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--uc-surface-strong, #161616);
  border: 1px solid var(--uc-border-strong, #484848);
  color: var(--uc-text, #ffffff);
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.sc-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── 예약 관리 달력 및 타임 슬롯 ── */
.sc-cal {
  background: var(--uc-surface, #1e1e1e);
  border: 1px solid var(--uc-border, #333);
  border-radius: 12px;
  padding: 16px;
  flex: 1;
  min-width: 300px;
}

.sc-cal__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sc-cal__month {
  font-weight: 700;
  font-size: 1.1rem;
}

.sc-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.sc-cal__day-head {
  text-align: center;
  font-size: 0.75rem;
  color: var(--sc-text-muted);
  padding: 8px 0;
}

.sc-cal__day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
  transition: background 0.2s;
}

.sc-cal__day:hover { background: rgba(255,255,255,0.05); }
.sc-cal__day.sc-today { color: var(--sc-primary); font-weight: 700; background: rgba(255,255,255,0.03); }
.sc-cal__day.sc-selected { background: #a2ff00; color: #111; font-weight: 700; }
.sc-cal__day.sc-other-month { opacity: 0.3; pointer-events: none; }

.sc-cal__dot {
  width: 4px;
  height: 4px;
  background: var(--sc-primary);
  border-radius: 50%;
  position: absolute;
  bottom: 6px;
}

.sc-appt-day {
  flex: 1;
  background: var(--uc-surface, #1e1e1e);
  border: 1px solid var(--uc-border, #333);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sc-appt-day__head {
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--uc-border);
  font-weight: 600;
}

.sc-appt-day__body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}

/* 타임 슬롯 스타일 */
.sc-time-slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.sc-time-group__title {
  font-size: 0.85rem;
  color: var(--sc-text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sc-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.sc-time-slot {
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--uc-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-time-slot--empty {
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.sc-time-slot--empty:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.sc-time-slot.is-booked {
  border-left: 3px solid var(--sc-primary);
  background: rgba(var(--sc-primary-rgb), 0.05);
}

.sc-time-slot__time { font-weight: 700; font-size: 0.95rem; }
.sc-time-slot__name { font-size: 0.85rem; }
.sc-time-slot__item { font-size: 0.75rem; color: var(--sc-text-muted); }

.sc-appt-layout {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.sc-appt-inline {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sc-appt-inline__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
}

.sc-appt-inline__head span {
  color: var(--sc-text-muted);
  font-size: 0.78rem;
}

.sc-appt-inline__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sc-appt-inline__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .sc-appt-layout { flex-direction: column; }
  .sc-appt-inline__grid { grid-template-columns: 1fr; }
}

/* ── 예약 관리 고도화: 선택 날짜 및 팝업 ── */
.sc-cal__day.sc-selected {
  background: #a2ff00 !important;
  color: #111111 !important; /* 글자 색상 밝게 */
  font-weight: 800 !important; /* 굵게 */
  box-shadow: 0 4px 12px rgba(162, 255, 0, 0.35);
}

.sc-cal__day.sc-today {
  border: 1px solid var(--sc-primary);
  color: var(--sc-primary);
}

/* 예약 상세 팝업 (모달) */
.sc-appt-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sc-appt-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.sc-appt-modal__backdrop {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.sc-appt-modal__content {
  position: relative;
  width: 480px;
  max-width: 90%;
  background: var(--uc-surface, #1e1e1e);
  border: 1px solid var(--uc-border, #333);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sc-appt-modal.is-active .sc-appt-modal__content {
  transform: translateY(0) scale(1);
}

.sc-appt-modal__head {
  padding: 24px;
  border-bottom: 1px solid var(--uc-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc-appt-modal__title { font-weight: 700; font-size: 1.25rem; }

.sc-appt-modal__close {
  background: none; border: none; color: #888; cursor: pointer; font-size: 1.5rem;
}

.sc-appt-modal__body { padding: 24px; }

.sc-appt-info-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.sc-appt-info-label { color: var(--sc-text-muted); font-size: 0.85rem; }
.sc-appt-info-value { font-weight: 500; }

.sc-appt-modal__foot {
  padding: 20px 24px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--uc-border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ── 제품 재고 관리 추가 스타일 ── */
.sc-text-danger {
  color: #ff4d4f !important;
  font-weight: 700;
}

.sc-table th {
  background: rgba(255,255,255,0.02);
  color: var(--sc-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sc-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

/* ── 사이드바 그룹 메뉴 및 토글 ── */
.sc-menu-group {
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 12px;
}

.sc-menu-group__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 4px;
}

.sc-menu-group__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sc-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sc-menu-group__toggle {
  background: none;
  border: none;
  color: var(--sc-text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  line-height: 1;
}

.sc-menu-group.is-collapsed .sc-menu-group__toggle {
  transform: rotate(90deg);
}

.sc-menu-group__body {
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 500px;
  opacity: 1;
}

.sc-menu-group.is-collapsed .sc-menu-group__body {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

/* 서브 메뉴 아이템 들여쓰기 */
.uc-admin-menu__item[data-sub="1"] {
  padding-left: 24px !important;
  font-size: 0.9rem !important;
  opacity: 0.8;
}

.uc-admin-menu__item[data-sub="1"]:hover {
  opacity: 1;
}

/* ── 모바일 호환성 보정 ───────────────────────────── */
.zyss-system-shell.uc-admin .sc-section[data-scalp-section="products"] .sc-table {
  min-width: 1120px;
}

@media (max-width: 768px) {
  .zyss-system-shell.uc-admin {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .zyss-system-shell.uc-admin .uc-admin__topbar {
    min-width: 0;
    padding: 0 0.65rem;
    gap: 0.5rem;
  }

  .zyss-system-shell.uc-admin .uc-brand,
  .zyss-system-shell.uc-admin .uc-brand__text {
    min-width: 0;
    max-width: calc(100vw - 116px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .zyss-system-shell.uc-admin .uc-admin__main,
  .zyss-system-shell.uc-admin .sc-main {
    width: 100%;
    min-width: 0;
    padding: 0.75rem 0.5rem;
  }

  .zyss-system-shell.uc-admin .sc-layout {
    display: block;
    min-height: auto;
  }

  .zyss-system-shell.uc-admin .sc-nav {
    position: sticky;
    top: 56px;
    z-index: 20;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--uc-border);
    -webkit-overflow-scrolling: touch;
  }

  .zyss-system-shell.uc-admin .sc-nav__item,
  .zyss-system-shell.uc-admin .sc-nav__subitem {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .zyss-system-shell.uc-admin .sc-nav__submenu {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    width: auto;
    max-width: 100vw;
    padding: 0;
  }

  .zyss-system-shell.uc-admin .sc-nav__submenu[hidden] {
    display: none !important;
  }

  .zyss-system-shell.uc-admin .sc-section-head {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }

  .zyss-system-shell.uc-admin .sc-stats-grid,
  .zyss-system-shell.uc-admin .sc-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem;
  }

  .zyss-system-shell.uc-admin .sc-card,
  .zyss-system-shell.uc-admin .sc-stat-card {
    padding: 0.85rem;
  }

  .zyss-system-shell.uc-admin .sc-form-grid,
  .zyss-system-shell.uc-admin .sc-form-grid--row,
  .zyss-system-shell.uc-admin .sc-form-grid--photo-upload {
    grid-template-columns: 1fr !important;
  }

  .zyss-system-shell.uc-admin .sc-field,
  .zyss-system-shell.uc-admin .uc-field__control,
  .zyss-system-shell.uc-admin textarea,
  .zyss-system-shell.uc-admin select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .zyss-system-shell.uc-admin .sc-search-bar .sc-field {
    max-width: none;
  }

  .zyss-system-shell.uc-admin .sc-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .zyss-system-shell.uc-admin .sc-table {
    min-width: 820px;
  }

  .zyss-system-shell.uc-admin .sc-section[data-scalp-section="products"] .sc-table {
    min-width: 1120px;
  }

  .zyss-system-shell.uc-admin .sc-inline-actions,
  .zyss-system-shell.uc-admin .sc-form-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .zyss-system-shell.uc-admin .sc-stats-grid,
  .zyss-system-shell.uc-admin .sc-stat-row {
    grid-template-columns: 1fr !important;
  }

  .zyss-system-shell.uc-admin .sc-btn {
    width: 100%;
  }
}

/* 기초등록에서는 재고/입고/출고 입력 및 카드 숨김 */
.zyss-system-shell.uc-admin .sc-section[data-scalp-section="products"][data-sc-products-mode="base"] [data-sc-inventory-mode-field] {
  display: none !important;
}

.zyss-system-shell.uc-admin .sc-section[data-scalp-section="products"]:not([data-sc-products-mode="base"]) [data-sc-inventory-base-field] {
  display: none !important;
}

.zyss-system-shell.uc-admin .sc-section[data-scalp-section="products"]:not([data-sc-products-mode="purchase"]):not([data-sc-products-mode="sale"]) [data-sc-inventory-action-field] {
  display: none !important;
}

/* [한글 주석] 모바일 반응형 보강: 두피케어 고객관리시스템 독립 처리 */
@media (max-width: 640px) {
  .zyss-system-shell.uc-admin {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .zyss-system-shell.uc-admin * {
    box-sizing: border-box;
    min-width: 0;
  }

  .zyss-system-shell.uc-admin .uc-admin__topbar {
    padding: 8px 10px;
  }

  .zyss-system-shell.uc-admin .uc-brand__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
  }

  .zyss-system-shell.uc-admin .sc-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }

  .zyss-system-shell.uc-admin .sc-main,
  .zyss-system-shell.uc-admin .sc-section,
  .zyss-system-shell.uc-admin .sc-card,
  .zyss-system-shell.uc-admin .sc-panel {
    width: 100%;
    max-width: 100%;
  }

  .zyss-system-shell.uc-admin .sc-grid,
  .zyss-system-shell.uc-admin .sc-form-grid,
  .zyss-system-shell.uc-admin .sc-kpi-grid,
  .zyss-system-shell.uc-admin .sc-profile-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .zyss-system-shell.uc-admin .sc-actions,
  .zyss-system-shell.uc-admin .sc-toolbar,
  .zyss-system-shell.uc-admin .sc-filter-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .zyss-system-shell.uc-admin .sc-btn,
  .zyss-system-shell.uc-admin input,
  .zyss-system-shell.uc-admin select,
  .zyss-system-shell.uc-admin textarea {
    width: 100%;
    max-width: 100%;
  }

  .zyss-system-shell.uc-admin .sc-table-wrap,
  .zyss-system-shell.uc-admin .sc-list-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .zyss-system-shell.uc-admin table {
    min-width: 680px;
  }
}

/* [한글 주석] 모바일 패널 버튼: 두피케어 좌측 메뉴를 가로 스크롤 메뉴로 열고 닫습니다. */
@media (max-width: 640px) {
  .zyss-system-shell.uc-admin .sc-layout,
  .zyss-system-shell.uc-admin .sc-layout.is-nav-collapsed {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
  }

  .zyss-system-shell.uc-admin .sc-layout.is-nav-collapsed .sc-nav {
    display: none !important;
  }

  .zyss-system-shell.uc-admin .sc-layout:not(.is-nav-collapsed) .sc-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border-right: 0;
    border-bottom: 1px solid var(--uc-border);
    -webkit-overflow-scrolling: touch;
  }

  .zyss-system-shell.uc-admin .sc-layout:not(.is-nav-collapsed) .sc-nav__brand {
    display: none !important;
  }

  .zyss-system-shell.uc-admin .sc-layout:not(.is-nav-collapsed) .sc-nav__group,
  .zyss-system-shell.uc-admin .sc-layout:not(.is-nav-collapsed) .sc-nav__submenu {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    width: auto;
    overflow: visible;
  }

  .zyss-system-shell.uc-admin .sc-layout:not(.is-nav-collapsed) .sc-nav__submenu[hidden] {
    display: none !important;
  }

  .zyss-system-shell.uc-admin .sc-layout:not(.is-nav-collapsed) .sc-nav__group.is-open > .sc-nav__submenu {
    max-height: none;
    margin-top: 0;
    padding-left: 0;
    overflow: visible;
    opacity: 1;
  }

  .zyss-system-shell.uc-admin .sc-layout:not(.is-nav-collapsed) .sc-nav__item,
  .zyss-system-shell.uc-admin .sc-layout:not(.is-nav-collapsed) .sc-nav__subitem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 78px;
    max-width: 72vw;
    min-height: 38px;
    padding: 8px 12px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* [한글 주석] 라이트모드: 두피케어 독립 팔레트 */
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp {
  --uc-primary: #162033;
  --uc-surface: #ffffff;
  --uc-surface-strong: #f8fafc;
  --uc-border: rgba(20, 28, 45, 0.12);
  --uc-border-strong: rgba(20, 28, 45, 0.22);
  --uc-text: #162033;
  --uc-muted: #5e687a;
  background: #f4f6fb;
  color: var(--uc-text);
}

:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .uc-admin__topbar,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-nav,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-card,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-panel,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-table-wrap,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-list-wrap {
  background: #ffffff;
  color: #162033;
  border-color: rgba(20, 28, 45, 0.12);
}

:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp input,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp select,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp textarea {
  background: #ffffff;
  color: #162033;
  border-color: rgba(20, 28, 45, 0.16);
}

/* [한글 주석] 라이트모드 보강: 두피케어 뒤쪽 다크 고정값을 최종 보정합니다. */
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .uc-brand,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .uc-icon-button,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-nav__item,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-nav__subitem,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-btn:not(.sc-btn--primary),
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-table,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-empty,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-upload {
  background: #f8fafc !important;
  color: #162033 !important;
  border-color: rgba(20, 28, 45, 0.14) !important;
}

:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-section-title,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-card__title,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-field label {
  color: #162033 !important;
}

:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-muted,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-help,
:root[data-zyss-color-mode="light"] .zyss-system-shell--scalp .sc-empty {
  color: #5e687a !important;
}
