/* ==========================================================================
   growth.css — 성장 기록 공용 레이아웃
   담당: 탭바·익명배너·탭 패널 공통·placeholder
   탭1 전용 스타일 → css/growth-check.css
   탭2 전용 스타일 → css/growth-age-report.css
   탭3 전용 스타일 → css/growth-cat-report.css (예정)
   공통 강조색: 네이비 블루 #1e3a8a (탭2·3 과 톤 통일)
   ========================================================================== */

/* ── 익명 배너 (BAB: Before-After-Bridge) ── */
.growth-anon-banner[hidden] { display: none !important; }
.growth-anon-banner {
  background: #FFF7ED;
  border-bottom: 1px solid #FED7AA;
  color: #7C2D12;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.growth-anon-banner-text {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}
.growth-anon-banner-text br + * { font-weight: 600; }
.growth-anon-banner-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #5B5FC7;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(91, 95, 199, 0.35);
  transition: transform 0.08s, box-shadow 0.08s;
}
.growth-anon-banner-cta:hover { transform: translateY(-1px); }
.growth-anon-banner-cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(91, 95, 199, 0.35);
}

/* ==========================================================================
   탭 바 (상단 우측 정렬, 3개 탭)
   ========================================================================== */
.growth-tabbar-wrap {
  background: #fff;
  border-bottom: 1px solid var(--warm-border, #E8E2D9);
  padding: 0 24px;
  display: flex;
  justify-content: center;
}
.growth-tabbar {
  display: flex;
  gap: 2px;
  max-width: 1100px;
  width: 100%;
  justify-content: flex-end;
}
.growth-tab {
  background: transparent;
  border: none;
  padding: 14px 22px 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid, #64748B);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.growth-tab:hover { color: var(--text-dark, #1E293B); }
.growth-tab.active {
  color: #1e3a8a;
  border-bottom-color: #1e3a8a;
}
.growth-tab-ico { font-size: 15px; }

/* ==========================================================================
   탭 패널 공통
   ========================================================================== */
.growth-tab-panel[hidden] { display: none !important; }
.growth-tab-panel {
  max-width: 1100px;
  margin: 0 auto;
  height: calc(100vh - var(--header-height, 56px) - 52px);
  background: #f3f4f6;  /* 중성 회색 — 탭2·3 종이 위 문서 컨셉에 맞춤 */
  border-left: 1px solid var(--warm-border, #E8E2D9);
  border-right: 1px solid var(--warm-border, #E8E2D9);
}
.growth-anon-banner + .growth-tabbar-wrap + .growth-tab-panel {
  height: calc(100vh - var(--header-height, 56px) - 52px - 38px);
}

/* ==========================================================================
   탭2·3 placeholder (탭 미구현 안내)
   ========================================================================== */
.growth-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-mid, #64748B);
  padding: 40px;
}
.growth-placeholder-icon { font-size: 56px; margin-bottom: 16px; }
.growth-placeholder-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark, #1E293B);
  margin-bottom: 8px;
}
.growth-placeholder-sub { font-size: 14px; }
