:root {
  --sage-primary: #2C3E50;
  --sage-secondary: #556B2F;
  --sage-accent: #D97706;
  --blue-primary: #1E3A8A;
  --bg-warm: #F9FAFB;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #fff;
}

/* Faint Architecture Background */
.faint-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: blur(8px);
    transform: scale(1.1);
}

/* Global Nav Switcher */
.page-nav-btn {
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.page-nav-btn.active-page {
    background-color: rgba(0,0,0,0.02);
}

/* Blue Nav Items */
#page-2 .blue-nav-active {
    border-bottom: 2px solid white;
    font-weight: 700;
}

/* Chart Container Size */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    height: 300px;
}

@media (min-width: 768px) {
    .chart-container { height: 350px; }
}

/* Tab Transitions */
.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Range Input */
input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 4px solid var(--sage-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#s-st-ltv::-webkit-slider-thumb { border-color: var(--sage-accent); }

/* Scrollbar Control */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }
