/* Scenarios — What-If comparator panel (SCENARIOS-IMPACT-001).
   Namespace: .scn-*  (over the shared .ecbt-overlay / .ecbt-dialog tokens).
   File owner: app/css/scenarios.css (CLAUDE.md File Ownership rule).
   SPEC: docs/specs/features/SPEC_SCENARIOS_PROCESS_IMPACT.md (§5 UX).
   A11y: delta nunca depende só de cor — glyph direcional (▲▼▬–) no HTML. */

.scn-overlay {
    z-index: 9000;
}

.scn-overlay.scn-hidden {
    display: none;
}

.scn-dialog {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 720px;
    max-width: var(--ecbt-modal-xl);
    padding: var(--space-4) var(--space-5);
}

/* ---- Header ---- */
.scn-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-2) var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: var(--space-2);
}
.scn-header h2 {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}
.scn-subtitle {
    flex: 1 1 100%;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}
.scn-close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-xl);
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
}
.scn-close:hover,
.scn-close:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ---- Body ---- */
.scn-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.scn-clone-btn {
    background: var(--accent-bright, #38bdf8);
    color: #06121e;
    border: 0;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    min-height: 40px;
}
.scn-clone-btn:hover,
.scn-clone-btn:focus-visible {
    filter: brightness(1.08);
}

/* ---- Mutation controls ---- */
.scn-mutate {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: var(--space-3) var(--space-4);
    margin: 0;
}
.scn-mutate[disabled] {
    opacity: 0.5;
}
.scn-mutate legend {
    grid-column: 1 / -1;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    padding: 0 4px;
}
/* CFG-39 — botão Desfazer (undo da última mutação do cenário ativo). */
.scn-undo-btn {
    grid-column: 1 / -1;
    justify-self: start;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    min-height: 36px;
}
.scn-undo-btn:hover:not(:disabled),
.scn-undo-btn:focus-visible:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
}
.scn-undo-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.scn-subtype,
.scn-rate {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.78);
}
.scn-subtype-input,
.scn-rate-input {
    accent-color: var(--accent-bright, #38bdf8);
}
.scn-subtype-input {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 6px 8px;
    min-height: 36px;
}
.scn-rate-value {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

/* ---- Data-source banner (CFG-01: real vs. example honesty) ---- */
.scn-source {
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: var(--space-3, 12px);
    font-size: var(--text-sm);
    line-height: 1.4;
}
.scn-source--real {
    color: #b8f0c8;
    background: rgba(46, 160, 67, 0.14);
    border: 1px solid rgba(46, 160, 67, 0.4);
}
.scn-source--example {
    color: #ffe2a8;
    background: rgba(210, 153, 34, 0.15);
    border: 1px solid rgba(210, 153, 34, 0.45);
}
.scn-source--example strong {
    color: #ffd479;
}

/* ---- Comparator actions (add scenario + export) ---- */
.scn-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}
.scn-actions-spacer {
    flex: 1 1 auto;
}
.scn-add-scenario {
    background: rgba(56, 189, 248, 0.14);
    color: var(--accent-bright, #38bdf8);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    cursor: pointer;
    min-height: 36px;
}
.scn-add-scenario:hover,
.scn-add-scenario:focus-visible {
    background: rgba(56, 189, 248, 0.24);
}
.scn-export {
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
    min-height: 36px;
}
.scn-export:hover,
.scn-export:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

/* ---- Rejected scenarios notice (CFG-40 honesty) ---- */
.scn-rejected {
    color: #ffd479;
    background: rgba(210, 153, 34, 0.14);
    border: 1px solid rgba(210, 153, 34, 0.45);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    line-height: 1.4;
}
.scn-rejected ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

/* ---- Comparator table ---- */
.scn-empty {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: var(--space-4);
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

/* Horizontal scroll container so N scenario columns never overflow the dialog. */
.scn-table-scroll {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* ---- Multi-scenario table (Base + N × [value | Δ]) ---- */
.scn-table--multi {
    min-width: max-content;
}
.scn-table--multi .scn-col-dim {
    text-align: left;
    position: sticky;
    left: 0;
    background: var(--bg-secondary, #1e1e2e);
    z-index: 1;
}
.scn-table--multi tbody th[scope='row'] {
    position: sticky;
    left: 0;
    background: var(--bg-secondary, #1e1e2e);
    z-index: 1;
}
.scn-col-scenario {
    text-align: center;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
}
.scn-col-scenario.scn-col--active {
    color: var(--accent-bright, #38bdf8);
    border-left-color: rgba(56, 189, 248, 0.5);
}
.scn-col-label {
    font-weight: 700;
}
.scn-scenario-remove {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05em;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 6px;
    border-radius: 4px;
    min-width: 24px;
    min-height: 24px;
}
.scn-scenario-remove:hover,
.scn-scenario-remove:focus-visible {
    color: var(--accent-red, #ef4444);
    background: rgba(255, 255, 255, 0.08);
}
.scn-table--multi .scn-sub {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    text-transform: none;
    letter-spacing: 0;
}
.scn-table--multi .scn-alt {
    border-left: 2px solid rgba(255, 255, 255, 0.08);
}

/* ---- Consolidated verdict scope note ---- */
.scn-consolidated-scope {
    font-size: var(--text-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.scn-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}
.scn-table th,
.scn-table td {
    padding: 8px 12px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.scn-table thead th {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: var(--text-xs);
}
.scn-table tbody th[scope='row'] {
    text-align: left;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}
.scn-base,
.scn-alt {
    color: rgba(255, 255, 255, 0.82);
    font-variant-numeric: tabular-nums;
}
.scn-unit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
}
.scn-nodata {
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

/* ---- Delta cell (color + glyph; never color-only) ---- */
.scn-delta {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}
.scn-delta--good {
    color: var(--accent-green, #22c55e);
}
.scn-delta--bad {
    color: var(--accent-red, #ef4444);
}
.scn-delta--flat {
    color: rgba(255, 255, 255, 0.6);
}
.scn-delta--nodata {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* ---- ODS affected list ---- */
.scn-ods {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-3);
}
.scn-ods h3 {
    margin: 0 0 var(--space-2);
    font-size: var(--text-md, 1rem);
    color: rgba(255, 255, 255, 0.85);
}
.scn-ods-empty {
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    margin: 0;
}
.scn-ods-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.scn-ods-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}
.scn-ods-item.scn-delta--good {
    border-left-color: var(--accent-green, #22c55e);
}
.scn-ods-item.scn-delta--bad {
    border-left-color: var(--accent-red, #ef4444);
}
.scn-ods-badge {
    font-weight: 700;
    color: var(--accent-bright, #38bdf8);
    min-width: 56px;
}
.scn-ods-indicator {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.82);
}
.scn-ods-sinal {
    margin-left: auto;
    font-weight: 700;
}
.scn-ods-source {
    color: var(--accent-bright, #38bdf8);
    text-decoration: underline;
    font-size: var(--text-sm);
}
.scn-ods-source:hover,
.scn-ods-source:focus-visible {
    text-decoration: none;
}

/* ═══════ Horizonte + crescimento — bloco avançado (CFG-11) ═══════
   Widgets que expõem o horizonte de projeção (CFG-09) e o crescimento `g` por
   fase (CFG-10), que os motores já suportavam e a tela não ligava. Recolhido por
   default: é modo avançado (§2.4 CFG-11). */
/* A casca dos blocos avançados é COMPARTILHADA com o de robustez (CFG-33/34):
   um só conjunto de regras para os dois <details>, sem duplicar estilo. */
.scn-timeline,
.scn-robustness {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}
.scn-timeline > summary,
.scn-robustness > summary {
    cursor: pointer;
    padding: 10px var(--space-3);
    font-weight: 600;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
}
.scn-timeline > summary:hover,
.scn-timeline > summary:focus-visible,
.scn-robustness > summary:hover,
.scn-robustness > summary:focus-visible {
    background: rgba(255, 255, 255, 0.06);
}
.scn-timeline-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: 0 var(--space-3) var(--space-3);
}
.scn-timeline-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-3);
}
.scn-horizon,
.scn-growth {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: var(--space-2) var(--space-3) var(--space-3);
    margin: 0;
    min-width: 0;
}
.scn-horizon legend,
.scn-growth legend {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    padding: 0 4px;
}
.scn-hint {
    margin: 0;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}
.scn-hint--empty {
    font-style: italic;
}

/* ---- Campos (número / select) ---- */
.scn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.scn-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 130px;
    min-width: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.78);
}
.scn-field-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
}
.scn-num,
.scn-select {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 6px 8px;
    min-height: 36px;
    width: 100%;
    font-variant-numeric: tabular-nums;
    accent-color: var(--accent-bright, #38bdf8);
}
.scn-num:focus-visible,
.scn-select:focus-visible {
    outline: 2px solid var(--accent-bright, #38bdf8);
    outline-offset: 1px;
}

/* ---- Marcos curados 2030/2050/2100 (sugestão, não lista fechada) ---- */
.scn-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.scn-chip {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: var(--text-xs);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    min-height: 32px;
}
.scn-chip:hover:not([disabled]),
.scn-chip:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.07);
}
.scn-chip--on {
    color: var(--accent-bright, #38bdf8);
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(56, 189, 248, 0.16);
}
.scn-chip[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---- Leitura do que foi aplicado + badge de ajuste (auditabilidade) ---- */
.scn-readout {
    margin: 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.78);
    font-variant-numeric: tabular-nums;
}
.scn-milestone-tag {
    font-size: var(--text-xs);
    color: var(--accent-bright, #38bdf8);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 999px;
    padding: 1px 8px;
    margin-left: 4px;
}
/* Ajuste NUNCA é silencioso: o pedido do usuário não foi honrado literalmente. */
.scn-adjusted {
    margin: 0;
    font-size: var(--text-xs);
    line-height: 1.45;
    color: #ffe2a8;
    background: rgba(210, 153, 34, 0.14);
    border: 1px solid rgba(210, 153, 34, 0.45);
    border-radius: 8px;
    padding: 6px 10px;
}
.scn-adjusted-badge {
    font-weight: 700;
    color: #ffd479;
    margin-right: 4px;
}

/* ---- Editor de fases {fromYear, g} ---- */
.scn-phase-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.scn-phase-row {
    display: flex;
    align-items: flex-end;
    gap: var(--space-2);
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(56, 189, 248, 0.45);
}
.scn-phase-index {
    font-weight: 700;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.45);
    padding-bottom: 9px;
    min-width: 14px;
}
.scn-phase-remove {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05em;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    min-width: 32px;
    min-height: 32px;
}
.scn-phase-remove:hover,
.scn-phase-remove:focus-visible {
    color: var(--accent-red, #ef4444);
    background: rgba(255, 255, 255, 0.08);
}
.scn-add-phase {
    align-self: flex-start;
    background: rgba(56, 189, 248, 0.14);
    color: var(--accent-bright, #38bdf8);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    min-height: 36px;
}
.scn-add-phase:hover,
.scn-add-phase:focus-visible {
    background: rgba(56, 189, 248, 0.24);
}

/* ---- Série projetada (§5.2) — o que muda ao mexer nos widgets ---- */
.scn-series {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-3);
}
.scn-series h4 {
    margin: 0 0 var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
}
.scn-series-empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    font-size: var(--text-sm);
}
/* Horizonte de 100 anos: a série rola DENTRO do bloco, nunca estica o diálogo. */
.scn-series-scroll {
    max-height: 240px;
    overflow: auto;
    max-width: 100%;
    margin-top: var(--space-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}
.scn-table--series {
    min-width: max-content;
}
.scn-table--series thead th {
    position: sticky;
    top: 0;
    background: var(--bg-secondary, #1e1e2e);
    z-index: 1;
}
.scn-table--series tbody th[scope='row'] {
    font-variant-numeric: tabular-nums;
}
.scn-table--series td {
    color: rgba(255, 255, 255, 0.82);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ═══════ Incerteza P10–P90 + tornado de sensibilidade (CFG-33/34) ═══════
   O veredito consolidado deixa de ser um ponto e ganha uma FAIXA (banda Monte
   Carlo) mais um tornado que ranqueia as alavancas. Bloco avançado, recolhido
   por default — mesmo padrão do bloco de horizonte/crescimento (CFG-11). */
.scn-robustness-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: 0 var(--space-3) var(--space-3);
}
.scn-robustness-config {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: var(--space-2) var(--space-3) var(--space-3);
    margin: 0;
    min-width: 0;
}
.scn-robustness-config legend {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-sm);
    padding: 0 4px;
}

/* ---- Banda P10–P50–P90 ---- */
.scn-band h4,
.scn-tornado h4 {
    margin: 0 0 var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}
.scn-band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-2);
}
.scn-band-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    min-width: 0;
}
.scn-band-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
}
.scn-band-value {
    font-size: var(--text-md);
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.92);
    overflow-wrap: anywhere;
}
/* A mediana é a leitura principal da faixa: recebe o destaque. */
.scn-band-item--p50 {
    border-color: var(--accent-bright, #38bdf8);
    background: rgba(56, 189, 248, 0.1);
}
.scn-provenance {
    margin: 0;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

/* ---- Tornado ---- */
.scn-tornado-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.scn-tornado-row {
    display: grid;
    grid-template-columns: minmax(90px, 25%) 1fr minmax(70px, auto);
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
}
.scn-tornado-label {
    color: rgba(255, 255, 255, 0.78);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.scn-tornado-track {
    position: relative;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    min-width: 0;
}
/* Linha de referência = veredito central; a posição vem da VM pura. */
.scn-tornado-list .scn-tornado-track::before {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: var(--scn-tornado-base, 50%);
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
}
.scn-tornado-bar {
    position: absolute;
    top: 3px;
    bottom: 3px;
    border-radius: 3px;
    background: var(--accent-bright, #38bdf8);
    /* Amplitude 0 é um RESULTADO (alavanca que não move o veredito), não um
       erro de render: vira um tick visível em vez de sumir da tela. */
    min-width: 2px;
}
.scn-tornado-amp {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}
.scn-tornado-row--nodata .scn-tornado-amp,
.scn-tornado-nodata {
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}
.scn-tornado-nodata {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-left: 6px;
}
.scn-tornado-legend {
    margin: var(--space-2) 0 0;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.scn-tornado-legend-tick {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.35);
}
