/* Regional demand page — builds on styles.css, market.css and mining.css. */
.controls .rd-item input { width: 260px; max-width: 100%; }
.controls input.bad { border-color: var(--red); }
.rd-table td small { display: block; color: var(--faint); font-size: 10.5px; font-family: system-ui, sans-serif; margin: 0; }
.rd-table td.region b { font-weight: 600; font-family: system-ui, sans-serif; font-size: 12.5px; }
.rd-table tbody tr { cursor: pointer; }
#detail h3 { margin: 14px 0 6px; font-size: 13px; color: var(--muted); }
#detail .kpis { margin-bottom: 10px; }
#rdChart { width: 100%; height: 240px; display: block; }
.rd-vol { fill: var(--vol); }
.rd-vol.zero { fill: none; }
.rd-price { fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rd-window { fill: rgba(45, 212, 191, .06); }
.rd-legend { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; }
.rd-legend .sw { display: inline-block; width: 14px; height: 0; border-top: 2px solid var(--teal); margin-left: 8px; }
.rd-legend .sw.vol { border-top-width: 8px; border-color: var(--vol); width: 10px; margin-left: 0; }
.rd-chart-axis { display: flex; justify-content: space-between; font: 10.5px var(--mono); color: var(--faint); }
.fw-panel .table-head { flex-wrap: wrap; }
.fw-panel .table-head .scan-status { margin-left: auto; font-size: 12px; color: var(--muted); }
.fw-stock-head { margin-top: 18px; }
.fw-stock-head h3 { margin: 0; font-size: 14px; }
.fw-stock-head label { margin-left: auto; }
.fw-table .place .copy { margin-left: 4px; }
.fw-fight b { font-weight: 600; font-family: system-ui, sans-serif; font-size: 12.5px; }
.fw-item { display: flex; align-items: center; gap: 8px; }
.fw-item b { font-weight: 600; font-family: system-ui, sans-serif; font-size: 12.5px; }
.fw-table tr.fw-recs td { padding-top: 0; border-top: 0; }
.fw-recs td > * { vertical-align: middle; }
.fw-recs-label { font: 600 10.5px system-ui, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
.fw-rec { display: inline-flex; align-items: center; gap: 6px; margin: 2px 6px 2px 0; padding: 3px 8px 3px 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2); color: var(--text); cursor: pointer; text-align: left; font: inherit; }
.fw-rec:hover, .fw-rec:focus-visible { border-color: var(--teal); }
.fw-rec img { border-radius: 4px; }
.fw-rec b { display: block; font: 600 12px system-ui, sans-serif; }
.fw-rec small { display: block; font: 10.5px var(--mono); color: var(--teal); margin: 0; }
.fw-pick { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.fw-plan td.fw-lines { white-space: normal; min-width: 220px; }
.fw-line { display: inline-block; margin: 0 10px 2px 0; font-family: system-ui, sans-serif; font-size: 12px; }
.fw-line small { display: inline; color: var(--faint); }
.fw-plan .place small.muted, .fw-table td.l > small { display: block; }
#fwPlanKpis { margin: 4px 0 10px; }
