/* The Screener's result views and filter help (src/dashboard/screener-depth.js, docs/screener.md). Colours come from app.css's variables, so dark mode follows. Logical sides only, so a
   Hebrew page is the mirror of the English one. Phone first: the charts are two to a row on a phone, the panels are one column, and nothing here scrolls sideways. */
.scd-bar { display: grid; gap: 8px; }
.scd-bar > * { min-width: 0; }
.scd-tools { flex-wrap: wrap; gap: 8px; align-items: center; }
.scd-panel[hidden] { display: none; }
.scd-panel h3 { margin: 12px 0 6px; font-size: 14px; font-weight: 600; }
.scd-panel .chips { flex-wrap: wrap; }
.scd-panel .chip { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.scd-group { margin-block-end: 4px; }
.scd-help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.scd-help-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.scd-meaning { flex: 1 1 220px; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.scd-chosen { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 4px; }
.scd-chosen-row { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-block-end: 1px solid var(--line); }
.scd-label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.scd-actions { flex-wrap: wrap; gap: 8px; margin-block-start: 10px; }
/* The charts view: a tile for each stock, its last 60 closes as a line. */
.scd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 12px; }
.scd-tile { display: grid; gap: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: inherit; text-decoration: none; min-width: 0; }
.scd-tile:hover, .scd-tile:focus-visible { border-color: var(--accent, var(--line)); text-decoration: none; }
.scd-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.scd-move { font-variant-numeric: tabular-nums; font-size: 13px; white-space: nowrap; }
.scd-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.scd-spark { height: 40px; display: flex; align-items: center; justify-content: center; }
.scd-svg { width: 100%; height: 100%; display: block; overflow: visible; direction: ltr; }
.scd-svg polyline { stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.scd-svg.up polyline { stroke: var(--pos); }
.scd-svg.down polyline { stroke: var(--neg); }
.scd-foot { font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 0 6px; overflow-wrap: anywhere; }
.scd-none { font-size: 12px; }
.scd-note, .scd-caption { margin-block: 0; padding-block: 6px; }
