/* Pretendard font is loaded via link tag in App.razor for better performance */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent horizontal scroll on mobile */
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-subtle);
    /* Prevent horizontal scroll on mobile */
    overflow-x: hidden;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
}

/* Accessibility: Focus Visible Styles */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-navy);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-navy);
    outline-offset: 2px;
}

/* Accessibility: Visually Hidden (Screen Reader Only) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Accessibility: Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-navy);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0;
}

/* Design System Colors */
:root {
    /* Primary Colors */
    --primary-navy: #1A365D;
    --primary-navy-light: #2D4A6F;
    --primary-navy-dark: #0F2744;
    --primary-color: #1A365D; /* Alias for compatibility */

    /* Secondary Colors */
    --secondary-blue: #2D4A6F;

    /* Accent Colors */
    --accent-gold: #D69E2E;
    --accent-gold-light: #ECC94B;

    /* Gray Scale */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Text Colors */
    --text-primary: var(--gray-800);
    --text-secondary: var(--gray-500);
    --text-tertiary: var(--gray-700);

    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-subtle: var(--gray-50);
    --bg-hover: var(--gray-100);

    /* Border Colors */
    --border-light: var(--gray-200);
    --border-default: var(--gray-100);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    /* Touch-friendly minimum size */
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--primary-navy);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-navy-dark);
}

.btn-primary:active {
    background: var(--primary-navy-dark);
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-secondary:active {
    background: var(--gray-300);
}

.btn-gold {
    background: var(--accent-gold);
    color: white;
}

.btn-gold:hover {
    background: var(--accent-gold-light);
}

.btn-gold:active {
    background: var(--accent-gold);
    transform: scale(0.98);
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Error Boundary */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

/* Validation */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--success);
}

.invalid {
    outline: 1px solid var(--error);
}

.validation-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* Ad Banner Styles */
.ad-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    min-height: 90px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}

.ad-banner-horizontal {
    width: 100%;
    min-height: 90px;
}

.ad-banner-vertical {
    width: 300px;
    min-height: 600px;
}

.ad-banner-square {
    width: 300px;
    min-height: 250px;
}

.ad-banner-inarticle {
    width: 100%;
    min-height: 250px;
    margin: 2rem 0;
}

.ad-banner .adsbygoogle {
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .ad-banner-vertical,
    .ad-banner-square {
        width: 100%;
    }
}

/* ==============================================
   Report Content Styles
   ============================================== */

/* Report Section Headers - Banner Style (배너형) */
.report-content h2,
.report-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2.5rem 0 1.25rem 0;
    padding: 0.875rem 1rem;
    background: var(--gray-50);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 6px 6px 0;
    line-height: 1.4;
}

.report-content h2:first-child,
.report-body h2:first-child {
    margin-top: 0;
}

.report-content h3,
.report-body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.75rem 0 0.875rem 0;
    padding: 0.625rem 0.875rem;
    background: rgba(248, 250, 252, 0.8);
    border-left: 3px solid var(--primary-navy);
    border-radius: 0 4px 4px 0;
}

/* Report Paragraphs */
.report-content p {
    margin: 1rem 0;
    color: var(--gray-700);
    line-height: 1.8;
}

/* Key Point Lists (ul/ol) */
.report-content ul,
.report-content ol {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.report-content ul li,
.report-content ol li {
    position: relative;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--primary-navy);
    line-height: 1.6;
    color: var(--gray-700);
}

.report-content ul li::before {
    content: "▸";
    position: absolute;
    left: 1rem;
    color: var(--primary-navy);
    font-weight: 600;
}

.report-content ol {
    counter-reset: report-counter;
}

.report-content ol li::before {
    counter-increment: report-counter;
    content: counter(report-counter);
    position: absolute;
    left: 0.875rem;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--primary-navy);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-content li strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Report Tables - Responsive */
.report-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.report-content th,
.report-content td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.report-content th {
    background: var(--primary-navy);
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

/* Report Content - Responsive Images */
.report-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Report Content - Code Blocks */
.report-content pre,
.report-content code {
    overflow-x: auto;
    max-width: 100%;
}

.report-content pre {
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 0.875rem;
    -webkit-overflow-scrolling: touch;
}

/* Report Content - Prevent Overflow */
.report-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.report-content th:first-child {
    border-radius: 8px 0 0 0;
}

.report-content th:last-child {
    border-radius: 0 8px 0 0;
}

.report-content tbody tr:hover {
    background: var(--gray-50);
}

/* Valuation cards: disable hover effect and ensure text visibility */
.report-content .valuation-cards table tbody tr:hover {
    background: transparent !important;
}

.report-content .valuation-cards table tbody tr:hover td {
    color: inherit !important;
}

.report-content tbody tr:last-child td:first-child {
    border-radius: 0 0 0 8px;
}

.report-content tbody tr:last-child td:last-child {
    border-radius: 0 0 8px 0;
}

/* Highlight Section Tags */
.report-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.5rem;
}

.report-tag.strength {
    background: #DCFCE7;
    color: #166534;
}

.report-tag.caution {
    background: #FEF3C7;
    color: #92400E;
}

.report-tag.risk {
    background: #FEE2E2;
    color: #991B1B;
}

/* Key Metrics Cards */
.report-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.report-metric-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.report-metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
}

.report-metric-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .report-content h2 {
        font-size: 1.25rem;
        padding: 0.75rem;
    }

    .report-content h3 {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }

    .report-content ul li,
    .report-content ol li {
        padding: 0.625rem 0.875rem 0.625rem 2.25rem;
    }

    .report-content th,
    .report-content td {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
    }

    .report-content table {
        font-size: 0.8125rem;
    }

    .report-content pre {
        padding: 0.75rem;
        font-size: 0.8125rem;
    }
}

/* Very Small Screens (Mobile Portrait) */
@media (max-width: 480px) {
    .report-content h2 {
        font-size: 1.125rem;
        padding: 0.625rem;
    }

    .report-content h3 {
        font-size: 0.9375rem;
        padding: 0.5rem;
    }

    .report-content p {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .report-content ul li,
    .report-content ol li {
        padding: 0.5rem 0.75rem 0.5rem 2rem;
        font-size: 0.9375rem;
    }

    .report-content ul li::before {
        left: 0.75rem;
    }

    .report-content ol li::before {
        left: 0.625rem;
        width: 1.125rem;
        height: 1.125rem;
        font-size: 0.6875rem;
    }
}

/* ========================================
   Glossary Term Highlighting (Global)
   - Applied by JavaScript in interop.js
   ======================================== */
.glossary-term {
    position: relative;
    color: #1a365d !important;
    background: transparent !important;
    border-bottom: 1px dashed #1a365d;
    cursor: help;
    transition: background 0.2s ease, color 0.2s ease;
    font-weight: inherit;
    padding: 0;
}

.glossary-term:hover {
    background: rgba(26, 54, 93, 0.15) !important;
    border-bottom-style: solid;
}

/* Glossary terms inside dark background sections (key-points)
   Using [data-term] attribute selector for higher specificity
   to override Blazor scoped CSS which uses [b-xxx] attribute */
.key-points .glossary-term[data-term] {
    color: #fbbf24 !important; /* Gold/Yellow for visibility on dark background */
    border-bottom-color: #fbbf24 !important;
    background: transparent !important;
}

.key-points .glossary-term[data-term]:hover {
    background: rgba(251, 191, 36, 0.2) !important;
    color: #fcd34d !important;
}

/* Key-points section list items - override report-content styles */
.report-content .key-points ul,
.report-content .key-points ol {
    margin: 0;
    padding: 0;
}

.report-content .key-points ul li,
.report-content .key-points ol li {
    background: transparent !important;
    border-left: none !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    margin-bottom: 0 !important;
    color: white !important;
}

.report-content .key-points ul li::before,
.report-content .key-points ol li::before {
    content: none !important; /* Remove the arrow/dot */
}

.report-content .key-points li strong {
    color: white !important;
}

/* ==============================================
   Language Switcher Styles (Header)
   High specificity selectors to override Blazor scoped CSS
   ============================================== */
.header .language-switcher,
.header-actions .language-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.header .lang-btn,
.header-actions .lang-btn,
button.lang-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    padding: 0.375rem 0.75rem !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px !important;
    min-height: 32px;
}

.header .lang-btn:hover,
.header-actions .lang-btn:hover,
button.lang-btn:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.header .lang-btn.active,
.header-actions .lang-btn.active,
button.lang-btn.active {
    color: #1A365D !important;
    background-color: #D69E2E !important;
    font-weight: 700 !important;
}

.header .lang-btn.active:hover,
.header-actions .lang-btn.active:hover,
button.lang-btn.active:hover {
    background-color: #ECC94B !important;
}

.header .lang-divider,
.header-actions .lang-divider {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.875rem;
    margin: 0 0.125rem;
}

@media (max-width: 768px) {
    .header .language-switcher,
    .header-actions .language-switcher {
        display: none;
    }
}

/* ===== Report Visualization Styles ===== */

/* Market Share Visual */
.report-content .market-share-visual {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--gray-200);
}

.report-content .market-share-visual h4 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.report-content .share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.report-content .share-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-100);
}

.report-content .share-percent {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.report-content .share-country {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0.25rem 0;
}

.report-content .share-detail {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Ranking Visual */
.report-content .ranking-visual {
    margin: 1.5rem 0;
}

.report-content .rank-item {
    background: white;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--primary-navy);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
}

.report-content .rank-num {
    font-weight: 700;
    color: var(--primary-navy);
    min-width: 180px;
}

.report-content .rank-revenue {
    font-size: 1.1rem;
    font-weight: 600;
    color: #059669;
    min-width: 80px;
}

.report-content .rank-detail {
    font-size: 0.85rem;
    color: var(--gray-600);
    flex: 1;
}

/* Product Cards */
.report-content .product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.report-content .product-card {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.report-content .product-card h4 {
    color: var(--primary-navy);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.report-content .product-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Company Analysis Box */
.report-content .company-analysis {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #93c5fd;
}

.report-content .company-analysis h4 {
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.report-content .company-analysis ul {
    margin: 0;
    padding: 0;
}

.report-content .company-analysis li {
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    margin: 0;
}

/* Conclusion Box */
.report-content .conclusion-box {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2d4a6f 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    color: white;
}

.report-content .conclusion-box h4 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.report-content .key-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.report-content .key-metrics .metric {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    text-align: center;
}

.report-content .key-metrics .metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.report-content .key-metrics .metric-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.375rem;
}

/* Valuation Cards */
.report-content .valuation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.report-content .valuation-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.report-content .valuation-card .company-logo {
    display: inline-block;
    background: var(--primary-navy);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.report-content .valuation-card .company-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.report-content .valuation-card .ticker {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 400;
}

.report-content .valuation-card .valuation-table {
    width: 100%;
    display: table;
    margin: 0;
}

.report-content .valuation-card .valuation-table tr td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.report-content .valuation-card .valuation-table tr td:first-child {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.report-content .valuation-card .valuation-table tr td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--gray-800);
}

.report-content .valuation-card .upside {
    color: #059669 !important;
    font-weight: 700 !important;
}

/* Investment Checklist */
.report-content .investment-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.report-content .checklist-column {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
}

.report-content .checklist-column h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    font-size: 1rem;
}

.report-content .checklist-column ul {
    margin: 0;
    padding: 0;
}

.report-content .checklist-column li {
    background: transparent;
    border: none;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 0.9rem;
}

/* Opportunity Header */
.report-content .opportunity-header {
    color: #059669;
}

@media (max-width: 640px) {
    .report-content .share-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-content .key-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-content .rank-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
