/* "What's new" on a stock (src/dashboard/stock-news.js). Colours come from app.css's variables, so dark mode follows; logical properties keep it right in Hebrew. No item is coloured good or bad: the only
   accent is the amber of an old copy, and the primary button that asks for a refresh. */
.sn-card { display: grid; gap: 10px; min-width: 0; }
.sn-card[hidden], .sn-chipbar[hidden] { display: none; }
.sn-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sn-head .grow { flex: 1; min-width: 0; }
.sn-title { margin: 0; font-size: var(--fs-head); }
.sn-sub { margin: 0; overflow-wrap: anywhere; }
.sn-stale { margin: 0; color: var(--watch); background: var(--watch-bg); border-radius: var(--radius-sm); padding: 6px 10px; overflow-wrap: anywhere; }
.sn-missing { margin: 0; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--panel-2); overflow-wrap: anywhere; }
.sn-empty { margin: 0; padding: 14px 0; color: var(--muted); overflow-wrap: anywhere; }
.sn-window { display: grid; gap: 4px; min-width: 0; }
.sn-window + .sn-window { margin-block-start: 6px; }
.sn-window-title { margin: 0; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
html[lang="he"] .sn-window-title { letter-spacing: 0; text-transform: none; }
.sn-items { list-style: none; margin: 0; padding: 0; display: grid; }
.sn-item { display: grid; gap: 3px; padding: 10px 0; border-block-end: 1px solid var(--line); min-width: 0; }
.sn-item:last-child { border-block-end: 0; }
.sn-item.routine { opacity: 0.78; }
.sn-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.sn-tags .chip { max-width: 100%; white-space: normal; font-size: 11px; }
.sn-headline { font-weight: 600; font-size: var(--fs-body); overflow-wrap: anywhere; min-width: 0; }
a.sn-headline { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a.sn-headline:hover { text-decoration-color: currentColor; }
.sn-summary, .sn-meta, .sn-since { margin: 0; overflow-wrap: anywhere; min-width: 0; }
.sn-meta a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; }
.sn-since-fig { font-variant-numeric: tabular-nums; font-weight: 600; }
.sn-foot { display: grid; gap: 3px; border-block-start: 1px solid var(--line); padding-block-start: 8px; overflow-wrap: anywhere; min-width: 0; }
.sn-skel { display: grid; gap: 12px; padding-block: 6px; }
.sn-skel .sn-bar { display: block; height: 12px; max-width: 100%; }
.sn-chipbar { display: flex; min-width: 0; }
.sn-chipbar[hidden] { display: none; }
button.sn-chip { max-width: 100%; white-space: normal; text-align: start; line-height: 1.3; padding-block: 6px; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); cursor: pointer; }
button.sn-chip:hover { border-color: var(--line-2); }
button.sn-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sn-chipbar-bar { display: inline-block; width: 11em; max-width: 60vw; height: 0.9em; vertical-align: middle; }
@media (max-width: 899px) { .sn-chipbar { margin-block: 2px; } }
/* An outlet's own English headline and one English sentence sit in a Hebrew page: they keep their own direction (dir=auto) and line up with the Hebrew words around them, on the right. */
html[dir="rtl"] .sn-headline, html[dir="rtl"] .sn-summary { text-align: right; }
