/* ========================================
   CSS 변수 (테마 색상)
   ======================================== */
:root {
    /* 기본 색상 */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --secondary-hover: #475569;

    /* 배경 색상 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-hover: #e2e8f0;

    /* 텍스트 색상 */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;

    /* 경계선 색상 */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* 센티먼트 색상 */
    --sentiment-positive: #10b981;
    --sentiment-neutral: #6b7280;
    --sentiment-negative: #ef4444;

    /* 그림자 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

    /* 레이아웃 */
    --container-max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --spacing-unit: 8px;
}

/* ========================================
   기본 스타일
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

/* ========================================
   컨테이너
   ======================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

/* ========================================
   네비게이션 바
   ======================================== */
.navbar {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: calc(var(--spacing-unit) * 2) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .brand-link {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-icon {
    font-size: 1.5rem;
}

.navbar-menu {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-icon {
    font-size: 1.1rem;
}

/* ========================================
   메인 콘텐츠
   ======================================== */
.main-content {
    min-height: calc(100vh - 200px);
    padding: calc(var(--spacing-unit) * 4) 0;
}

/* ========================================
   섹션
   ======================================== */
.section {
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.link-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.link-all:hover {
    color: var(--primary-hover);
}

/* ========================================
   대시보드
   ======================================== */
.dashboard-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* 통계 그리드 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 3);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.stat-card-link:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card-link:hover .stat-value {
    color: var(--primary-hover);
}

/* ========================================
   카드
   ======================================== */
.report-card, .market-briefing-card, .quick-link-card, .related-report-card, .sector-card {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.2s;
}

.report-card:hover, .quick-link-card:hover, .related-report-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: calc(var(--spacing-unit) * 3);
    border-bottom: 1px solid var(--border-light);
}

.stock-info h3, .market-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.stock-code {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1.5);
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.875rem;
    font-weight: 600;
}

.report-subtitle {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.card-body {
    padding: calc(var(--spacing-unit) * 3);
}

.report-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-primary);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--spacing-unit) * 3);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

/* ========================================
   센티먼트 배지
   ======================================== */
.sentiment-badge {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.875rem;
    font-weight: 600;
}

.sentiment-긍정 {
    background-color: #d1fae5;
    color: #065f46;
}

.sentiment-중립 {
    background-color: #e5e7eb;
    color: #374151;
}

.sentiment-부정 {
    background-color: #fee2e2;
    color: #991b1b;
}

.sentiment-large {
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* ========================================
   핵심 포인트
   ======================================== */
.key-points ul {
    list-style: none;
    padding-left: 0;
}

.key-points li {
    padding-left: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    position: relative;
}

.key-points li::before {
    content: "•";
    position: absolute;
    left: calc(var(--spacing-unit) * 1);
    color: var(--primary-color);
    font-weight: bold;
}

.key-points-section .key-points-list {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
}

.key-point-item {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 3);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.point-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========================================
   토픽 태그
   ======================================== */
.topics {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 1);
    margin-top: calc(var(--spacing-unit) * 2);
}

.topic-tag {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.topic-tag.clickable:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ========================================
   그리드 레이아웃
   ======================================== */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

.sectors-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

/* ========================================
   빠른 링크 카드
   ======================================== */
.quick-link-card {
    display: block;
    padding: calc(var(--spacing-unit) * 4);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
}

.link-icon {
    font-size: 3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.quick-link-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.quick-link-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ========================================
   버튼
   ======================================== */
.btn {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
}

.btn-disabled {
    background-color: var(--bg-tertiary);
    color: var(--text-tertiary);
    cursor: not-allowed;
}

/* ========================================
   메타 정보
   ======================================== */
.meta-info {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
}

.meta-icon {
    font-size: 1rem;
}

/* ========================================
   페이지 헤더 (상세 페이지)
   ======================================== */
.page-header {
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.breadcrumb {
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 calc(var(--spacing-unit) * 1);
}

.stock-header, .market-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.stock-title-group h1, .market-title-group h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.report-meta {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 2);
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
}

/* ========================================
   상세 분석 콘텐츠
   ======================================== */
.report-content {
    background-color: var(--bg-primary);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.report-content h1, .report-content h2, .report-content h3 {
    margin-top: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.report-content p {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.report-content ul, .report-content ol {
    margin-left: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

/* ========================================
   이벤트 타임라인
   ======================================== */
.events-timeline {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 3);
}

.event-item {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
}

.event-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.event-content {
    flex: 1;
    padding: calc(var(--spacing-unit) * 2);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   섹터 카드
   ======================================== */
.sector-card {
    padding: calc(var(--spacing-unit) * 3);
}

.sector-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--primary-color);
}

/* ========================================
   필터
   ======================================== */
.filters {
    margin-bottom: calc(var(--spacing-unit) * 4);
    padding: calc(var(--spacing-unit) * 3);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1);
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-group input, .filter-group select {
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

.filter-group input:focus, .filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-actions {
    display: flex;
    gap: calc(var(--spacing-unit) * 1);
}

/* ========================================
   페이지네이션
   ======================================== */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: calc(var(--spacing-unit) * 4);
    padding: calc(var(--spacing-unit) * 3);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius);
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pagination-controls {
    display: flex;
    gap: calc(var(--spacing-unit) * 1);
    align-items: center;
}

.pagination-btn {
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background-color: var(--bg-tertiary);
}

.pagination-current {
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   빈 상태
   ======================================== */
.empty-state {
    text-align: center;
    padding: calc(var(--spacing-unit) * 10);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
}

/* ========================================
   액션 버튼 섹션
   ======================================== */
.actions-section {
    margin-top: calc(var(--spacing-unit) * 5);
}

.actions-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    justify-content: center;
}

.date-navigation {
    margin-top: calc(var(--spacing-unit) * 5);
}

.nav-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    justify-content: space-between;
}

/* ========================================
   푸터
   ======================================== */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 3) 0;
    margin-top: calc(var(--spacing-unit) * 8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-section h4 {
    font-size: 0.875rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    color: var(--text-tertiary);
}

.footer-section p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: calc(var(--spacing-unit) * 3);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.footer-note {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ========================================
   메타데이터 그리드
   ======================================== */
.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.metadata-item {
    padding: calc(var(--spacing-unit) * 2);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.metadata-item dt {
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.metadata-item dd {
    color: var(--text-primary);
}

.metadata-item ul {
    list-style-position: inside;
}

/* ========================================
   관련 리포트
   ======================================== */
.related-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

.related-report-card {
    text-decoration: none;
    color: var(--text-primary);
}

.report-title-mini {
    font-size: 0.875rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-secondary);
}

/* ========================================
   반응형 디자인
   ======================================== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }

    .navbar-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-link span:last-child {
        display: none;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .reports-grid, .related-reports-grid, .sectors-grid-detail {
        grid-template-columns: 1fr;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }

    .stock-header, .market-header {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }

    .pagination {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }

    .actions-buttons, .nav-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   소스 뷰어
   ======================================== */
.sources-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.sources-list.news-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.source-card {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.2s;
}

.source-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.source-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: calc(var(--spacing-unit) * 3);
    border-bottom: 1px solid var(--border-light);
}

.source-info {
    flex: 1;
    min-width: 0;
}

.source-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.channel-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.article-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: calc(var(--spacing-unit) * 0.5);
}

.category-badge {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1.5);
    background-color: var(--primary-color);
    color: white;
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-left: calc(var(--spacing-unit) * 1);
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 0.75);
}

.keyword-tag {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1);
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.75rem;
    font-weight: 500;
}

.source-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.source-header {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.source-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.source-header .channel-info {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: calc(var(--spacing-unit) * 1);
}

.source-header .subtitle {
    margin-top: calc(var(--spacing-unit) * 1);
}

/* ========================================
   인쇄 스타일
   ======================================== */
@media print {
    .navbar, .footer, .actions-section, .date-navigation {
        display: none;
    }

    .main-content {
        padding: 0;
    }

    .report-card, .market-briefing-card {
        box-shadow: none;
        page-break-inside: avoid;
    }
}
