/* Today F1 hybrid attention strip — TAN-1119 / TAN-1120
   Gold held · cyan watch · no stars · above MI */
/* Age vs urgency legend chips */
.today-f1-leg-lab {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-left: 6px;
  margin-right: 2px;
}
.today-f1-leg-lab:first-child { margin-left: 0; }
.today-f1-urg-swatch {
  width: 10px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  opacity: 0.85;
}
.today-f1-urg-swatch.urg-hot { background: rgba(248, 113, 113, 0.45); }
.today-f1-urg-swatch.urg-warm { background: rgba(251, 191, 36, 0.4); }
.today-f1-urg-swatch.urg-mild { background: rgba(148, 163, 184, 0.28); }

/* Portrait: don't clip the strip */
@media (orientation: portrait) {
  .today-f1-host {
    max-height: none;
    overflow: visible;
  }
  .today-f1-rows {
    max-height: none;
  }
}

.today-f1-host {
  margin: 0 0 14px;
}
.today-f1 {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(26, 35, 50, 0.95), rgba(11, 17, 32, 0.98) 60%);
  overflow: hidden;
  position: relative;
}
.today-f1::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.45), rgba(234, 179, 8, 0.35), transparent);
  opacity: 0.9;
  pointer-events: none;
}
.today-f1-sh {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}
.today-f1-title {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e5e7eb;
}
.today-f1-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: today-f1-pulse 2s ease-out infinite;
}
@keyframes today-f1-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.today-f1-book {
  font-size: 10.5px;
  font-weight: 600;
  color: #fde68a;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.28);
  padding: 2px 8px;
  border-radius: 6px;
}
.today-f1-book em {
  font-style: normal;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.today-f1-book em.dn { color: #f87171; }
.today-f1-book em.up { color: #34d399; }
.today-f1-phase {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.28);
}
.today-f1-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 140px;
  max-width: 280px;
  margin-left: 4px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: #9ca3af;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
}
.today-f1-search:hover {
  border-color: rgba(59, 130, 246, 0.45);
  color: #e5e7eb;
  background: rgba(59, 130, 246, 0.08);
}
.today-f1-search-ph {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: #6b7280;
}
.today-f1-search:hover .today-f1-search-ph { color: #9ca3af; }
.today-f1-search kbd {
  font-size: 9px;
  font-family: inherit;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}
.today-f1-togs {
  margin-left: auto;
  display: flex;
  gap: 3px;
}
.today-f1-tog {
  font: inherit;
  font-size: 9.5px;
  font-weight: 650;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #6b7280;
  background: transparent;
  cursor: pointer;
}
.today-f1-tog:hover {
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.16);
}
.today-f1-tog.on {
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}
.today-f1-sec {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  padding: 7px 12px 3px;
}
.today-f1-div {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  margin: 4px 12px;
}
.today-f1-rows {
  padding: 2px 0 6px;
}
/* Group: primary row + nested prior signals (expand on row click) */
.today-f1-group {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}
.today-f1-group .today-f1-row-main {
  border-top: 0;
}
.today-f1-group.is-open .today-f1-row-main {
  background: rgba(255, 255, 255, 0.02);
}
.today-f1-expand {
  flex-shrink: 0;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
  line-height: 1.2;
}
.today-f1-expand:hover,
.today-f1-expand.is-open {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.12);
}
.today-f1-priors {
  padding: 0 0 4px 0;
  border-left: 2px solid rgba(148, 163, 184, 0.22);
  margin: 0 12px 4px 22px;
}
.today-f1-priors[hidden] {
  display: none !important;
}
.today-f1-row.today-f1-prior {
  padding: 4px 8px 4px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  cursor: default;
  opacity: 0.92;
}
.today-f1-row.today-f1-prior:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.02);
}
.today-f1-prior-rail {
  width: 6px;
  flex-shrink: 0;
}
.today-f1-prior-age {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.today-f1-tk[data-today-open] {
  cursor: pointer;
  border-radius: 3px;
}
.today-f1-tk[data-today-open]:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.today-f1-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease, filter 0.15s ease;
}
.today-f1-row.has-priors {
  cursor: pointer;
}
.today-f1-row:hover {
  filter: brightness(1.06);
}
.today-f1-row:focus-visible {
  outline: 1px solid rgba(59, 130, 246, 0.55);
  outline-offset: -1px;
}
/* Urgency = soft row wash (original intensity — not loud).
   hot → act first · warm → watch · mild → soft attention */
.today-f1-row.heat-hot {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.12), transparent 42%);
}
.today-f1-row.heat-warm {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.09), transparent 38%);
}
.today-f1-row.heat-mild {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 30%);
}
.today-f1-row.heat-hot:hover {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15), transparent 45%);
}
.today-f1-row.heat-warm:hover {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.11), transparent 40%);
}
.today-f1-row.heat-mild:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 32%);
}
/* Left bars removed — wash is the urgency signal. */
.today-f1-sev { display: none !important; }
.today-f1-row::before { display: none !important; }
.today-f1-row.accent-red { --row-accent: #f87171; }
.today-f1-row.accent-green { --row-accent: #34d399; }
.today-f1-row.accent-blue { --row-accent: #60a5fa; }
.today-f1-row.accent-pink { --row-accent: #f472b6; }
.today-f1-row.accent-yellow { --row-accent: #facc15; }
.today-f1-row.accent-amber { --row-accent: #fbbf24; }
.today-f1-row.accent-purple { --row-accent: #a855f7; }

/* Freshness dots — semantic (not decorative noise)
   hot <30m · warm <2h · cool <24h · multi multi-TF/signal · dim quiet */
.today-f1-fresh {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.95;
  background: #6b7280;
}
.today-f1-fresh.fresh-hot {
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: today-f1-fresh-pulse 2s ease-out infinite;
}
.today-f1-fresh.fresh-warm {
  background: #fbbf24;
  box-shadow: 0 0 5px rgba(251, 191, 36, 0.45);
}
.today-f1-fresh.fresh-cool {
  background: #22d3ee;
  opacity: 0.85;
}
.today-f1-fresh.fresh-multi {
  background: #c084fc;
  box-shadow: 0 0 6px rgba(192, 132, 252, 0.55);
}
.today-f1-fresh.fresh-dim {
  background: #4b5563;
  opacity: 0.55;
}
@keyframes today-f1-fresh-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.today-f1-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px 12px 2px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.today-f1-legend .today-f1-fresh {
  margin-left: 4px;
}
.today-f1-legend .today-f1-fresh:first-child {
  margin-left: 0;
}
.today-f1-legend span:not(.today-f1-fresh) {
  margin-right: 4px;
}
.today-f1-tk {
  width: 64px;
  flex-shrink: 0;
  font-weight: 750;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #e5e7eb;
}
.today-f1-tk.held { color: #fbbf24; }
.today-f1-tk.watch { color: #22d3ee; }
.today-f1-pct {
  width: 52px;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: #9ca3af;
}
.today-f1-pct.dn { color: #f87171; }
.today-f1-pct.up { color: #34d399; }
.today-f1-tag {
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Full-word tags — smart colors (bull reverse = green, not red) */
.today-f1-tag.t-move {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.2);
}
.today-f1-tag.t-setup {
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.28);
}
.today-f1-tag.t-pt {
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.22);
}
.today-f1-tag.t-tl {
  background: rgba(250, 204, 21, 0.12);
  color: #fde047;
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.22);
}
.today-f1-tag.t-pink {
  background: rgba(244, 114, 182, 0.14);
  color: #f9a8d4;
  box-shadow: inset 0 0 0 1px rgba(244, 114, 182, 0.22);
}
.today-f1-tag.t-conf {
  background: rgba(168, 85, 247, 0.14);
  color: #d8b4fe;
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.25);
}
.today-f1-tag.t-div {
  background: rgba(168, 85, 247, 0.18);
  color: #e9d5ff;
  box-shadow: inset 0 0 0 1px rgba(192, 132, 252, 0.35);
}
/* Bullish reversal = green (reclaim / bounce), not alarm red */
.today-f1-tag.t-rev {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35);
}
.today-f1-tag.t-catalyst {
  background: rgba(249, 115, 22, 0.16);
  color: #fdba74;
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.35);
}
.today-f1-tag.t-mkt {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Focus hero (mock F4) — severity ≥ 3 book burn */
.today-f1-focus {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 8px 10px 6px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(17, 24, 39, 0.92));
  cursor: pointer;
}
.today-f1-focus:hover {
  border-color: rgba(248, 113, 113, 0.45);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(17, 24, 39, 0.95));
}
.today-f1-focus-left {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.today-f1-focus-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.today-f1-focus-badge {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
}
.today-f1-focus-headline {
  font-size: 12.5px;
  color: #f1f5f9;
  font-weight: 600;
  line-height: 1.35;
}
.today-f1-focus-meta {
  font-size: 11px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.today-f1-focus-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 12px;
  gap: 6px;
  background: rgba(0, 0, 0, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.today-f1-focus-go,
.today-f1-focus-ghost {
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
}
.today-f1-focus-go {
  background: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}
.today-f1-focus-go:hover { filter: brightness(1.08); }
.today-f1-focus-ghost {
  background: transparent;
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.today-f1-focus-ghost:hover {
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.18);
}
.today-f1-why {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  color: #9ca3af;
  /* Prefer full words over mid-word ellipsis — 2-line clamp when needed */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  white-space: normal;
}
/* Chip owns the family label — never restate "Confluence" / "Scripts" in body */
.today-f1-cat { display: none !important; }
.today-f1-obj {
  color: #e5e7eb;
  font-weight: 600;
}
.today-f1-detail {
  color: #94a3b8;
  font-weight: 500;
}
.today-f1-detail::before {
  content: " · ";
  color: #64748b;
}
.today-f1-actions {
  display: none;
  flex-shrink: 0;
  gap: 4px;
}
.today-f1-row:hover .today-f1-actions {
  display: flex;
}
.today-f1-act {
  font-size: 9px;
  font-weight: 650;
  color: #9ca3af;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.today-f1-row:hover .today-f1-act {
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.16);
}
.today-f1-wt {
  width: 40px;
  flex-shrink: 0;
  text-align: right;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: #6b7280;
}
.today-f1-empty {
  padding: 14px 12px;
  font-size: 12px;
  color: #6b7280;
}
@media (prefers-reduced-motion: reduce) {
  .today-f1-live { animation: none; }
}
@media (max-width: 720px) {
  .today-f1-wt { display: none; }
  .today-f1-tk { width: 52px; }
}
