/* Trader News: the dashboard's coloured cells (the spreadsheet's colours) */
.tn-up { background: #dcfce7; }
.tn-down { background: #fee2e2; }
.tn-above1 { background: #fecaca; color: #991b1b; font-weight: 700; }
.tn-low { background: #fef3c7; color: #92400e; font-weight: 700; }
.tn-pos { color: #15803d; font-weight: 600; }
.tn-neg { color: #b91c1c; font-weight: 600; }
.tn-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.tn-tile { border: 1px solid #d0d7e2; border-radius: 8px; padding: .75rem 1rem; background: #fff; }
.tn-tile h4 { margin: 0 0 .5rem; color: #0b1f3a; }
.tn-tile .tn-row { display: flex; justify-content: space-between; padding: 2px 0; }
.tn-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: .8rem; font-weight: 700; color: #fff; }
.tn-Info { background: #2563eb; } .tn-Buy { background: #16a34a; } .tn-Sell { background: #dc2626; } .tn-Alert { background: #d97706; }
.tn-note { border-left: 4px solid #0b6e4f; padding: .5rem .75rem; background: #f3f8f6; margin: .5rem 0; }
.jmt-dark .tn-tile { background: #1e1e1e; border-color: #333; }
.jmt-dark .tn-tile h4 { color: #f5f5f5; }
