/* ═══ JPK ERP — 중분류 서브탭 ═══ */

.sub-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--new-border-soft, rgba(0,0,0,0.06));
  background: var(--new-bg-panel, #fff);
  padding: 0 var(--space-3);
  min-height: 36px;
  flex-shrink: 0;
}

.sub-tab {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 var(--space-3);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-strong);
  color: var(--new-text-sub, #777);
  cursor: pointer;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.sub-tab:hover {
  color: var(--new-text-main, #222);
}

.sub-tab.is-active {
  color: #333;
  border-bottom-color: #333;
}

/* 탭 콘텐츠 */
.sub-tab-content {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.sub-tab-content.is-active {
  display: flex;
  flex-direction: column;
}
