body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #121220, #0a1128, #051633);
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden { display: none !important; }

/* Navbar UI (섹터 분리용) */
.navbar {
  display: flex;
  align-items: center;
  padding: 15px 40px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  font-weight: 800;
  font-size: 1.5rem;
  background: -webkit-linear-gradient(45deg, #00d2ff, #3a7bd5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 40px;
}
.nav-links {
  display: flex;
  gap: 15px;
}
.tab {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: #a0a0b0;
  font-weight: 600;
  transition: all 0.3s;
}
.tab:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.tab.active {
  color: #fff;
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 기업 타이틀 등 주요 정보 */
header:not(.top-bar):not(#appHeader) {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 0.6s ease-out;
}
h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  background: -webkit-linear-gradient(45deg, #ffffff, #a8c0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tags {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.9rem;
}

/* 반투명 유리 모듈 (Glassmorphism Panels) */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 30px;
  margin-bottom: 30px;
  animation: fadeInUp 0.5s ease-out;
}

.chart-container {
  position: relative;
  height: 400px;
  width: 100%;
}
.charts-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 표 (Table) 모듈 */
.table-container {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
th, td {
  padding: 14px 10px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}
th:first-child, td:first-child {
  text-align: left;
}
th {
  background: rgba(0, 0, 0, 0.2);
  color: #00d2ff;
}
tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 네이버 금융 스타일의 통합형 Table 보조 속성 */
.naver-style-table th, .naver-style-table td {
  border-right: 1px solid rgba(255,255,255,0.05); /* 세로선 구분 추가 */
}
.naver-style-table th { padding: 12px 8px; }
.naver-style-table td { padding: 14px 8px; }
.naver-style-table th:last-child, .naver-style-table td:last-child {
  border-right: none;
}
