:root {
  color-scheme: dark;  /* force dark — match the other turtletrading tools (no light on light-mode devices) */
  --bg: #fafaf7;
  --fg: #1a1a1a;
  --muted: #666;
  --border: #e0e0d8;
  --accent: #2680ff;
  --tier-news: #c44;
  --tier-thinker: #2a7;
  --tier-community: #888;
  --tier-video: #c70;
  --tier-repo: #6c5ce7;
  --rel: #d80;
}
@media all {
  :root {
    --bg: #1a1a17;
    --fg: #e8e8e0;
    --muted: #999;
    --border: #333;
    --accent: #7dc4ff;
  }
}
/* Turtle Hub light theme — set via ?hubtheme=light / postMessage (see base.html).
   Overrides ONLY surface/text/border vars by role; semantic colors (accent, tiers,
   breaking red/orange) stay as-is. Default remains dark. */
html[data-theme="light"] {
  color-scheme: light;    /* flip native controls (search input, scrollbar) to light */
  --bg: #f6f8fa;          /* page background */
  --fg: #1a2129;          /* primary text */
  --muted: #5b6675;       /* muted/dim text */
  --border: #d6dce4;      /* borders */
  --card-bg: #ffffff;     /* topic-card / panel surface */
  --accent: #2680ff;      /* slightly deeper blue for contrast on light bg */
}
* { box-sizing: border-box }
/* Reset browser default :visited (purple) — every anchor below sets its
   own color; this prevents UA visited-style from shadowing text. */
a:visited { color: inherit }
a, a:link { color: var(--accent) }
body {
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  margin: 0;
  padding: 0;
}
header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topnav {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  text-decoration: none;
}
.topsearch { flex: 1; display: flex; max-width: 480px; margin-left: 8px;
  position: relative; }
.topsearch input {
  width: 100%; padding: 6px 12px; font: inherit; font-size: 14px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--border); border-radius: 6px;
}
.topsearch input:focus { outline: 1px solid var(--accent); border-color: var(--accent) }
.suggest-list {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  margin: 4px 0 0 0; padding: 4px 0; list-style: none;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--border); border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  max-height: 60vh; overflow-y: auto;
}
.suggest-item a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px 12px; text-decoration: none; color: var(--fg);
}
.suggest-item.active a, .suggest-item a:hover { background: var(--border); }
.suggest-title { font-size: 14px; line-height: 1.3; }
.suggest-source { font-size: 11px; color: var(--muted); }
main { max-width: 900px; margin: 0 auto; padding: 20px }

.filters { margin-bottom: 16px }
.filter-row {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 8px;
}
.flabel { color: var(--muted); font-size: 13px; min-width: 110px }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--fg);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}
.chip:hover { border-color: var(--accent) }
.chip-active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.chip .n { color: var(--muted); font-size: 11px }
.chip-active .n { color: rgba(255,255,255,0.7) }

/* Search box + source select — match chip aesthetic */
.search-input, .source-select {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--fg);
  font-size: 13px;
  padding: 3px 10px;
  font-family: inherit;
}
.search-input { min-width: 200px; flex: 1 1 200px; max-width: 320px }
.source-select { max-width: 280px }
.search-input:focus, .source-select:focus {
  outline: none; border-color: var(--accent);
}
.source-select option { background: var(--bg); color: var(--fg) }
button.chip { cursor: pointer; font-family: inherit }

.meta { color: var(--muted); font-size: 13px; margin: 12px 0 8px }

.feed { list-style: none; padding: 0; margin: 0 }
.item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.line1 {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.badge {
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  background: var(--border);
  color: var(--fg);
}
.badge.tier { color: white }
.tier-news .badge.tier { background: var(--tier-news) }
.tier-thinker .badge.tier { background: var(--tier-thinker) }
.tier-community .badge.tier { background: var(--tier-community) }
.tier-video .badge.tier { background: var(--tier-video) }
.tier-repo .badge.tier { background: var(--tier-repo) }

/* Detail page */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: flex; gap: 12px; flex-wrap: wrap }
.crumbs a { color: var(--muted); text-decoration: none }
.crumbs a:hover { color: var(--accent) }
.detail { padding: 8px 0 24px }
.detail-title {
  font-size: 24px; line-height: 1.3; margin: 12px 0 16px; color: var(--fg);
}
.detail-desc {
  font-size: 16px; line-height: 1.6; color: var(--fg);
  margin: 16px 0; padding: 12px 16px;
  border-left: 3px solid var(--accent); background: rgba(0,0,0,0.02);
}
@media all {
  .detail-desc { background: rgba(255,255,255,0.03) }
}
.tickers { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.source-link {
  margin: 24px 0 12px; padding: 16px;
  border: 1px solid var(--border); border-radius: 8px;
}
.source-link > a {
  display: inline-block; font-size: 16px; color: var(--accent);
  text-decoration: none; font-weight: 600;
}
.source-link > a:hover { text-decoration: underline }
.source-note {
  font-size: 12px; color: var(--muted); margin: 8px 0 0; line-height: 1.5;
}

.related { margin-top: 28px }
.related h2 { font-size: 16px; margin: 0 0 8px; color: var(--muted) }
.feed.compact .item { padding: 6px 0; display: flex; gap: 8px; align-items: baseline }
.feed.compact .item a { color: var(--fg); text-decoration: none; flex: 1 }
.feed.compact .item a:hover { color: var(--accent) }
.feed.compact .item .time { font-size: 11px; color: var(--muted) }
.badge.cat { background: rgba(100,100,200,0.15); color: var(--fg) }
.badge.rel { background: var(--rel); color: white }
/* Phase 4f.16 — state-media warning badge for Xinhua/TASS counter-narrative */
.badge.state-media {
  background: rgba(220, 140, 30, 0.18);
  color: #c47a18;
  border: 1px solid rgba(220, 140, 30, 0.4);
  font-size: 11px;
}

.src { color: var(--muted); text-decoration: none }
.src:hover { color: var(--accent) }
.time { margin-left: auto; color: var(--muted) }

.title { font-size: 16px; font-weight: 600; margin: 4px 0 4px }
.title a { color: var(--fg); text-decoration: none }
.title a:hover { color: var(--accent) }
.desc { color: var(--muted); font-size: 13px; margin: 0 }

.empty { padding: 40px 0; text-align: center; color: var(--muted) }

/* Live "N tin mới" pill — sticky at the top of the feed; JS unhides it. */
.fresh-pill { position: sticky; top: 8px; z-index: 20; display: flex; justify-content: center; margin: 8px 0 4px }
.fresh-pill[hidden] { display: none }
.fresh-pill button {
  background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.fresh-pill button:hover { filter: brightness(1.08) }

.pager { display: flex; gap: 16px; justify-content: center; margin: 24px 0 }
.pager a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  text-decoration: none;
}
.pager a:hover { border-color: var(--accent); color: var(--accent) }

footer {
  max-width: 900px; margin: 40px auto 20px;
  padding: 16px 20px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 12px;
}
footer a { color: var(--muted) }

.orig-en {
  margin: 16px 0 0; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 6px;
  background: rgba(0,0,0,0.02);
}
.orig-en summary {
  cursor: pointer; color: var(--muted); font-size: 13px;
  user-select: none; outline: none;
}
.orig-en summary:hover { color: var(--accent) }
.orig-en .orig-title { margin: 12px 0 6px; color: var(--fg) }
.orig-en .orig-desc { margin: 0; color: var(--muted); font-size: 14px }
@media all {
  .orig-en { background: rgba(255,255,255,0.03) }
}

.orig-title-small {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

.footer-compliance {
  margin: 10px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid var(--border, #e0e0e0);
  color: var(--muted);
  line-height: 1.4;
}

/* Phase 3.5b — Breaking news section + badge */
.breaking {
  margin: 12px 0 20px; padding: 12px 16px;
  border: 1px solid rgba(220, 60, 60, 0.35);
  border-left: 3px solid #d4393a;
  border-radius: 6px;
  background: rgba(220, 60, 60, 0.04);
}
.breaking-h {
  font-size: 14px; font-weight: 600; margin: 0 0 8px;
  color: #d4393a; letter-spacing: 0.2px;
}
.breaking-meta { color: var(--muted); font-weight: 400; font-size: 12px }
.breaking .feed.compact .item { padding: 4px 0 }
.breaking .feed.compact .item a { color: var(--fg); font-weight: 500 }
.breaking .feed.compact .item a:hover { color: #d4393a }

.badge.breaking {
  background: #d4393a; color: white;
  font-size: 11px; padding: 1px 6px; border-radius: 3px;
}
@media all {
  .breaking { background: rgba(220, 60, 60, 0.07); border-color: rgba(220, 60, 60, 0.5) }
  .breaking-h { color: #ff6b6b }
  .breaking .feed.compact .item a:hover { color: #ff6b6b }
  .badge.breaking { background: #ff5050 }
}

.breaking-more { margin-top: 8px }
.breaking-more summary {
  cursor: pointer; color: #d4393a; font-size: 12px; font-weight: 500;
  user-select: none; outline: none; padding: 4px 0;
}
.breaking-more summary:hover { text-decoration: underline }
.breaking-more[open] summary::after { content: " (đang mở)"; color: var(--muted); font-weight: 400 }
@media all {
  .breaking-more summary { color: #ff6b6b }
}

/* Phase 3.5g — On-demand summary block */
.summary-block {
  margin: 20px 0; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 6px;
  background: rgba(38, 128, 255, 0.04);
}
.summary-h {
  font-size: 14px; font-weight: 600; margin: 0 0 8px;
  color: var(--accent); letter-spacing: 0.2px;
}
.summary-by-ai {
  font-size: 11px; font-weight: 400; color: var(--muted);
  letter-spacing: 0; font-style: italic;
}
.summary-text {
  font-size: 15px; line-height: 1.6; color: var(--fg); margin: 0;
}
.summary-status { font-size: 13px; color: var(--muted); margin: 4px 0 0 }
.summary-btn {
  font-family: inherit; font-size: 13px; padding: 6px 14px;
  background: var(--accent); color: white;
  border: 0; border-radius: 4px; cursor: pointer;
}
.summary-btn:hover { opacity: 0.9 }
.summary-btn:disabled { opacity: 0.5; cursor: wait }
@media all {
  .summary-block { background: rgba(125, 196, 255, 0.05) }
}

/* Phase 3.5k — Compact filter UI */
.search-row { margin-bottom: 8px }
.search-row .search-input { font-size: 14px; min-width: 240px }
.active-filters { gap: 4px; margin-bottom: 6px }
.filters-more {
  margin: 4px 0 12px;
}
.filters-more summary {
  cursor: pointer; color: var(--muted); font-size: 13px;
  user-select: none; outline: none; padding: 4px 0;
  list-style: none;
}
.filters-more summary::-webkit-details-marker { display: none }
.filters-more summary:hover { color: var(--accent) }
.filters-more[open] summary { color: var(--accent); margin-bottom: 8px }

/* Phase 3.5r — Loading spinner for summary button */
.summary-btn-loading {
  cursor: wait;
  display: inline-flex; align-items: center; gap: 8px;
}
.summary-btn .spinner {
  display: inline-block;
  width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.summary-btn .elapsed {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === Phase 4e — home topic grid (single column, stacked rows) === */
.topic-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0;
}
.topic-card {
  background: var(--card-bg, rgba(255,255,255,0.02));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.topic-h { margin: 0 0 8px 0; font-size: 16px; font-weight: 700 }
.topic-h a { color: var(--fg); text-decoration: none }
.topic-h a:hover { color: var(--accent) }
.topic-h .topic-arrow { color: var(--muted); font-weight: 400 }
.topic-card .feed.compact .item {
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.05));
  gap: 4px;
}
.topic-card .feed.compact .item:last-child { border-bottom: 0 }
.topic-card .feed.compact .item a.title {
  color: var(--fg);
  font-weight: 500;
  line-height: 1.35;
  font-size: 14px;
  text-decoration: none;
}
.topic-card .feed.compact .item a.title:hover { color: var(--accent) }
.topic-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
}
.topic-meta .src { font-weight: 500 }
.topic-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
}
.topic-more:hover { text-decoration: underline }
.topic-card .empty { color: var(--muted); font-size: 13px; padding: 12px 0 }
.home-foot { text-align: center; margin-top: 24px; color: var(--muted) }
.home-foot a { color: var(--muted); text-decoration: underline }

.breadcrumb {
  margin: 8px 0 14px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline }
.breadcrumb strong { color: var(--fg) }

/* === Phase 4f — tier nav header === */
.tiernav {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  max-width: 900px;
  margin: 6px auto 0;
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
  overflow-x: auto;            /* desktop: 9 tabs fit (no scrollbar shows); mobile: scrolls */
  /* `-webkit-overflow-scrolling: touch` intentionally REMOVED — it promoted this scroller to its
     own iOS momentum-scroll compositing layer, which repainted at a stale offset (first pill clipped,
     "rang chủ") after the hub re-revealed this keep-alive iframe via display toggle. Deprecated +
     a no-op for momentum on iOS 13+, so dropping it costs nothing and kills the stale-layer bug. */
  scrollbar-width: none;
}
.tiernav::-webkit-scrollbar { display: none; }
.tiernav-link { white-space: nowrap; flex: 0 0 auto; }
.tiernav-link {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
  /* In a horizontal overflow-x scroller, a tap with a sliver of finger movement gets
     classified as a scroll and the link navigation is dropped ("đôi khi bấm không được").
     `manipulation` drops the double-tap-zoom disambiguation wait so a clean tap fires
     immediately; horizontal pan still scrolls the nav (gesture starts on the flex child). */
  touch-action: manipulation;
}
.tiernav-link:hover {
  background: var(--card-bg, rgba(255,255,255,0.05));
  color: var(--fg);
}
/* Current page pill — also the scroll-into-view anchor (marked by the inline script in base.html). */
.tiernav-link.active {
  background: var(--accent, #2da3a0);
  color: var(--bg);  /* theme-aware: dark-mode accent is light (#7dc4ff) → needs dark text */
}
@media (max-width: 600px) {
  /* ~40px tall tap target (Apple HIG ≥44px guideline) — the old ~24px pills were easy to miss. */
  .tiernav-link { padding: 11px 11px; font-size: 12px }
}

/* Tier mini badge in topic cards (Phase 4f) */
.title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.badge.tier-mini {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.tier-news-badge      { color: #6ab7ff; background: rgba(106,183,255,0.12) }
.tier-thinker-badge   { color: #c39bff; background: rgba(195,155,255,0.12) }
.tier-community-badge { color: #ffb46a; background: rgba(255,180,106,0.12) }
.tier-video-badge     { color: #ff6ab4; background: rgba(255,106,180,0.12) }
.tier-repo-badge      { color: #6affc4; background: rgba(106,255,196,0.12) }
.tiernav-link.tier-home { font-weight: 600; color: var(--fg) }
.tiernav-link.tier-home:hover { background: rgba(255,255,255,0.08) }
.tiernav-link.tier-hot { color: #ff6b6b; font-weight: 600 }
.tiernav-link.tier-hot:hover { background: rgba(220,60,60,0.12); color: #ff8585 }
.hot-title { color: #ff6b6b }
.tiernav-link.tier-cal { color: var(--accent); font-weight: 600 }
/* Active wins over tier color (else accent text on accent bg → invisible) */
.tiernav-link.active, .tiernav-link.tier-cal.active, .tiernav-link.tier-hot.active, .tiernav-link.tier-home.active { color: var(--bg) }

/* Macro economic calendar panel (Forex Factory high-impact) */
.macro-cal { border: 1px solid var(--border); border-radius: 8px; margin: 0 0 18px; overflow: hidden; }
.macro-cal-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.macro-cal-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.macro-cal-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.cal-pill { font-size: 12px; padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; line-height: 1.4; }
.cal-pill:hover { color: var(--fg); }
.cal-pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.macro-cal ul { list-style: none; margin: 0; padding: 0; }
.macro-cal li { padding: 9px 14px; border-bottom: 1px solid var(--border); font-size: 13px; }
.macro-cal li:last-child { border-bottom: none; }
.macro-cal li.past { opacity: 0.42; }
.macro-cal li.next { background: rgba(38,128,255,0.08); border-left: 3px solid var(--accent); padding-left: 11px; }
.cal-row1 { display: flex; align-items: baseline; gap: 12px; }
.cal-when { flex: 0 0 auto; min-width: 76px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cal-when b { color: var(--fg); }
.cal-ccy { flex: 0 0 auto; font-weight: 700; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: rgba(128,128,128,0.16); white-space: nowrap; }
.cal-title { flex: 1 1 auto; min-width: 0; }
.cal-cd { flex: 0 0 auto; color: var(--accent); font-weight: 700; font-size: 12px; white-space: nowrap; }
.cal-fp { margin: 4px 0 0 88px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.cal-msg { padding: 12px 14px; color: var(--muted); }
/* Kind tabs (macro / earnings-us / vn-event) — primary filter row */
.macro-cal-kinds { display: flex; gap: 6px; flex-wrap: wrap; flex-basis: 100%; order: 3; }
.cal-kind { font-size: 12px; font-weight: 600; padding: 4px 11px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; line-height: 1.4; }
.cal-kind:hover { color: var(--fg); }
.cal-kind.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.macro-cal-pills { order: 4; }
/* Countdown banner for the next big macro release */
.cal-countdown { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: rgba(38,128,255,0.10); border-bottom: 1px solid var(--border); font-size: 13px; flex-wrap: wrap; }
.cal-countdown .cd-icon { font-size: 15px; }
.cal-countdown .cd-time { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cal-countdown .cd-time b { color: var(--accent); }
.macro-cal li[data-kind="earnings-us"] .cal-ccy { background: rgba(38,128,255,0.16); }
.macro-cal li[data-kind="vn-event"] .cal-ccy { background: rgba(220,60,60,0.14); }
@media (max-width: 640px) { .cal-fp { margin-left: 0; } .cal-when { min-width: 68px; } .cal-row1 { gap: 8px; } .cal-countdown .cd-time { margin-left: 0; flex-basis: 100%; } }

/* Market pulse — sentiment strip + today's drivers (Phase 3) */
.pulse { border: 1px solid var(--border); border-radius: 8px; margin: 0 0 18px; overflow: hidden; }
.pulse-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.pulse-fng { display: flex; align-items: baseline; gap: 7px; }
.pulse-fng .fl { font-size: 12px; color: var(--muted); }
.pulse-fng .fv { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pulse-fng .fc { font-size: 12px; color: var(--muted); }
.pulse-brs { display: flex; gap: 16px; flex-wrap: wrap; flex: 1; }
.pulse-br { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.pulse-br .pl { color: var(--muted); min-width: 42px; }
.pulse-br .pbar { display: inline-block; width: 64px; height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.pulse-br .pbar i { display: block; height: 100%; }
.pulse-br .pv { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 38px; }
.pulse-drivers { padding: 10px 14px; }
.pulse-dh { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.pulse-d { display: flex; align-items: baseline; gap: 9px; padding: 4px 0; font-size: 13px; }
.pulse-d .da { font-weight: 800; flex: 0 0 auto; }
.pulse-d .dtag { flex: 0 0 auto; font-size: 11px; font-weight: 600; color: var(--muted); background: rgba(128,128,128,0.16); padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.pulse-d .dt { flex: 1; min-width: 0; }
@media (max-width: 640px) { .pulse-strip { gap: 12px; } .pulse-br .pbar { width: 48px; } .pulse-d .dtag { display: none; } }
