/* ── SHARED IC DESIGN SYSTEM — LIGHT THEME ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #fff; color: #111; line-height: 1.5; }

/* TICKER TAPE */
.ticker-tape { background: #000; border-bottom: 1px solid #1a1a1a; padding: 5px 24px; display: flex; gap: 24px; overflow: hidden; font-size: 11px; color: #666; white-space: nowrap; }
.ticker-tape .item { display: flex; gap: 6px; align-items: center; }
.ticker-tape .sym { color: #fff; font-weight: 600; }
.ticker-tape .up { color: #22c55e; }
.ticker-tape .dn { color: #ef4444; }
.ticker-tape .meta { color: #555; font-size: 10px; }

/* HEADER */
.site-header { background: #111; }
.header-top-bar { background: #000; border-bottom: 1px solid #1a1a1a; padding: 5px 32px; display: flex; align-items: center; gap: 16px; font-size: 10px; color: #555; }
.header-top-bar .live-indicator { display: flex; align-items: center; gap: 5px; }
.live-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; display: inline-block; }
.header-main { padding: 14px 32px; display: flex; align-items: center; gap: 24px; max-width: 1320px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; background: #FFD200; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; color: #111; flex-shrink: 0; }
.logo-text { font-size: 11px; font-weight: 700; color: #fff; line-height: 1.2; letter-spacing: 0.02em; }
.logo-text span { display: block; font-size: 9px; color: #666; font-weight: 400; letter-spacing: 0.04em; }
.header-search { flex: 1; max-width: 460px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 4px; padding: 8px 14px; font-size: 12px; color: #666; display: flex; align-items: center; gap: 8px; cursor: text; }
.header-search .cmd { margin-left: auto; font-size: 10px; background: #222; padding: 2px 6px; border-radius: 3px; }

/* NAV */
.site-nav { background: #111; border-top: 1px solid #1e1e1e; }
.site-nav ul { list-style: none; display: flex; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.site-nav ul li a { display: block; padding: 11px 15px; font-size: 13px; color: #aaa; text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.15s; white-space: nowrap; }
.site-nav ul li a:hover { color: #fff; }
.site-nav ul li a.active { color: #FFD200; border-bottom-color: #FFD200; }
.site-nav ul li a .nav-arrow { font-size: 9px; opacity: 0.5; margin-left: 2px; }

/* PAGE WRAPPER */
.page-wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* BREADCRUMB */
.breadcrumb { padding: 12px 0 0; font-size: 11px; color: #aaa; display: flex; gap: 6px; align-items: center; }
.breadcrumb a { color: #aaa; text-decoration: none; }
.breadcrumb a:hover { color: #111; text-decoration: underline; }
.breadcrumb .sep { color: #ddd; }
.breadcrumb .current { color: #555; font-weight: 500; }

/* PAGE HERO — LIGHT */
.page-hero { padding: 28px 0 24px; border-bottom: 1px solid #e8e5e0; background: #fff; }
.page-hero .eyebrow { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.page-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 700; font-style: italic; color: #111; line-height: 1.2; margin-bottom: 8px; }
.page-hero h1 em { font-style: italic; }
.page-hero .hero-desc { font-size: 13px; color: #666; max-width: 580px; line-height: 1.7; margin-bottom: 20px; }
.market-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.market-stat { }
.market-stat-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.market-stat-value { font-size: 16px; font-weight: 700; color: #111; }
.market-stat-value.up { color: #16a34a; }
.market-stat-value.dn { color: #dc2626; }
.market-stat-value.neutral { color: #555; }
.market-stat-sub { font-size: 10px; color: #aaa; margin-top: 2px; }

/* TABS */
.tab-bar { display: flex; border-bottom: 1px solid #e8e5e0; background: #fff; }
.tab-bar a { padding: 10px 16px; font-size: 12px; font-weight: 500; color: #888; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab-bar a:hover { color: #111; }
.tab-bar a.active { color: #111; border-bottom-color: #FFD200; }

/* FILTER ROW */
.filter-row { padding: 12px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid #f0ede8; }
.filter-row .filter-label { font-size: 11px; color: #aaa; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; font-size: 11px; border: 1px solid #e0ddd8; border-radius: 20px; cursor: pointer; background: #fff; color: #555; text-decoration: none; white-space: nowrap; }
.pill:hover { border-color: #111; color: #111; }
.pill.active { background: #111; color: #fff; border-color: #111; }
.filter-search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: #f8f6f2; border: 1px solid #e8e5e0; border-radius: 4px; padding: 6px 12px; font-size: 11px; color: #aaa; min-width: 180px; }

/* LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 32px; padding: 28px 0; align-items: start; }
.main-col { }
.sidebar-col { }

/* DATA TABLE */
.table-wrap { border: 1px solid #e8e5e0; border-radius: 4px; overflow: hidden; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th { background: #f8f6f2; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: #888; padding: 10px 14px; text-align: left; border-bottom: 1px solid #e8e5e0; white-space: nowrap; cursor: default; }
.data-table thead th.sort { cursor: pointer; }
.data-table thead th.sort:hover { color: #111; }
.data-table thead th .sort-icon { color: #FFD200; margin-left: 3px; }
.data-table thead th.r, .data-table td.r { text-align: right; }
.data-table tbody tr { border-bottom: 1px solid #f5f3ef; transition: background 0.1s; }
.data-table tbody tr:hover { background: #faf8f5; }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table td { padding: 11px 14px; font-size: 12px; color: #111; vertical-align: middle; }
.asset-cell { display: flex; align-items: center; gap: 10px; }
.asset-abbr { width: 30px; height: 30px; background: #f0ede8; border: 1px solid #e8e5e0; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #555; flex-shrink: 0; letter-spacing: -0.5px; }
.asset-sym { font-weight: 700; font-size: 13px; display: block; color: #111; }
.asset-name { font-size: 10px; color: #aaa; display: block; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.change-up { color: #16a34a; font-weight: 600; }
.change-dn { color: #dc2626; font-weight: 600; }
.badge { display: inline-block; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 2px; letter-spacing: 0.02em; }
.badge-up { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge-dn { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-neutral { background: #f8f6f2; color: #888; border: 1px solid #e8e5e0; }
.range-bar { width: 80px; }
.range-track { background: #f0ede8; height: 4px; border-radius: 2px; position: relative; margin-bottom: 3px; }
.range-fill { position: absolute; height: 100%; background: #FFD200; border-radius: 2px; }
.range-dot { position: absolute; top: -4px; width: 12px; height: 12px; background: #111; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #ccc; }
.range-labels { display: flex; justify-content: space-between; font-size: 9px; color: #bbb; }
.sparkline { width: 60px; height: 24px; }
.vol-bar { background: #f0ede8; height: 10px; border-radius: 2px; overflow: hidden; width: 60px; }
.vol-fill { background: #ddd; height: 100%; border-radius: 2px; }
.signal-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.signal-bull { color: #16a34a; }
.signal-bear { color: #dc2626; }
.signal-neut { color: #888; }
.signal-bar { width: 32px; height: 4px; border-radius: 2px; display: inline-block; margin-right: 4px; vertical-align: middle; }
.btn-analyse { display: inline-block; padding: 5px 12px; font-size: 10px; font-weight: 700; background: #FFD200; color: #111; border-radius: 3px; text-decoration: none; white-space: nowrap; letter-spacing: 0.02em; }
.btn-analyse:hover { background: #f0c700; }
.btn-ghost { display: inline-block; padding: 5px 12px; font-size: 10px; font-weight: 500; background: transparent; color: #555; border: 1px solid #ddd; border-radius: 3px; text-decoration: none; }

/* CARDS */
.card { background: #fff; border: 1px solid #e8e5e0; border-radius: 4px; margin-bottom: 16px; overflow: hidden; }
.card-head { padding: 13px 16px; border-bottom: 1px solid #f0ede8; display: flex; align-items: center; justify-content: space-between; }
.card-head h3 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: #111; }
.card-head a { font-size: 11px; color: #aaa; text-decoration: none; }
.card-head a:hover { color: #111; }
.card-body { padding: 16px; }

/* METRICS GRID */
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e8e5e0; border: 1px solid #e8e5e0; border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.metric-item { background: #fff; padding: 13px 15px; }
.metric-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
.metric-value { font-size: 15px; font-weight: 700; color: #111; }
.metric-value.up { color: #16a34a; }
.metric-value.dn { color: #dc2626; }
.metric-sub { font-size: 10px; color: #aaa; margin-top: 2px; }

/* CHART BLOCK */
.chart-block { border: 1px solid #e8e5e0; border-radius: 4px; overflow: hidden; margin-bottom: 16px; background: #fff; }
.chart-head { padding: 12px 16px; border-bottom: 1px solid #f0ede8; display: flex; align-items: center; gap: 0; }
.tf-btn { padding: 4px 10px; font-size: 11px; color: #aaa; cursor: pointer; border-radius: 3px; }
.tf-btn.active { background: #111; color: #fff; }
.chart-options { margin-left: auto; font-size: 11px; color: #aaa; }
.chart-area { background: #faf8f5; height: 300px; display: flex; align-items: center; justify-content: center; position: relative; }
.chart-svg { width: 100%; height: 100%; }
.chart-foot { padding: 8px 16px; border-top: 1px solid #f0ede8; display: flex; justify-content: space-between; font-size: 10px; color: #aaa; }

/* SYMBOL HERO — LIGHT */
.symbol-hero { background: #fff; border-bottom: 1px solid #e8e5e0; padding: 24px 0 20px; }
.symbol-hero-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.symbol-identity { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.symbol-logo { width: 44px; height: 44px; background: #f0ede8; border: 1px solid #e8e5e0; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #555; flex-shrink: 0; }
.symbol-meta-top { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }
.symbol-name { font-size: 22px; font-weight: 700; color: #111; font-family: Georgia, serif; font-style: italic; }
.symbol-price { font-size: 40px; font-weight: 800; color: #111; line-height: 1; letter-spacing: -1px; margin-bottom: 4px; }
.symbol-change { font-size: 15px; margin-bottom: 16px; }
.symbol-change.up { color: #16a34a; }
.symbol-change.dn { color: #dc2626; }
.symbol-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.symbol-stat-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.symbol-stat-value { font-size: 13px; font-weight: 600; color: #111; }
.symbol-stat-value.up { color: #16a34a; }
.symbol-stat-value.dn { color: #dc2626; }
.symbol-stat-value.accent { color: #ca8a04; }
.symbol-actions { display: flex; flex-direction: column; gap: 8px; min-width: 190px; flex-shrink: 0; }
.btn-primary { display: block; text-align: center; padding: 10px 18px; font-size: 13px; font-weight: 700; background: #FFD200; color: #111; border-radius: 3px; text-decoration: none; }
.btn-primary:hover { background: #f0c700; }
.btn-secondary { display: block; text-align: center; padding: 10px 18px; font-size: 12px; font-weight: 500; background: #fff; color: #111; border: 1.5px solid #e8e5e0; border-radius: 3px; text-decoration: none; }
.btn-secondary:hover { border-color: #111; }
.btn-note { font-size: 10px; color: #aaa; text-align: center; margin-top: 2px; }
.updated-at { font-size: 10px; color: #aaa; margin-top: 10px; }

/* AI ANALYSIS — LIGHT VERSION */
.ai-card { background: #fff; border: 1px solid #e8e5e0; border-radius: 4px; margin-bottom: 16px; overflow: hidden; }
.ai-card-head { padding: 13px 16px; border-bottom: 1px solid #f0ede8; display: flex; align-items: center; justify-content: space-between; }
.ai-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; color: #111; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ai-label .live-dot { background: #22c55e; }
.ai-signal-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 3px; font-size: 11px; font-weight: 700; }
.ai-signal-bull { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.ai-signal-bear { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.ai-signal-neut { background: #f8f6f2; color: #888; border: 1px solid #e8e5e0; }
.ai-indicators { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e8e5e0; border-bottom: 1px solid #e8e5e0; }
.ai-ind { background: #faf8f5; padding: 10px 14px; }
.ai-ind-name { font-size: 9px; color: #aaa; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.ai-ind-val { font-size: 13px; font-weight: 700; color: #111; }
.ai-ind-sig { font-size: 10px; margin-top: 2px; }
.ai-ind-sig.up { color: #16a34a; }
.ai-ind-sig.dn { color: #dc2626; }
.ai-ind-sig.neutral { color: #888; }
.ai-narrative { padding: 14px 16px; font-size: 13px; color: #444; line-height: 1.8; font-family: Georgia, 'Times New Roman', serif; border-bottom: 1px solid #f0ede8; }
.scenario-table { width: 100%; border-collapse: collapse; }
.scenario-table th { font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em; color: #aaa; padding: 8px 14px; text-align: left; border-bottom: 1px solid #f0ede8; }
.scenario-table td { padding: 10px 14px; font-size: 12px; border-bottom: 1px solid #faf8f5; }
.scenario-table tr:last-child td { border-bottom: none; }
.scenario-bull td:first-child { border-left: 3px solid #16a34a; }
.scenario-base td:first-child { border-left: 3px solid #ca8a04; }
.scenario-bear td:first-child { border-left: 3px solid #dc2626; }
.prob-pill { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.prob-bull { background: #f0fdf4; color: #15803d; }
.prob-base { background: #fefce8; color: #854d0e; }
.prob-bear { background: #fef2f2; color: #b91c1c; }

/* NEWS */
.news-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f3ef; }
.news-item:last-child { border-bottom: none; }
.news-thumb { width: 68px; height: 50px; background: #f0ede8; border-radius: 3px; flex-shrink: 0; }
.news-cat-tag { display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #888; border: 1px solid #e8e5e0; padding: 1px 6px; border-radius: 2px; margin-bottom: 4px; }
.news-title { font-size: 12px; font-weight: 600; line-height: 1.4; color: #111; margin-bottom: 3px; }
.news-title a { color: #111; text-decoration: none; }
.news-title a:hover { text-decoration: underline; }
.news-meta { font-size: 10px; color: #bbb; }

/* SCORE BAR */
.score-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.score-label { font-size: 11px; color: #555; min-width: 80px; }
.score-track { flex: 1; background: #f0ede8; height: 5px; border-radius: 3px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 3px; }
.score-fill.yellow { background: #FFD200; }
.score-fill.green { background: #16a34a; }
.score-fill.red { background: #dc2626; }
.score-fill.gray { background: #888; }
.score-val { font-size: 11px; font-weight: 700; color: #111; min-width: 35px; text-align: right; }

/* ECONOMIC CALENDAR */
.calendar-row { display: grid; grid-template-columns: 70px 1fr 70px 70px; gap: 0; }
.cal-cell { padding: 8px 10px; font-size: 11px; border-bottom: 1px solid #f5f3ef; }
.cal-cell.time { color: #888; font-family: monospace; }
.cal-cell.event strong { color: #111; font-weight: 600; }
.cal-cell.event span { color: #aaa; font-size: 10px; }
.cal-cell.impact-high { font-weight: 700; color: #dc2626; }
.cal-cell.num { text-align: right; color: #555; }
.impact-pill { display: inline-block; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 2px; margin-left: 5px; }
.impact-high { background: #fef2f2; color: #dc2626; }
.impact-med { background: #fef9c3; color: #854d0e; }
.impact-low { background: #f0f9ff; color: #0369a1; }

/* FOREX SPECIFICS */
.rate-display { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -2px; color: #111; }
.pip-row { display: flex; gap: 28px; margin-top: 12px; flex-wrap: wrap; }
.pip-item-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px; }
.pip-item-val { font-size: 14px; font-weight: 700; color: #111; }

/* ETF SPECIFICS */
.holdings-allocation { height: 8px; display: flex; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.alloc-1 { background: #111; }
.alloc-2 { background: #555; }
.alloc-3 { background: #888; }
.alloc-4 { background: #aaa; }
.alloc-5 { background: #ddd; }
.alloc-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.alloc-item { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #666; }
.alloc-dot { width: 8px; height: 8px; border-radius: 1px; flex-shrink: 0; }

/* CENTRAL BANK CARD */
.cb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.cb-card { border: 1px solid #e8e5e0; border-radius: 4px; padding: 14px 16px; background: #fff; }
.cb-name { font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; color: #aaa; margin-bottom: 6px; }
.cb-rate { font-size: 26px; font-weight: 800; color: #111; margin-bottom: 3px; }
.cb-change { font-size: 11px; color: #aaa; margin-bottom: 10px; }
.cb-next { font-size: 11px; color: #555; line-height: 1.7; border-top: 1px solid #f0ede8; padding-top: 8px; margin-top: 8px; }
.cb-next strong { color: #111; }

/* BROKER SIDEBAR */
.broker-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f5f3ef; gap: 10px; }
.broker-row:last-child { border-bottom: none; padding-bottom: 0; }
.broker-info { flex: 1; }
.broker-name { font-size: 13px; font-weight: 700; color: #111; margin-bottom: 2px; }
.broker-detail { font-size: 10px; color: #aaa; }
.broker-cta { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #111; text-decoration: none; white-space: nowrap; border-bottom: 2px solid #FFD200; padding-bottom: 1px; }
.broker-cta:hover { color: #555; }

/* CORRELATION TABLE */
.corr-table { width: 100%; border-collapse: collapse; }
.corr-table td { padding: 8px 10px; font-size: 11px; border-bottom: 1px solid #f5f3ef; }
.corr-table tr:last-child td { border-bottom: none; }
.corr-pair { color: #555; font-weight: 500; }
.corr-val { font-weight: 700; }
.corr-pos { color: #16a34a; }
.corr-neg { color: #dc2626; }
.corr-desc { color: #aaa; font-size: 10px; }

/* CONVERTER */
.converter-box { background: #faf8f5; border-radius: 3px; padding: 14px; margin-top: 10px; }
.converter-input { width: 100%; padding: 9px 12px; border: 1px solid #e8e5e0; border-radius: 3px; font-size: 15px; font-weight: 700; margin-bottom: 10px; color: #111; background: #fff; }
.converter-result { text-align: center; }
.converter-amount { font-size: 26px; font-weight: 800; color: #111; }
.converter-note { font-size: 10px; color: #aaa; margin-top: 3px; }

/* FAQ */
.faq-item { padding: 14px 0; border-bottom: 1px solid #f0ede8; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 13px; font-weight: 600; color: #111; margin-bottom: 6px; }
.faq-a { font-size: 12px; color: #555; line-height: 1.7; }

/* FOOTER */
.site-footer { background: #fff; border-top: 1px solid #e8e5e0; padding: 40px 32px 24px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; max-width: 1320px; margin: 0 auto 32px; }
.footer-brand .logo-text-footer { font-size: 12px; font-weight: 700; color: #111; margin-bottom: 8px; }
.footer-brand p { font-size: 11px; color: #888; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; color: #111; font-weight: 700; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: 12px; color: #888; text-decoration: none; }
.footer-col ul li a:hover { color: #111; }
.footer-bottom { max-width: 1320px; margin: 0 auto; padding-top: 20px; border-top: 1px solid #f0ede8; display: flex; justify-content: space-between; font-size: 11px; color: #aaa; }
.footer-disclaimer { font-size: 10px; color: #bbb; line-height: 1.6; max-width: 1320px; margin: 16px auto 0; }

/* RELATED ASSETS */
.related-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #f5f3ef; }
.related-row:last-child { border-bottom: none; }
.related-sym { font-weight: 700; font-size: 12px; }
.related-name { font-size: 10px; color: #aaa; margin-top: 1px; }

/* RESPONSIVE */



/* ── CHART + SIDE PANEL BLOCK (the layout Rina liked) ── */
.chart-hero { display: grid; grid-template-columns: 1fr 260px; gap: 0; border: 1px solid #e8e5e0; border-radius: 4px; overflow: hidden; background: #fff; margin-bottom: 16px; }
.chart-hero-main { border-right: 1px solid #e8e5e0; }
.chart-hero-header { padding: 12px 16px; border-bottom: 1px solid #f0ede8; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chart-hero-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #111; }
.chart-hero-tf { display: flex; gap: 2px; margin-left: auto; }
.chart-hero-tf .tf { padding: 4px 9px; font-size: 11px; color: #aaa; cursor: pointer; border-radius: 3px; }
.chart-hero-tf .tf.active { background: #111; color: #fff; }
.chart-hero-plot { background: #faf8f5; height: 280px; position: relative; }
.chart-hero-plot svg { width: 100%; height: 100%; display: block; }
.chart-hero-foot { padding: 8px 16px; border-top: 1px solid #f0ede8; display: flex; justify-content: space-between; font-size: 10px; color: #aaa; }
/* Side panel — data cells beside the chart */
.chart-side { display: flex; flex-direction: column; }
.side-cell { padding: 12px 16px; border-bottom: 1px solid #f0ede8; }
.side-cell:last-child { border-bottom: none; }
.side-cell.hero-cell { background: #faf8f5; }
.side-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.side-value { font-size: 15px; font-weight: 700; color: #111; }
.side-value.big { font-size: 24px; letter-spacing: -0.5px; }
.side-value.up { color: #16a34a; }
.side-value.dn { color: #dc2626; }
.side-value.accent { color: #ca8a04; }
.side-change { font-size: 12px; margin-top: 2px; }
.side-change.up { color: #16a34a; }
.side-change.dn { color: #dc2626; }
.side-split { display: grid; grid-template-columns: 1fr 1fr; }
.side-split .side-cell { border-right: 1px solid #f0ede8; }
.side-split .side-cell:nth-child(even) { border-right: none; }
.side-range-track { background: #f0ede8; height: 4px; border-radius: 2px; position: relative; margin: 6px 0 3px; }
.side-range-fill { position: absolute; height: 100%; background: #FFD200; border-radius: 2px; }
.side-range-dot { position: absolute; top: -4px; width: 11px; height: 11px; background: #111; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #ddd; }
.side-range-labels { display: flex; justify-content: space-between; font-size: 9px; color: #bbb; }

/* ── NAV DROPDOWN ── */
.nav-has-dropdown { position: relative; }
.nav-dropdown { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #e8e5e0; border-top: 2px solid #FFD200; border-radius: 0 0 4px 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); min-width: 480px; padding: 16px; z-index: 200; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.nav-dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; font-size: 12px; color: #444; text-decoration: none; border-radius: 3px; border-bottom: none; }
.nav-dropdown a:hover { background: #faf8f5; color: #111; }
.nav-dropdown a .nd-chg-up { color: #16a34a; font-size: 11px; }
.nav-dropdown a .nd-chg-dn { color: #dc2626; font-size: 11px; }
.nav-dropdown .nd-full { grid-column: 1 / -1; border-top: 1px solid #f0ede8; margin-top: 6px; padding-top: 10px; }
.nav-dropdown .nd-full a { color: #ca8a04; font-weight: 600; }
.nav-dd-label { grid-column: 1 / -1; font-size: 9px; text-transform: uppercase; letter-spacing: 0.09em; color: #bbb; padding: 0 8px 4px; }

/* ── ANSWER ISLAND (GEO summary block) ── */
.answer-island { background: #faf8f5; border: 1px solid #e8e5e0; border-left: 3px solid #FFD200; border-radius: 4px; padding: 16px 18px; margin-bottom: 16px; }
.answer-island-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.09em; color: #aaa; margin-bottom: 8px; }
.answer-island p { font-size: 13px; line-height: 1.75; color: #333; }
.answer-island p strong { color: #111; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE LAYER — mobile-first hardening (2026 grade)
   ═══════════════════════════════════════════════════════════ */

/* Ticker tape: smooth horizontal scroll, hide scrollbar */
.ticker-tape { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ticker-tape::-webkit-scrollbar { display: none; }

/* Table wrapper allows horizontal scroll on small screens without breaking layout */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { min-width: 640px; }

/* Dropdown hover (desktop) + static preview */
.nav-dropdown { display: none; }
@media (hover: hover) and (min-width: 901px) {
  .nav-has-dropdown:hover .nav-dropdown { display: grid; }
}

/* ─────────── TABLET / SMALL LAPTOP  ≤ 1024px ─────────── */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr 260px; gap: 20px; }
  .chart-hero { grid-template-columns: 1fr 220px; }
}

/* ─────────── TABLET  ≤ 900px ─────────── */
@media (max-width: 900px) {
  /* Sidebar moves BELOW content instead of disappearing */
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .sidebar-col { display: block; margin-top: 24px; }
  /* Chart + side panel: side panel wraps below chart as a row of cells */
  .chart-hero { grid-template-columns: 1fr; }
  .chart-hero-main { border-right: none; border-bottom: 1px solid #e8e5e0; }
  .chart-side { flex-direction: row; flex-wrap: wrap; }
  .chart-side > .side-cell { flex: 1 1 33%; border-right: 1px solid #f0ede8; }
  .chart-side > .side-split { flex: 1 1 100%; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-indicators { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cb-grid { grid-template-columns: 1fr 1fr; }
}

/* ─────────── MOBILE  ≤ 640px ─────────── */
@media (max-width: 640px) {
  html { font-size: 13px; }
  .header-main { padding: 12px 16px; gap: 12px; }
  .header-search { display: none; }              /* search collapses to icon-less; use burger search */
  .header-top-bar { padding: 5px 16px; gap: 10px; font-size: 9px; flex-wrap: wrap; }
  .page-wrap { padding: 0 16px; }

  /* NAV becomes horizontal scroll strip (accordion handled by JS in prod) */
  .site-nav > ul { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .site-nav > ul::-webkit-scrollbar { display: none; }
  .nav-dropdown { position: static; min-width: 0; box-shadow: none; border: none; border-top: 1px solid #f0ede8; grid-template-columns: 1fr 1fr; }

  .page-hero h1 { font-size: 23px; }
  .market-stats { gap: 16px 20px; }
  .market-stat-value { font-size: 14px; }

  /* Hero price scales down so it never overflows */
  .symbol-price { font-size: 32px; }
  .rate-display { font-size: 34px; }
  .side-value.big { font-size: 20px; }

  /* Metrics & indicators to 2 columns */
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  .ai-indicators { grid-template-columns: repeat(2, 1fr); }

  /* Chart side cells: 2 per row on phones */
  .chart-side > .side-cell { flex: 1 1 50%; }

  /* Scenario table: allow horizontal scroll, keep readable */
  .ai-card .scenario-table { min-width: 480px; }
  .ai-card table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Tabs scroll horizontally */
  .tab-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tab-bar::-webkit-scrollbar { display: none; }

  /* Filter row wraps cleanly */
  .filter-row { gap: 6px; }
  .filter-search { margin-left: 0; width: 100%; margin-top: 8px; }

  /* Footer single column */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .cb-grid { grid-template-columns: 1fr; }

  /* Two stacked CTAs become full width */
  .symbol-actions { min-width: 0; }
}

/* ─────────── SMALL PHONE  ≤ 380px (iPhone SE etc.) ─────────── */
@media (max-width: 380px) {
  .symbol-price { font-size: 27px; }
  .rate-display { font-size: 28px; }
  .page-hero h1 { font-size: 20px; }
  .chart-side > .side-cell { flex: 1 1 100%; }   /* one cell per row */
  .metrics-grid, .metrics-grid[style*="repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  .market-stats { gap: 12px 16px; }
  .logo-text { font-size: 10px; }
  .btn-primary, .btn-secondary { padding: 11px 14px; }  /* bigger tap target */
}

/* Tap targets: all interactive elements min 40px high on touch devices */
@media (hover: none) {
  .btn-analyse { padding: 8px 14px; }
  .pill { padding: 7px 14px; }
  .broker-cta { padding-bottom: 3px; }
  .tab-bar a { padding: 13px 16px; }
}
