/* announcements: view-specific styles (keep small; prefer panel.css components) */
/* the three stats as one grey line above the list (never cut: an owner sees the whole values outside a list; a very long
   customer name or a phone wraps it) */
.ann-stats{margin:0 0 10px;font-size:13px;line-height:1.5;color:var(--muted)}
/* the list (v3, one line per row; data-list: compact for every role, the owner too). The title is the way in: one line,
   cut by CSS only (the whole text stays in its title and in the side panel); the sender under it. The cut cells are
   bounded (max-width) so the table never scrolls sideways at 1440 px. */
.ann-list .tbl td{padding:5px 16px;line-height:1.3;white-space:nowrap;vertical-align:middle}
.ann-list .tbl-sort{margin:0;padding:8px 12px 0}
.ann-cell{min-width:0;max-width:520px}
.ann-cell a.n{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:var(--text);text-decoration:none}
@media (hover:hover){.ann-list .tbl td a.n:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}}
.ann-list .tbl td a.n:focus-visible{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.ann-list .tbl td .sub{display:block;margin-top:1px;font-size:12px;line-height:1.25;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ann-list .tbl td .ann-m{display:none}
.ann-tg{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ann-reads{white-space:nowrap;font-variant-numeric:tabular-nums}
.ann-reads-d{display:flex;flex-direction:column;gap:5px;max-width:280px;font-size:12.5px;color:var(--muted)}
.card-h .ann-hide-s{font-size:12px;text-align:right}
/* the compose side panel */
.ann-form .seg{display:flex}
.ann-form .seg button{flex:1;justify-content:center}
.ann-form .select.err{border-color:var(--bad)}
.stack.ann-tight{gap:6px}                                     /* over calm.css .stack (loaded after this file) */
.ann-tight .disc{margin-top:2px}
.ann-body{min-height:140px}
.ann-count{text-align:right}
.ann-count.warn{color:var(--warn)}
.ann-small{margin:0;font-size:12px}
.ann-rec{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.ann-rec span:where(.ic){width:15px;height:15px;flex:none;color:var(--muted)}
.ann-rec.bad,.ann-rec.bad span:where(.ic){color:var(--bad)}
.ann-sub-h{font-size:12px;color:var(--muted);font-weight:600;margin:0 0 8px}
/* in-app preview */
.ann-pv{border:1px solid var(--line2);border-radius:12px;background:var(--bg2);overflow:hidden}
.ann-pv-h{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.ann-pv-h svg{width:18px;height:18px;flex:none}
.ann-pv-h b{display:block;color:var(--text)}
.ann-pv-h svg.wm{display:block;width:auto;height:13px;overflow:visible}
.ann-pv-h small{margin-left:auto;color:var(--faint);font-size:11px}
.ann-pv-b{padding:14px 16px 4px}
.ann-pv-b h4{font-size:15px;margin:0 0 6px;overflow-wrap:anywhere}
.ann-pv-b p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55}
.ann-pv .ph{color:var(--faint);font-style:italic;font-weight:400}
.ann-pv-f{display:flex;justify-content:flex-end;padding:10px 16px 14px}
.ann-pv-btn{display:inline-flex;align-items:center;height:28px;padding:0 14px;border-radius:7px;background:var(--accent);color:var(--accent-ink);font-size:12px;font-weight:600}
/* a phone: the Hedef and Gönderildi columns hide; the grey line carries the sender, the time and the target, still one
   line (cut with "…", the whole line in its title) */
@media (max-width:900px){.ann-list .tbl td .ann-m{display:inline}.ann-list .tbl td.ann-first{width:100%;max-width:0}.ann-list .ann-cell{max-width:none}}
@media (max-width:560px){.card-h .ann-hide-s{display:none}.ann-list .tbl td{padding:6px 10px}}
