/* ============================================================
   pc-page-headers.css  —  PackFlow MES 모듈 페이지 상단 헤더 strip
   대상: .module-page > .pg-hd  (각 독립 module-page 첫 자식)
   대시보드(pg-mes-admin 내 t-dash)는 별도 풀헤더 유지, 미적용.
   ============================================================ */

.module-page > .pg-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border-bottom: 1px solid var(--bdr);
  margin: 0 0 var(--sp-4);
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.pg-hd-l {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pg-hd-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  color: var(--pri);
  letter-spacing: -.3px;
  margin: 0;
  line-height: var(--lh-tight);
}

.pg-hd-sub {
  font-size: var(--fs-sm);
  color: var(--txt2);
  font-weight: var(--fw-medium);
}

.pg-hd-r {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

@media (max-width: 760px) {
  .module-page > .pg-hd {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
    padding: var(--sp-3);
  }
  .pg-hd-r {
    justify-content: flex-end;
  }
}
