/* ==========================================
   Green Tech End-of-Life Infrastructure Deficit
   Intelligence Report Design System
   Crimson Crisis / Amber / Deep Slate Dark
   ========================================== */

:root {
    --primary-color: #b91c1c;
    --secondary-color: #d97706;
    --accent-color: #ef4444;
    --success-color: #059669;
    --warning-color: #f59e0b;
    --danger-color: #991b1b;
    --info-color: #0284c7;
    --teal-color: #0d9488;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;

    --border-color: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text-primary); background: var(--bg-primary); }

.loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #1a0505 0%, #7f1d1d 50%, #d97706 100%); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.6s ease; }
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.loader { text-align: center; }
.loader img { width: 64px; height: 64px; margin-bottom: 1rem; }
.loader .pulse { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,0.25); animation: pulse 1.5s ease-in-out infinite; margin: 0 auto; }
.loader p { color: white; margin-top: 18px; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.5px; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: 0.3; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248,250,252,0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.header-container { max-width: 1500px; margin: 0 auto; padding: 0.9rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text-primary); font-weight: 800; font-size: 1.2rem; }
.main-nav { display: flex; gap: 1.75rem; }
.nav-link { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; transition: color var(--transition-fast); }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.reports-link { color: var(--primary-color); font-weight: 700; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); z-index: 101; transform-origin: left; transition: width 0.1s linear; width: 0; }

.report-container { display: grid; grid-template-columns: 280px 1fr; max-width: 1500px; margin: 0 auto; gap: 3rem; padding: 2rem 2rem; align-items: start; }

.sidebar { position: sticky; top: 75px; height: fit-content; max-height: calc(100vh - 90px); overflow-y: auto; }
.sidebar-header { padding: 1rem 1.25rem; background: linear-gradient(135deg, #b91c1c, #d97706); border-radius: 10px; margin-bottom: 0.75rem; color: white; }
.sidebar-header h3 { font-size: 0.95rem; font-weight: 700; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.2rem; }
.sidebar-nav .nav-link { padding: 0.7rem 1rem; border-radius: 7px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); transition: all var(--transition-fast); }
.sidebar-nav .nav-link:hover { background: var(--bg-secondary); color: var(--primary-color); }
.sidebar-nav .nav-link.active { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; font-weight: 600; }
.metrics-widget { margin-top: 1.5rem; padding: 1.25rem; background: var(--bg-secondary); border-radius: 10px; border: 1px solid var(--border-color); }
.metrics-widget h4 { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.metric-item { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid var(--border-color); }
.metric-item:last-child { border-bottom: none; }
.metric-label { font-size: 0.8rem; color: var(--text-secondary); }
.metric-value { font-weight: 700; color: var(--success-color); font-family: var(--font-mono); font-size: 0.9rem; }
.metric-value.negative { color: var(--danger-color); }
.metric-value.warning { color: var(--warning-color); }

.main-content { max-width: 920px; min-width: 0; padding-bottom: 4rem; }

.hero-section { margin-bottom: 4rem; }
.classification-banner { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 1.2rem; background: linear-gradient(135deg, #7f1d1d, #d97706); color: white; border-radius: 6px; margin-bottom: 2rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.report-metadata { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.badge { padding: 0.35rem 0.85rem; border-radius: 9999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.sector-badge { background: #fee2e2; color: #7f1d1d; }
.type-badge { background: #dbeafe; color: #1e40af; }
.priority-badge { background: #fef3c7; color: #78350f; }
.hero-title { margin-bottom: 1.5rem; }
.title-main { display: block; font-size: 2.6rem; font-weight: 900; line-height: 1.1; background: linear-gradient(135deg, #b91c1c, #d97706); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.title-sub { display: block; font-size: 1.3rem; font-weight: 600; color: var(--text-secondary); margin-top: 0.75rem; line-height: 1.4; }
.hero-abstract { margin: 2rem 0; }
.lead-text { font-size: 1.125rem; line-height: 1.9; color: var(--text-secondary); }

.stats-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin: 2.5rem 0; }
.stat-card { padding: 1.75rem; border-radius: 12px; background: var(--bg-secondary); border: 2px solid var(--border-color); transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.stat-primary { border-color: var(--primary-color); background: linear-gradient(135deg, rgba(185,28,28,0.08), rgba(217,119,6,0.08)); }
.stat-warning { border-color: var(--warning-color); background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(251,191,36,0.08)); }
.stat-success { border-color: var(--success-color); background: linear-gradient(135deg, rgba(5,150,105,0.08), rgba(20,184,166,0.08)); }
.stat-danger { border-color: var(--danger-color); background: linear-gradient(135deg, rgba(185,28,28,0.08), rgba(239,68,68,0.08)); }
.stat-info { border-color: var(--info-color); background: linear-gradient(135deg, rgba(2,132,199,0.08), rgba(14,165,233,0.08)); }
.stat-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.stat-number { font-size: 2.25rem; font-weight: 900; line-height: 1; margin-bottom: 0.2rem; }
.stat-unit { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.4rem; }

.sources-banner { margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: var(--bg-tertiary); border-left: 4px solid var(--primary-color); border-radius: 6px; }
.sources-label { font-weight: 700; color: var(--text-secondary); font-size: 0.9rem; }
.source-logos { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.75rem; }
.source-tag { padding: 0.3rem 0.75rem; background: white; border: 1px solid var(--border-color); border-radius: 4px; font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); }

.olympus-box { background: linear-gradient(135deg, #0f172a 0%, #1a0505 100%); padding: 2.5rem; border-radius: 16px; margin-bottom: 3rem; color: white; }
.olympus-box h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.25rem; color: #d97706; }
.olympus-box p { margin-bottom: 1rem; line-height: 1.85; color: #e2e8f0; }

.section-main { margin-bottom: 5rem; padding-top: 2rem; }
.section-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--border-color); }
.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 1rem; line-height: 1.2; }
.section-number { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex-shrink: 0; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; border-radius: 12px; font-size: 1.4rem; font-weight: 900; }
.section-meta { display: flex; gap: 1rem; font-size: 0.875rem; flex-wrap: wrap; }
.reading-time, .section-priority { padding: 0.25rem 0.75rem; background: var(--bg-secondary); border-radius: 4px; font-weight: 600; }

.content-block { margin-bottom: 2.5rem; }
.lead-paragraph { font-size: 1.2rem; line-height: 1.85; color: var(--text-secondary); margin-bottom: 2rem; }
.highlight-block { padding: 2rem; background: linear-gradient(135deg, rgba(185,28,28,0.05), rgba(217,119,6,0.05)); border-left: 4px solid var(--primary-color); border-radius: 10px; }
.warning-block { padding: 2rem; background: rgba(245,158,11,0.07); border-left: 4px solid var(--warning-color); border-radius: 10px; }
.success-block { padding: 2rem; background: rgba(5,150,105,0.07); border-left: 4px solid var(--success-color); border-radius: 10px; }
.danger-block { padding: 2rem; background: rgba(185,28,28,0.07); border-left: 4px solid var(--danger-color); border-radius: 10px; }
.info-block { padding: 2rem; background: rgba(2,132,199,0.07); border-left: 4px solid var(--info-color); border-radius: 10px; }

.check-list, .arrow-list, .detailed-list { list-style: none; padding-left: 0; }
.check-list li { padding: 0.4rem 0 0.4rem 1.75rem; position: relative; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--success-color); font-weight: 700; }
.arrow-list li { padding: 0.4rem 0 0.4rem 1.75rem; position: relative; }
.arrow-list li::before { content: "\2192"; position: absolute; left: 0; color: var(--primary-color); font-weight: 700; }

.content-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; margin: 2rem 0; }

.alert-block { padding: 1.5rem; border-radius: 8px; border-left: 4px solid; margin: 2rem 0; }
.alert-block.warning { background: rgba(245,158,11,0.08); border-color: var(--warning-color); }
.alert-block.info { background: rgba(2,132,199,0.08); border-color: var(--info-color); }
.alert-block.danger { background: rgba(185,28,28,0.08); border-color: var(--danger-color); }
.alert-block.success { background: rgba(5,150,105,0.08); border-color: var(--success-color); }

.physics-box { background: linear-gradient(135deg, #fff5f5, #fed7aa); border: 2px solid #fca5a5; border-radius: 12px; padding: 2rem; margin: 2rem 0; font-family: var(--font-mono); position: relative; overflow: hidden; }
.physics-box::before { content: "\0394"; position: absolute; right: 1.5rem; top: 0.5rem; font-size: 5rem; color: rgba(185,28,28,0.08); font-family: serif; pointer-events: none; }
.physics-box h4 { color: #7f1d1d; font-size: 1.1rem; margin-bottom: 1.25rem; font-family: var(--font-body); }
.formula-line { background: white; border-radius: 8px; padding: 1rem 1.5rem; margin: 0.75rem 0; border-left: 3px solid var(--primary-color); font-size: 0.95rem; }
.formula-result { background: linear-gradient(135deg, #b91c1c, #7f1d1d); color: white; border-radius: 8px; padding: 1rem 1.5rem; margin-top: 1rem; font-size: 1.05rem; font-weight: 700; }

.table-wrapper { overflow-x: auto; margin: 2rem 0; border-radius: 10px; box-shadow: var(--shadow-md); }
.data-table { width: 100%; border-collapse: collapse; background: white; }
.data-table thead { background: linear-gradient(135deg, #b91c1c, #d97706); color: white; }
.data-table th, .data-table td { padding: 1rem 1.25rem; text-align: left; font-size: 0.95rem; }
.data-table th { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.data-table tbody tr { border-bottom: 1px solid var(--border-color); transition: background var(--transition-fast); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--bg-secondary); }
.cell-green { color: var(--success-color); font-weight: 700; }
.cell-red { color: var(--danger-color); font-weight: 700; }
.cell-amber { color: var(--warning-color); font-weight: 700; }
.total-row { background: var(--bg-tertiary) !important; font-weight: 700; }

.key-findings { margin: 3rem 0; }
.key-findings h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.findings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.finding-card { padding: 1.5rem; background: var(--bg-secondary); border-radius: 10px; border: 1px solid var(--border-color); transition: all var(--transition-fast); }
.finding-card:hover { border-color: var(--primary-color); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.finding-number { display: inline-block; font-size: 1.5rem; font-weight: 900; color: var(--primary-color); opacity: 0.3; margin-bottom: 0.5rem; font-family: var(--font-mono); }
.finding-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.finding-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

.decision-matrix { overflow-x: auto; margin: 2rem 0; }
.decision-matrix table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; }
.decision-matrix th { background: rgba(255,255,255,0.1); padding: 0.9rem 1.25rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; text-align: left; color: #fca5a5; }
.decision-matrix td { padding: 0.85rem 1.25rem; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.08); color: #e2e8f0; }
.decision-matrix .risk-high { color: var(--danger-color); font-weight: 700; }
.decision-matrix .risk-moderate { color: var(--warning-color); font-weight: 700; }
.decision-matrix .risk-low { color: var(--success-color); font-weight: 700; }
.decision-matrix .impact-severe { color: var(--danger-color); font-weight: 700; }

.winner-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.winner-card { background: white; border: 2px solid var(--border-color); border-radius: 12px; padding: 2rem; transition: all var(--transition-fast); position: relative; overflow: hidden; }
.winner-card:hover { border-color: var(--success-color); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.winner-card::before { content: '\2605'; position: absolute; right: 1rem; top: 0.5rem; font-size: 3.5rem; color: rgba(5,150,105,0.06); pointer-events: none; }
.winner-card h4 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.75rem; }
.winner-card .winner-sector { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--success-color); margin-bottom: 1rem; }
.winner-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.winner-card .winner-ticker { display: inline-block; padding: 0.25rem 0.75rem; background: var(--bg-secondary); border-radius: 4px; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; color: var(--teal-color); }

.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.faq-item { border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; background: white; }
.faq-question { padding: 1.25rem 1.5rem; font-weight: 700; font-size: 1.05rem; cursor: pointer; background: var(--bg-secondary); display: flex; justify-content: space-between; align-items: center; transition: background var(--transition-fast); user-select: none; border: none; width: 100%; text-align: left; color: var(--text-primary); font-family: var(--font-body); }
.faq-question:hover { background: #e2e8f0; }
.faq-question .faq-icon { font-size: 1.2rem; transition: transform var(--transition-fast); color: var(--primary-color); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 900px; padding: 1.25rem 1.5rem; }
.faq-answer p { margin-bottom: 0.75rem; line-height: 1.8; font-size: 0.95rem; color: var(--text-secondary); }

.data-sources-section { background: var(--bg-secondary); padding: 2rem; border-radius: 12px; margin-bottom: 3rem; border: 1px solid var(--border-color); }
.data-sources-section ul { list-style: none; padding-left: 0; }
.data-sources-section ul li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.data-sources-section ul li::before { content: "\00A7"; position: absolute; left: 0; color: var(--primary-color); font-weight: 700; }
.data-sources-section a { color: var(--primary-color); text-decoration: none; word-break: break-all; }
.data-sources-section a:hover { text-decoration: underline; }

.related-reports { max-width: 1200px; margin: 3rem auto; padding: 2rem; background: var(--bg-secondary); border-radius: 16px; border: 1px solid var(--border-color); }
.related-reports h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.related-card { display: block; padding: 1.25rem; background: white; border: 1px solid var(--border-color); border-radius: 10px; text-decoration: none; color: var(--text-primary); transition: all var(--transition-fast); }
.related-card:hover { border-color: var(--primary-color); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.related-card-badge { font-size: 0.72rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.related-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.related-card p { font-size: 0.85rem; color: var(--text-muted); }

.chart-container { background:#fff; border-radius:14px; box-shadow:0 4px 24px rgba(185,28,28,0.08),0 1px 4px rgba(0,0,0,0.06); margin:2rem 0; overflow:hidden; border:1px solid #e2e8f0; }
.chart-header { background:linear-gradient(135deg,#b91c1c,#d97706); padding:1rem 1.5rem; display:flex; align-items:center; gap:0.75rem; }
.chart-header h4 { margin:0; color:#fff; font-size:0.95rem; font-weight:700; }
.chart-icon { font-size:1.25rem; }
.chart-subtitle { color:rgba(255,255,255,0.72); font-size:0.78rem; margin-left:auto; font-weight:500; }
.chart-body { padding:1.5rem; }
.chart-body canvas { max-height:450px; min-height:340px; }
.chart-footer { padding:0.65rem 1.5rem; background:#f8fafc; border-top:1px solid #e2e8f0; font-size:0.76rem; color:#78716c; }
.chart-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin:2rem 0; }
@media(max-width:768px){.chart-grid-2{grid-template-columns:1fr;}}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; margin: 2rem 0; }
.timeline::before { content: ''; position: absolute; left: 0.5rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--primary-color), var(--secondary-color)); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -1.6rem; top: 0.4rem; width: 12px; height: 12px; border-radius: 50%; background: var(--primary-color); border: 2px solid white; box-shadow: 0 0 0 2px var(--primary-color); }
.timeline-date { font-size: 0.8rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.35rem; }
.timeline-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.timeline-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.timeline-item.critical::before { background: var(--danger-color); box-shadow: 0 0 0 2px var(--danger-color); }
.timeline-item.critical .timeline-date { color: var(--danger-color); }

/* Sponsorship Banner */
.sponsorship-banner { display: flex; align-items: stretch; margin: 2.5rem 0; border-radius: 12px; background: linear-gradient(135deg, #0e3b23 0%, #175435 100%); border: 1px solid rgba(210,166,84,0.3); box-shadow: 0 8px 32px rgba(0,0,0,0.25); overflow: hidden; position: relative; }
.sp-bar { width: 6px; flex-shrink: 0; background: linear-gradient(180deg, #d2a654 0%, #ecd39d 50%, #d2a654 100%); }
.sp-body { display: flex; align-items: center; gap: 0; padding: 2rem 2.5rem; flex: 1; }
.sp-text-col { flex: 1; padding-right: 2.5rem; }
.sp-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; color: #d2a654; text-transform: uppercase; margin: 0 0 0.75rem; }
.sp-hl { font-size: 1.45rem; font-weight: 900; color: #ffffff; margin: 0 0 0.75rem; line-height: 1.3; letter-spacing: -0.01em; }
.sp-copy { font-size: 0.95rem; color: #f1f5f9; line-height: 1.65; font-weight: 500; margin: 0; max-width: 600px; }
.sp-rule { width: 2px; align-self: stretch; background: rgba(210,166,84,0.25); margin: 0 2.5rem; flex-shrink: 0; }
.sp-cta-wrap { text-align: center; flex-shrink: 0; }
.sp-icon-top { font-size: 2.1rem; color: #d2a654; margin-bottom: 0.8rem; filter: drop-shadow(0 2px 8px rgba(210,166,84,0.4)); animation: floatIcon 3s ease-in-out infinite; }
@keyframes floatIcon { 0% { transform: translateY(0); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
.sp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; background: #d2a654; color: #1a221f; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.05em; border: none; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(210,166,84,0.4); }
.sp-btn:hover { background: #e3b968; color: #1a221f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(210,166,84,0.6); }
.sp-btn i { font-size: 0.85rem; }
.sp-footnote { font-size: 0.75rem; color: #ffffff; font-weight: 500; margin-top: 12px; margin-bottom: 0; letter-spacing: 0.04em; }

/* Waste Visualization */
.waste-viz { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; margin: 2rem 0; }
.waste-viz h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; }
.waste-bar-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.waste-bar-label { width: 200px; font-size: 0.85rem; font-weight: 600; flex-shrink: 0; }
.waste-bar-track { flex: 1; height: 32px; background: var(--bg-tertiary); border-radius: 6px; overflow: hidden; position: relative; }
.waste-bar-fill { height: 100%; border-radius: 6px; display: flex; align-items: center; padding-left: 0.75rem; font-size: 0.78rem; font-weight: 700; color: white; transition: width 1.2s ease; }
.waste-bar-fill.solar { background: linear-gradient(90deg, #d97706, #f59e0b); }
.waste-bar-fill.wind { background: linear-gradient(90deg, #b91c1c, #ef4444); }
.waste-bar-fill.battery { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.waste-bar-value { font-size: 0.85rem; font-weight: 700; color: var(--text-secondary); width: 80px; text-align: right; }

.report-footer { background: #0f172a; color: #e2e8f0; padding: 3rem 0; text-align: center; border-top: 1px solid #1e293b; width: 100%; clear: both; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.footer-content p { margin: 0.5rem 0; font-size: 0.9rem; }
.footer-content a { color: #fca5a5; text-decoration: none; transition: color 0.2s; }
.footer-content a:hover { color: #fecaca; }

@media (max-width: 1100px) { .report-container { grid-template-columns: 240px 1fr; gap: 2rem; } }
@media (max-width: 900px) { .report-container { grid-template-columns: 1fr; } .sidebar { position: relative; top: 0; max-height: none; } .title-main { font-size: 1.9rem; } .content-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .sp-body { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.4rem; } }
@media (max-width: 640px) { .title-main { font-size: 1.5rem; } .section-title { font-size: 1.4rem; } .stats-dashboard { grid-template-columns: 1fr 1fr; } .main-nav { display: none; } .mobile-menu-toggle { display: block; } .header-container { padding: 0.75rem 1rem; } }
