/* Forecast · CSS do protótipo aprovado (app/forecast.html, opção A) com os tokens de Indicadores; prefixo fx-
   (o forecast.css antigo usa fc-). Gerado a partir do protótipo; ajustes do app no fim. */
.fx-gate { margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; background: var(--ind-soft); border: 1px solid var(--ind-line); font-size: 14px; }
.fx-verdict .ind-mark, .fx-verdict-sub .ind-mark { white-space: nowrap; }
.fx-verdict { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1.14; max-width: 30ch; text-wrap: balance; }
.fx-verdict-sub { margin-top: 10px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.012em; line-height: 1.35; color: var(--ind-ink-2); max-width: 56ch; }
.fx-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 18px 0; font-size: 13.5px; color: var(--ind-mut); }
.fx-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ind-mkt); }
.fx-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.fx-chart { position: relative; }
.fx-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx-otb { fill: var(--ind-own); }
.fx-proj { fill: url(#fx-hatch); stroke: var(--ind-own); stroke-width: 1.2; stroke-dasharray: 3 3; }
.fx-hatch-bg { fill: var(--ind-own); opacity: .1; }
.fx-hatch-ln { stroke: var(--ind-own); stroke-width: 2; opacity: .5; }
.fx-past { fill: var(--ind-ink); opacity: .17; }
.fx-said { stroke: var(--ind-ink); stroke-width: 1.6; stroke-dasharray: 3 2; opacity: .75; }
.fx-ly { stroke: var(--ind-mkt); stroke-width: 3; stroke-linecap: round; }
.fx-range { stroke: var(--ind-ink); stroke-width: 1.4; opacity: .75; }
.fx-colbg { fill: var(--ind-soft); opacity: 0; transition: opacity .15s; }
.fx-col:hover .fx-colbg { opacity: .6; }
.fx-col.is-sel .fx-colbg { opacity: 1; }
.fx-col { cursor: pointer; outline: none; }
.fx-col:focus-visible .fx-colbg { opacity: 1; stroke: var(--ind-ink); stroke-width: 1.5; }
.fx-col.is-sel .fx-mlabel { fill: var(--ind-ink); font-weight: 500; }
.fx-today { stroke: var(--ind-ink); opacity: .4; stroke-dasharray: 2 4; }
.fx-vlabel { font: 600 12px var(--ind-font) !important; fill: var(--ind-ink) !important; }
.fx-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: var(--ind-ink-2); }
.fx-legend span { display: inline-flex; align-items: center; gap: 7px; }
.fx-sw { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.fx-sw-otb { background: var(--ind-own); }
.fx-sw-proj { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--ind-own) 55%, transparent) 0 2px, color-mix(in srgb, var(--ind-own) 10%, transparent) 2px 5px); box-shadow: inset 0 0 0 1px var(--ind-own); }
.fx-sw-past { background: color-mix(in srgb, var(--ind-ink) 17%, transparent); }
.fx-sw-ly { height: 3px; border-radius: 2px; background: var(--ind-mkt); }
.fx-sw-range { width: 8px; height: 12px; border: 1.4px solid var(--ind-ink); border-left: 0; border-radius: 0 2px 2px 0; opacity: .75; }
.fx-detail { position: sticky; top: 16px; display: grid; gap: 14px; }
.fx-eyebrow { font-size: 13px; color: var(--ind-mut); }
.fx-big { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.fx-meter { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--ind-soft); box-shadow: inset 0 0 0 1px var(--ind-line-2); }
.fx-meter b { background: var(--ind-own); }
.fx-meter s { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--ind-own) 45%, transparent) 0 2px, transparent 2px 5px); }
.fx-meter-legend { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12.5px; color: var(--ind-mut); }
.fx-rows { display: grid; gap: 0; margin: 0; }
.fx-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ind-line-2); font-size: 14px; }
.fx-rows dt { color: var(--ind-ink-2); }
.fx-rows dd { margin: 0; font-weight: 650; text-align: right; }
.fx-rows small { display: block; font-weight: 400; color: var(--ind-mut); font-size: 12px; }
.fx-src { font-size: 12.5px; color: var(--ind-mut); }
.fx-risk h3 { font-size: 15px; font-weight: 650; margin-bottom: 8px; }
.fx-risk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fx-risk li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 13.5px; }
.fx-risk li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-bar2 { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--ind-soft); position: relative; overflow: hidden; }
.fx-bar2 i { position: absolute; inset: 0 auto 0 0; background: var(--ind-own); border-radius: 999px; }
.fx-bar2 u { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ind-ink); opacity: .55; }
.fx-lower { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.fx-acc { display: grid; gap: 10px; }
.fx-acc-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 10px; font-size: 13.5px; }
.fx-acc-track { position: relative; height: 22px; }
.fx-acc-track::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--ind-line); }
.fx-acc-track i { position: absolute; top: 7px; height: 8px; border-radius: 4px; background: var(--ind-ink); opacity: .55; }
.fx-acc-scale { display: flex; justify-content: space-between; font: 400 11px var(--ind-mono); color: var(--ind-mut); padding: 0 64px 0 74px; }
.fx-year { display: grid; gap: 10px; align-content: start; }
.fx-year img { height: 20px; width: auto; }
.fx-year-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fx-table summary { cursor: pointer; font-weight: 600; margin-top: 14px; min-height: 32px; display: inline-flex; align-items: center; }
.fx-table .ind-tbl { margin-top: 8px; }
.fx-tblwrap { overflow-x: auto; }
@media (max-width: 1100px) { .fx-layout, .fx-lower { grid-template-columns: 1fr; } .fx-detail { position: static; } }

/* Peças do app. */
.fx-head { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; margin: -6px 0 14px; }
.fx-head .rec-btn[hidden] { display: none; }
.fx-head .rec-btn:disabled { opacity: .55; cursor: default; }
.fx-mono { font: 400 12px var(--ind-mono); }
.fx-chart text { font: 400 11px var(--ind-mono); fill: var(--ind-mut); }
.fx-chart .fx-mlabel { font: 400 11px var(--ind-mono); }
.fx-rows dd.is-up, .fx-rows small.is-up { color: var(--ind-up); }
.fx-acc-v { text-align: right; font-weight: 600; }
.fx-year-row .fx-year-rev { font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.fx-detail .fx-big { color: var(--ind-ink); }
#tab-previsao .ind-card h2 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
