:root {
    --analysis-bg: #080d16;
    --analysis-card: #111a29;
    --analysis-card-soft: #172235;
    --analysis-border: #29374b;
    --analysis-text: #f4f7fb;
    --analysis-muted: #9daabd;
    --analysis-green: #10b981;
    --analysis-blue: #3b82f6;
    --analysis-amber: #f59e0b;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--analysis-bg); color: var(--analysis-text); }
.analysis-page { min-height: 70vh; padding: 112px 20px 72px; font-family: Inter, system-ui, sans-serif; }
.analysis-shell { width: min(1180px, 100%); margin: 0 auto; }
.analysis-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: end; gap: clamp(36px, 6vw, 76px); padding: 52px 0 42px; border-bottom: 1px solid var(--analysis-border); }
.analysis-kicker { color: var(--analysis-green); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
.analysis-hero h1 { margin: 12px 0 14px; font-family: Georgia, serif; font-size: clamp(2.35rem, 6vw, 4.8rem); line-height: 1.02; }
.analysis-hero-copy > p { max-width: 760px; margin-bottom: 0; color: var(--analysis-muted); font-size: 1.08rem; line-height: 1.75; }
.analysis-hero-news { padding: 21px 22px 10px; background: linear-gradient(145deg, rgba(20,31,48,.94), rgba(12,21,34,.96)); border: 1px solid var(--analysis-border); border-radius: 16px; box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.analysis-hero-news-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 2px 13px; border-bottom: 1px solid rgba(41,55,75,.8); }
.analysis-hero-news-head > div { display: flex; align-items: center; gap: 9px; }
.analysis-hero-news-head h2 { margin: 0; font-size: .86rem; letter-spacing: .02em; }
.analysis-hero-news-head > a { color: var(--analysis-green); font-size: .73rem; font-weight: 700; text-decoration: none; }
.analysis-hero-news-head > a:hover { color: #6ee7b7; }
.analysis-live-dot { width: 7px; height: 7px; background: var(--analysis-green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(16,185,129,.11); }
.analysis-hero-news-list { display: grid; }
.analysis-hero-news-list > a { display: grid; gap: 6px; padding: 13px 2px; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(41,55,75,.65); }
.analysis-hero-news-list > a:last-child { border-bottom: 0; }
.analysis-hero-news-list > a:hover strong { color: var(--analysis-green); }
.analysis-hero-news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--analysis-blue); font-size: .63rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.analysis-hero-news-meta time { flex: 0 0 auto; color: var(--analysis-muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.analysis-hero-news-list strong { display: -webkit-box; overflow: hidden; color: #e8eef7; font-size: .83rem; font-weight: 650; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; transition: color .2s; }
.analysis-section { padding: 42px 0 0; }
.analysis-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.analysis-section h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.3rem); }
.analysis-section-subtitle { color: var(--analysis-muted); font-size: .9rem; }
.analysis-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px; overflow: hidden; color: inherit; text-decoration: none; background: linear-gradient(145deg, var(--analysis-card), var(--analysis-card-soft)); border: 1px solid var(--analysis-border); border-radius: 18px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.analysis-card:hover { transform: translateY(-4px); border-color: var(--analysis-green); box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.analysis-card-primary { min-height: 390px; padding: 38px; justify-content: space-between; background: radial-gradient(circle at 85% 5%, rgba(16,185,129,.28), transparent 40%), radial-gradient(circle at 5% 100%, rgba(59,130,246,.12), transparent 38%), linear-gradient(145deg, #111b2a, #101827); }
.analysis-card-primary::after { content: ""; position: absolute; top: -110px; right: -80px; width: 320px; height: 320px; border: 1px solid rgba(16,185,129,.17); border-radius: 50%; pointer-events: none; }
.analysis-featured-topline,.analysis-card-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analysis-featured-topline { position: relative; z-index: 1; }
.analysis-featured-badge { padding: 7px 11px; color: #d1fae5; background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.35); border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.analysis-period { color: #cbd5e1; font-size: .85rem; font-weight: 600; }
.analysis-featured-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 42px; margin: 46px 0 26px; }
.analysis-type { color: var(--analysis-green); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.analysis-card h2,.analysis-card h3 { margin: 12px 0; font-family: Georgia, serif; line-height: 1.2; }
.analysis-card-primary h2 { max-width: 900px; font-size: clamp(2rem, 4.2vw, 3.55rem); }
.analysis-card p { margin: 4px 0 0; color: var(--analysis-muted); line-height: 1.65; }
.analysis-card-primary p { max-width: 780px; font-size: 1.02rem; }
.analysis-read-more { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; padding: 12px 16px; color: #06130f; background: var(--analysis-green); border-radius: 10px; font-size: .86rem; font-weight: 800; white-space: nowrap; }
.analysis-read-more span { font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.analysis-card-primary:hover .analysis-read-more span { transform: translateX(3px); }
.analysis-meta { position: relative; z-index: 1; margin-top: auto; padding-top: 20px; color: var(--analysis-muted); font-size: .78rem; }
.analysis-archive-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 34px 0 15px; }
.analysis-archive-head h3 { margin: 0; font-size: 1.08rem; }
.analysis-archive-head span { color: var(--analysis-muted); font-size: .78rem; }
.analysis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.analysis-archive-grid .analysis-card { min-height: 292px; }
.analysis-archive-grid .analysis-card h3 { font-size: clamp(1.18rem, 1.8vw, 1.48rem); }
.analysis-archive-grid .analysis-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.analysis-card-arrow { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; color: var(--analysis-muted); border: 1px solid var(--analysis-border); border-radius: 50%; transition: color .2s, border-color .2s; }
.analysis-card:hover .analysis-card-arrow { color: var(--analysis-green); border-color: var(--analysis-green); }
.analysis-history-section { padding-top: 32px; }
.analysis-history { overflow: hidden; background: linear-gradient(145deg, rgba(17,26,41,.78), rgba(10,18,30,.92)); border: 1px solid var(--analysis-border); border-radius: 18px; }
.analysis-history summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 28px; cursor: pointer; list-style: none; transition: background .2s; }
.analysis-history summary::-webkit-details-marker { display: none; }
.analysis-history summary:hover { background: rgba(16,185,129,.045); }
.analysis-history summary h2 { margin: 5px 0 4px; font-family: Inter, sans-serif; font-size: 1.25rem; }
.analysis-history summary p { margin: 0; color: var(--analysis-muted); font-size: .82rem; }
.analysis-history-kicker { color: var(--analysis-green); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.analysis-history-toggle { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; color: var(--analysis-green); border: 1px solid rgba(16,185,129,.38); border-radius: 50%; font-size: 1.45rem; line-height: 1; transition: transform .2s, background .2s; }
.analysis-history[open] .analysis-history-toggle { transform: rotate(45deg); background: rgba(16,185,129,.1); }
.analysis-history-body { padding: 24px 28px 28px; border-top: 1px solid var(--analysis-border); }
.analysis-history-controls { display: flex; align-items: end; gap: 16px; }
.analysis-history-filter-group { display: grid; gap: 8px; }
.analysis-history-filter-group label { color: var(--analysis-muted); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.analysis-select-wrap { position: relative; min-width: 280px; color: var(--analysis-green); border-radius: 11px; }
.analysis-select-wrap::after { content: ""; position: absolute; top: 50%; right: 17px; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-65%) rotate(45deg); pointer-events: none; transition: transform .2s; }
.analysis-select-wrap:focus-within { box-shadow: 0 0 0 3px rgba(16,185,129,.15), 0 10px 30px rgba(0,0,0,.2); }
.analysis-select-icon { position: absolute; z-index: 1; top: 50%; left: 15px; width: 19px; height: 19px; transform: translateY(-50%); pointer-events: none; }
.analysis-select-wrap select { width: 100%; min-height: 48px; padding: 0 48px 0 46px; appearance: none; color: var(--analysis-text); background: linear-gradient(145deg, #101b2b, #0c1522); border: 1px solid #34455d; border-radius: 11px; outline: 0; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 650; transition: border-color .2s, background .2s; }
.analysis-select-wrap select:hover,.analysis-select-wrap select:focus { border-color: var(--analysis-green); background: linear-gradient(145deg, #132235, #0d1928); }
.analysis-select-wrap select option { color: var(--analysis-text); background: #101a29; }
.analysis-history-count { margin: 0 0 5px auto; padding: 7px 11px; color: #bbf7d0; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.22); border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.analysis-history-grid { margin-top: 20px; }
.analysis-history-card[hidden],.analysis-history-empty[hidden] { display: none; }
.analysis-history-empty { margin: 20px 0 0; padding: 24px; color: var(--analysis-muted); text-align: center; border: 1px dashed var(--analysis-border); border-radius: 12px; }
.analysis-news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.analysis-news-item { padding: 18px; color: inherit; text-decoration: none; border: 1px solid var(--analysis-border); border-radius: 12px; background: rgba(17,26,41,.65); }
.analysis-news-item:hover { border-color: var(--analysis-blue); }
.analysis-news-source { color: var(--analysis-blue); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.analysis-news-item h3 { margin: 8px 0 0; font-size: 1rem; line-height: 1.45; }
.analysis-empty { padding: 36px; color: var(--analysis-muted); text-align: center; border: 1px dashed var(--analysis-border); border-radius: 16px; }

.analysis-article { width: min(900px, 100%); margin: 0 auto; }
.analysis-breadcrumb { margin-bottom: 28px; color: var(--analysis-muted); font-size: .85rem; }
.analysis-breadcrumb a { color: var(--analysis-green); text-decoration: none; }
.analysis-article-header { padding-bottom: 30px; border-bottom: 1px solid var(--analysis-border); }
.analysis-article-header h1 { margin: 14px 0 18px; font-family: Georgia, serif; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.08; }
.analysis-article-header .analysis-excerpt { color: var(--analysis-muted); font-size: 1.12rem; line-height: 1.7; }
.analysis-article-body { padding-top: 34px; font-family: Georgia, serif; font-size: 1.08rem; line-height: 1.82; }
.analysis-article-body h2 { margin: 44px 0 14px; font-family: Inter, sans-serif; font-size: 1.45rem; }
.analysis-lead { font-size: 1.22rem; color: #dce5f0; }
.analysis-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
.analysis-metric { padding: 20px; border: 1px solid var(--analysis-border); border-radius: 14px; background: var(--analysis-card); font-family: Inter, sans-serif; }
.analysis-metric-label { display: block; margin-bottom: 8px; color: var(--analysis-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.analysis-metric strong { display: block; font-size: 1.45rem; color: var(--analysis-green); }
.analysis-metric small { display: block; margin-top: 7px; color: var(--analysis-muted); }
.analysis-table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--analysis-border); border-radius: 14px; }
.analysis-table { width: 100%; border-collapse: collapse; font-family: Inter, sans-serif; font-size: .9rem; }
.analysis-table th,.analysis-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--analysis-border); white-space: nowrap; }
.analysis-table th { color: var(--analysis-muted); background: var(--analysis-card); font-size: .72rem; text-transform: uppercase; }
.analysis-table tr:last-child td { border-bottom: 0; }
.analysis-ai-note,.analysis-disclaimer,.analysis-source-note { padding: 16px 18px; border-radius: 10px; font-family: Inter, sans-serif; font-size: .82rem; line-height: 1.6; }
.analysis-ai-note { color: #bfdbfe; background: rgba(59,130,246,.1); border-left: 3px solid var(--analysis-blue); }
.analysis-disclaimer { color: #fde68a; background: rgba(245,158,11,.08); border-left: 3px solid var(--analysis-amber); }
.analysis-source-note { color: var(--analysis-muted); background: rgba(157,170,189,.07); }
.analysis-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; font-family: Inter, sans-serif; }
.analysis-links a { padding: 10px 14px; color: #fff; text-decoration: none; border: 1px solid var(--analysis-border); border-radius: 8px; }
.analysis-links a:hover { border-color: var(--analysis-green); color: var(--analysis-green); }

@media (max-width: 850px) {
    .analysis-hero { grid-template-columns: 1fr; }
    .analysis-hero-news { max-width: 650px; }
    .analysis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analysis-featured-content { grid-template-columns: 1fr; gap: 24px; }
    .analysis-read-more { justify-self: start; }
    .analysis-news-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .analysis-page { padding: 88px 14px 50px; }
    .analysis-hero { gap: 30px; padding-top: 38px; }
    .analysis-hero-news { padding: 18px 17px 7px; }
    .analysis-hero-news-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
    .analysis-metrics { grid-template-columns: 1fr; }
    .analysis-card { padding: 20px; }
    .analysis-card-primary { min-height: 0; padding: 24px 20px; }
    .analysis-featured-topline { align-items: flex-start; flex-direction: column; gap: 10px; }
    .analysis-featured-content { margin: 34px 0 12px; }
    .analysis-card-primary h2 { font-size: clamp(1.75rem, 9vw, 2.35rem); }
    .analysis-grid { grid-template-columns: 1fr; }
    .analysis-archive-grid .analysis-card { min-height: 250px; }
    .analysis-archive-head { align-items: flex-start; flex-direction: column; gap: 5px; }
    .analysis-history summary { padding: 21px 19px; }
    .analysis-history-body { padding: 20px 18px; }
    .analysis-history-controls { align-items: stretch; flex-direction: column; }
    .analysis-select-wrap { width: 100%; min-width: 0; }
    .analysis-history-count { align-self: flex-start; margin: 2px 0 0; }
}
