/* v1: final white reference dashboard lock. Loaded last on /platform. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] {
  --pd-font: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  --pd-bg: #f7fbff;
  --pd-surface: #ffffff;
  --pd-line: #e3ebf5;
  --pd-line-strong: #d4e1ef;
  --pd-text: #172033;
  --pd-muted: #6c7a90;
  --pd-blue: #1677ff;
  --pd-cyan: #11c6c7;
  --pd-green: #00aa8d;
  --pd-red: #ef4444;
  --pd-shadow: 0 18px 48px rgba(31, 69, 116, 0.095);
  --pd-soft-shadow: 0 10px 28px rgba(31, 69, 116, 0.065);
  min-width: 0 !important;
  background: linear-gradient(180deg, #fbfdff 0%, #f6faff 52%, #edf5fc 100%) !important;
  color: var(--pd-text) !important;
  font-family: var(--pd-font) !important;
}

/* v33: use publisher-provided market-news thumbnails instead of synthetic source badges. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
  grid-template-columns: 96px minmax(0, 1fr) !important;
  grid-template-areas:
    "thumb title"
    "thumb meta" !important;
  align-items: center !important;
  column-gap: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead i {
  grid-area: thumb !important;
  width: 88px !important;
  height: 88px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #d5e4f3 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #eef8ff, #ffffff) !important;
  color: #0e7fff !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead i.has-news-image {
  background: #eef3f8 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead i img,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead strong {
  grid-area: title !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead em {
  grid-area: meta !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i.has-news-image {
  border-color: #d5e4f3 !important;
  background: #eef3f8 !important;
  color: transparent !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  min-height: 78px !important;
  gap: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i {
  width: 52px !important;
  height: 52px !important;
  border-radius: 13px !important;
  font-size: 11px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead:not(.has-news-thumb) {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "title"
    "meta" !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead:not(.has-news-thumb) i,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button:not(.has-news-thumb) i {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button:not(.has-news-thumb) {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* v25: compact ranking bar. Keep ranking as a quick scan surface so the strategy feed gets more vertical priority. */
@media (min-width: 901px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
    display: grid !important;
    grid-template-columns: minmax(230px, 1fr) minmax(220px, 280px) auto !important;
    grid-template-areas:
      "rank-head rank-tabs rank-link"
      "rank-list rank-list rank-list" !important;
    align-items: center !important;
    gap: 10px 18px !important;
    min-height: 136px !important;
    height: 136px !important;
    padding: 14px 18px 16px !important;
    overflow: visible !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    display: contents !important;
    padding: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head h2 {
    grid-area: rank-head !important;
    align-self: center !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.055em !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head h2::after {
    width: 14px !important;
    height: 14px !important;
    margin-left: 6px !important;
    font-size: 9px !important;
    vertical-align: 4px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head p {
    grid-area: rank-link !important;
    justify-self: end !important;
    align-self: center !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
    grid-area: rank-tabs !important;
    justify-self: center !important;
    align-self: center !important;
    position: static !important;
    width: 100% !important;
    max-width: 280px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 3px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button {
    height: 28px !important;
    min-height: 0 !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-radar-strip {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-area: rank-list !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
    height: 74px !important;
    min-height: 74px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: 1fr 1fr !important;
    align-items: center !important;
    gap: 2px 12px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::after,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-intel {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    align-self: center !important;
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name em {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.1 !important;
    color: #6d7c94 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
    grid-column: 2 !important;
    grid-row: 1 / -1 !important;
    align-self: center !important;
    justify-self: end !important;
    display: grid !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
    font-size: clamp(20px, 1.6vw, 24px) !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em {
    font-size: 10.5px !important;
    line-height: 1 !important;
    color: #6d7c94 !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score small {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
    padding: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    padding: 0 0 10px !important;
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
    min-height: 78px !important;
    height: auto !important;
    border-radius: 14px !important;
  }
}

/* v39-final: strict strategy feed alignment.
   The action column is now a protected lane so status/arrow controls never
   intrude into the feed copy at desktop or mobile widths. */
@media (min-width: 901px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 60px minmax(0, 1fr) 154px !important;
    column-gap: 20px !important;
    align-items: center !important;
    min-height: 112px !important;
    height: 112px !important;
    max-height: 112px !important;
    padding: 18px 18px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-avatar {
    width: 56px !important;
    height: 56px !important;
    align-self: center !important;
    justify-self: center !important;
    flex: 0 0 56px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card > div:not(.hud-feed-avatar):not(.hud-feed-side) {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: center !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy > *,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p {
    max-width: 100% !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
    margin: 2px 0 5px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p:not(.hud-feed-author) {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    box-sizing: border-box !important;
    grid-column: 3 !important;
    width: 154px !important;
    min-width: 154px !important;
    max-width: 154px !important;
    height: 76px !important;
    align-self: center !important;
    justify-self: stretch !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px !important;
    align-items: center !important;
    justify-items: end !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 0 0 18px !important;
    border-left: 1px solid #d9e6f3 !important;
    overflow: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    grid-column: 1 !important;
    justify-self: end !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: right !important;
    font-size: clamp(18px, 1.35vw, 21px) !important;
    line-height: 1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small {
    grid-column: 2 !important;
    justify-self: end !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 1320px) and (min-width: 901px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 58px minmax(0, 1fr) 148px !important;
    column-gap: 18px !important;
    padding-inline: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    padding-left: 16px !important;
  }
}

@media (max-width: 900px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 12px 14px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 16px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card > div:not(.hud-feed-avatar):not(.hud-feed-side) {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    border-left: 0 !important;
    overflow: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    justify-self: start !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small {
    justify-self: end !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
  }
}

/* v36-final: no synthetic lead thumbnail when the article has no publisher image. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] #hud-news-lead:not(.has-news-thumb) {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "title"
    "meta" !important;
  padding-left: 18px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] #hud-news-lead:not(.has-news-thumb) i {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] #hud-news-lead.has-news-thumb i.has-news-image {
  display: grid !important;
}

/* v35-final: show thumbnails only when the publisher exposes a real article image. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "title"
    "meta" !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead.has-news-thumb {
  grid-template-columns: 96px minmax(0, 1fr) !important;
  grid-template-areas:
    "thumb title"
    "thumb meta" !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead:not(.has-news-thumb) i,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button:not(.has-news-thumb) i {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button:not(.has-news-thumb) {
  grid-template-columns: minmax(0, 1fr) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button.has-news-thumb {
  grid-template-columns: 58px minmax(0, 1fr) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i {
  width: 52px !important;
  height: 52px !important;
  border-radius: 13px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] #hud-news-lead:not(.has-news-thumb) {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "title"
    "meta" !important;
  padding-left: 18px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] #hud-news-lead:not(.has-news-thumb) i {
  display: none !important;
}

/* v33-final: keep article-origin thumbnails after all earlier news overrides. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
  grid-template-columns: 96px minmax(0, 1fr) !important;
  grid-template-areas:
    "thumb title"
    "thumb meta" !important;
  align-items: center !important;
  column-gap: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead i {
  grid-area: thumb !important;
  width: 88px !important;
  height: 88px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #d5e4f3 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #eef8ff, #ffffff) !important;
  color: #0e7fff !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead i.has-news-image {
  background: #eef3f8 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead i img,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead strong {
  grid-area: title !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead em {
  grid-area: meta !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i.has-news-image {
  border-color: #d5e4f3 !important;
  background: #eef3f8 !important;
  color: transparent !important;
  overflow: hidden !important;
}

/* v30-final: sidebar cleanup must win after every reference/mobile override. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  padding-top: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  content: none !important;
  display: none !important;
  position: static !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] {
  color: #21324c !important;
  border-color: rgba(203, 213, 225, 0.72) !important;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.92), rgba(248, 250, 252, 0.58)) !important;
  box-shadow: inset 3px 0 0 #cbd5e1, 0 10px 26px rgba(31, 69, 116, 0.07) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] strong {
  color: #21324c !important;
}

/* v29-final: absolute last-write sidebar state. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  padding-top: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  content: none !important;
  display: none !important;
  position: static !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] {
  color: #21324c !important;
  border-color: transparent !important;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.92), rgba(248, 250, 252, 0.58)) !important;
  box-shadow: inset 3px 0 0 #cbd5e1, 0 10px 26px rgba(31, 69, 116, 0.07) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] strong {
  color: #21324c !important;
}

/* v29-final: absolute last-write sidebar state. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  padding-top: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  content: none !important;
  display: none !important;
  position: static !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] {
  color: #21324c !important;
  border-color: transparent !important;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.92), rgba(248, 250, 252, 0.58)) !important;
  box-shadow: inset 3px 0 0 #cbd5e1, 0 10px 26px rgba(31, 69, 116, 0.07) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] strong {
  color: #21324c !important;
}

/* v28-final: last-write sidebar cleanup. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  padding-top: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] {
  color: #21324c !important;
  border-color: transparent !important;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.92), rgba(248, 250, 252, 0.58)) !important;
  box-shadow: inset 3px 0 0 #cbd5e1, 0 10px 26px rgba(31, 69, 116, 0.07) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] strong {
  color: #21324c !important;
}

/* v27: simplify left navigation. Remove the radio promo block and use neutral selected shading. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  padding-top: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  content: none !important;
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
  color: #273851 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
  color: #7b8ca4 !important;
  border-color: #d4e0ee !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(31, 69, 116, 0.055) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item.is-active,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[aria-pressed="true"] {
  color: #21324c !important;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.92), rgba(248, 250, 252, 0.58)) !important;
  box-shadow: inset 3px 0 0 #cbd5e1, 0 10px 26px rgba(31, 69, 116, 0.07) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item.is-active::before,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[aria-pressed="true"]::before {
  color: #4b5f7a !important;
  border-color: #bccade !important;
  background: #f8fafc !important;
  box-shadow: 0 8px 18px rgba(31, 69, 116, 0.08) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item.is-active strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[aria-pressed="true"] strong {
  color: #21324c !important;
}

@media (max-width: 900px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    padding-top: 14px !important;
  }
}

/* v26: normalize every rank card height, including live-moving rows, and stack copy for readability. */
@media (min-width: 901px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
    grid-template-rows: 34px 76px !important;
    align-content: start !important;
    min-height: 150px !important;
    height: 150px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    align-items: stretch !important;
    height: 76px !important;
    min-height: 76px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row.is-signal-moving {
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    transform: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row.is-signal-moving .hud-rank-name {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: end !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row.is-signal-moving .hud-rank-score {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: start !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 8px !important;
    text-align: left !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
    font-size: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
    font-size: 10.75px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    font-size: clamp(19px, 1.45vw, 22px) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em {
    flex: 0 0 auto !important;
    font-size: 10px !important;
  }
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] * {
  font-family: var(--pd-font) !important;
  text-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage {
  width: min(100%, 1464px) !important;
  min-height: calc(100svh - 86px) !important;
  margin: 0 auto !important;
  padding: 16px 16px 110px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica {
  display: grid !important;
  grid-template-rows: 76px minmax(0, 1fr) !important;
  gap: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chrome,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-radar-strip,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-filterbar,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-grid {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top {
  position: relative !important;
  top: auto !important;
  min-height: 76px !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--pd-soft-shadow) !important;
  backdrop-filter: blur(18px) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave {
  flex: 0 0 50px !important;
  width: 50px !important;
  height: 50px !important;
  border: 2px solid var(--pd-cyan) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(30deg, transparent 47%, rgba(17, 198, 199, 0.9) 48% 52%, transparent 53%),
    linear-gradient(90deg, transparent 47%, rgba(17, 198, 199, 0.72) 48% 52%, transparent 53%),
    linear-gradient(150deg, transparent 47%, rgba(17, 198, 199, 0.9) 48% 52%, transparent 53%) !important;
  box-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave::before,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  inset: 9px !important;
  border: 1px solid rgba(17, 198, 199, 0.8) !important;
  border-radius: 8px !important;
  transform: rotate(45deg) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave::after {
  inset: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-copy strong {
  display: block !important;
  color: #141d2d !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.015em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-copy em {
  display: block !important;
  margin-top: 4px !important;
  color: #6b7a93 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-style: normal !important;
  font-weight: 760 !important;
  letter-spacing: 0.12em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions button {
  height: 44px !important;
  min-width: 118px !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--pd-line-strong) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #24344f !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  box-shadow: 0 8px 18px rgba(31, 69, 116, 0.045) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions .hud-primary-cta {
  background: linear-gradient(180deg, #238cff 0%, #096ee6 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.28) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-bell {
  min-width: 44px !important;
  width: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-bell::before {
  content: "" !important;
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  background: #30435e !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M12 22a2.5 2.5 0 0 0 2.42-1.88H9.58A2.5 2.5 0 0 0 12 22Zm7-6.2-1.8-2.15V9a5.2 5.2 0 0 0-4-5.06V2.8a1.2 1.2 0 1 0-2.4 0v1.14A5.2 5.2 0 0 0 6.8 9v4.65L5 15.8V18h14v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M12 22a2.5 2.5 0 0 0 2.42-1.88H9.58A2.5 2.5 0 0 0 12 22Zm7-6.2-1.8-2.15V9a5.2 5.2 0 0 0-4-5.06V2.8a1.2 1.2 0 1 0-2.4 0v1.14A5.2 5.2 0 0 0 6.8 9v4.65L5 15.8V18h14v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
  display: grid !important;
  grid-template-columns: 236px minmax(0, 1fr) 396px !important;
  grid-template-areas: "rail main side" !important;
  gap: 14px !important;
  align-items: start !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  grid-area: rail !important;
  position: sticky !important;
  top: 16px !important;
  min-height: calc(100svh - 126px) !important;
  padding: 84px 12px 78px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
  gap: 6px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--pd-soft-shadow) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  content: "Pulse AI Radio" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -80px !important;
  height: 66px !important;
  padding-left: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #20314b !important;
  font-size: 14px !important;
  font-weight: 780 !important;
  box-shadow: var(--pd-soft-shadow) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::after {
  content: "PD  Pulse User   PREMIUM" !important;
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 14px !important;
  height: 54px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #21324c !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-group {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
  width: 100% !important;
  height: 62px !important;
  min-height: 62px !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #2c3d58 !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
  content: "" !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  border: 1.8px solid currentColor !important;
  border-radius: 6px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item.is-active {
  color: var(--pd-blue) !important;
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.12), rgba(22, 119, 255, 0.025)) !important;
  box-shadow: inset 3px 0 0 var(--pd-blue) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item strong {
  color: inherit !important;
  font-size: 16px !important;
  font-weight: 830 !important;
  letter-spacing: -0.035em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item small {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-workspace {
  grid-area: main !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
  grid-area: side !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-workspace,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
  min-width: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel {
  border: 1px solid var(--pd-line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--pd-soft-shadow) !important;
  overflow: hidden !important;
  color: var(--pd-text) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel::before,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel::after,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head::before,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head::after {
  content: none !important;
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head {
  min-height: 52px !important;
  padding: 18px 20px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  background: transparent !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head h2 {
  margin: 0 !important;
  color: #101827 !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head p {
  margin: 0 !important;
  color: #24344f !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head p::after {
  content: "›" !important;
  margin-left: 8px !important;
  color: #526176 !important;
  font-size: 20px !important;
  vertical-align: -1px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
  position: relative !important;
  min-height: 178px !important;
  padding: 0 16px 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
  padding: 20px 4px 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
  position: absolute !important;
  top: 16px !important;
  left: min(47%, 360px) !important;
  width: 230px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 3px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px !important;
  border: 1px solid var(--pd-line-strong) !important;
  border-radius: 9px !important;
  background: #f5f8fc !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button {
  min-width: 0 !important;
  height: 28px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #617087 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button.is-active {
  color: var(--pd-blue) !important;
  background: #fff !important;
  box-shadow: 0 3px 10px rgba(31, 69, 116, 0.10) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
  position: relative !important;
  height: 102px !important;
  min-height: 102px !important;
  display: grid !important;
  grid-template-columns: 30px 42px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 6px 8px !important;
  align-items: center !important;
  padding: 14px 12px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(31, 69, 116, 0.045) !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before {
  content: "1" !important;
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  border: 1px solid #f7c948 !important;
  color: #e5a600 !important;
  background: #fff9db !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(2)::before { content: "2" !important; border-color: #cbd5e1 !important; color: #64748b !important; background: #f8fafc !important; }
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(3)::before { content: "3" !important; border-color: #fb923c !important; color: #d97706 !important; background: #fff7ed !important; }
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(4)::before { content: "4" !important; border-color: #cbd5e1 !important; color: #64748b !important; background: #f8fafc !important; }

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo {
  position: static !important;
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 9px !important;
  transform: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo::before {
  content: none !important;
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo::after {
  content: attr(data-initials) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: end !important;
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
  color: var(--pd-text) !important;
  font-size: 12.8px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name em {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
  color: #78879c !important;
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
  grid-column: 3 !important;
  grid-row: 2 !important;
  align-self: start !important;
  display: flex !important;
  align-items: baseline !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
  color: var(--pd-green) !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score small,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-intel {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart {
  position: absolute !important;
  right: 10px !important;
  bottom: 12px !important;
  display: block !important;
  width: 50px !important;
  height: 26px !important;
  opacity: 0.75 !important;
  border-radius: 8px !important;
  background:
    linear-gradient(135deg, transparent 0 12%, rgba(17, 198, 199, 0.65) 13% 14%, transparent 15% 22%, rgba(17, 198, 199, 0.80) 23% 24%, transparent 25% 38%, rgba(17, 198, 199, 0.85) 39% 40%, transparent 41% 53%, rgba(17, 198, 199, 0.95) 54% 55%, transparent 56%),
    linear-gradient(180deg, rgba(17, 198, 199, 0.13), transparent) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel {
  min-height: 686px !important;
  max-height: none !important;
  padding: 0 16px 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head {
  padding: 18px 4px 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head h2::after {
  content: "AI의 실시간 투자 전략과 인사이트를 확인하세요." !important;
  display: block !important;
  margin-top: 6px !important;
  color: #75849a !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 620 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
  display: grid !important;
  gap: 10px !important;
  height: 594px !important;
  min-height: 594px !important;
  max-height: 594px !important;
  padding: 0 4px 4px !important;
  overflow: auto !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  min-height: 108px !important;
  height: 108px !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) 126px !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 12px 14px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 7px 18px rgba(31, 69, 116, 0.04) !important;
  color: var(--pd-text) !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-avatar {
  grid-column: 1 !important;
  grid-row: 1 / span 4 !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 9px !important;
  font-size: 19px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy {
  grid-column: 2 !important;
  min-width: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author {
  margin: 0 0 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author strong {
  color: var(--pd-text) !important;
  font-size: 13px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
  margin: 0 0 6px !important;
  color: var(--pd-text) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 860 !important;
  -webkit-line-clamp: 1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p:not(.hud-feed-author) {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  -webkit-line-clamp: 2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-signal,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-live-line,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-rarity,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-intel-grid,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-agent-clash,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-tags,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-timeline,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-intel-lock {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
  grid-column: 3 !important;
  grid-row: 1 / span 4 !important;
  height: 100% !important;
  display: grid !important;
  align-content: center !important;
  justify-items: end !important;
  gap: 6px !important;
  padding-left: 14px !important;
  border-left: 1px solid var(--pd-line) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
  width: 104px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #b9f1ed !important;
  border-radius: 999px !important;
  background: #f2fffc !important;
  color: var(--pd-green) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news {
  min-height: 535px !important;
  padding: 0 16px 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news .hud-panel-head,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk .hud-panel-head {
  padding-left: 4px !important;
  padding-right: 4px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
  min-height: 96px !important;
  display: grid !important;
  grid-template-columns: 86px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 12px !important;
  margin-bottom: 12px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--pd-text) !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead::before {
  content: "NVIDIA" !important;
  width: 86px !important;
  height: 86px !important;
  grid-row: 1 / span 2 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #101820, #77b900) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead em {
  grid-column: 2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead strong {
  font-size: 15.5px !important;
  line-height: 1.45 !important;
  -webkit-line-clamp: 2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead em {
  color: var(--pd-green) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead i {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list {
  display: grid !important;
  gap: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
  min-height: 92px !important;
  display: grid !important;
  grid-template-columns: 86px minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-width: 0 0 1px !important;
  border-color: var(--pd-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button:nth-child(n+4) {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i {
  width: 86px !important;
  height: 76px !important;
  border-radius: 9px !important;
  color: transparent !important;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.85), rgba(17, 198, 199, 0.65)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 6px, transparent 6px 12px) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list span {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list strong {
  color: var(--pd-text) !important;
  font-size: 15px !important;
  line-height: 1.42 !important;
  font-weight: 850 !important;
  -webkit-line-clamp: 2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list small {
  color: var(--pd-green) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
  min-height: 354px !important;
  display: grid !important;
  grid-template-columns: 106px minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) 52px !important;
  grid-template-areas:
    "head head"
    "image chat"
    "input input" !important;
  gap: 12px !important;
  padding: 0 16px 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk .hud-panel-head {
  grid-area: head !important;
  padding: 18px 4px 6px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
  grid-area: image !important;
  width: 106px !important;
  height: 204px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 9px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat {
  grid-area: chat !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-status,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-disclaimer {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-log,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message {
  min-height: 204px !important;
  max-height: 204px !important;
  height: 204px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message {
  display: grid !important;
  align-content: center !important;
  gap: 12px !important;
  padding: 18px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-meta strong {
  color: var(--pd-text) !important;
  font-size: 15px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-meta span {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-text {
  color: #4c5c73 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input {
  grid-area: input !important;
  height: 52px !important;
  min-height: 52px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 48px !important;
  align-items: center !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input input {
  width: 100% !important;
  height: 52px !important;
  padding: 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input button {
  width: 42px !important;
  height: 42px !important;
  margin-right: 5px !important;
  border: 0 !important;
  background: transparent !important;
  color: transparent !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input button::before {
  content: "" !important;
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  background: var(--pd-blue) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='m3 20 18-8L3 4v6l11 2-11 2v6Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='m3 20 18-8L3 4v6l11 2-11 2v6Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 70 !important;
  height: 82px !important;
  display: grid !important;
  grid-template-columns: 108px minmax(0, 1fr) 320px !important;
  align-items: stretch !important;
  padding: 0 16px !important;
  border-top: 1px solid var(--pd-line) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-clock {
  display: grid !important;
  place-items: center !important;
  color: #23344f !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry {
  min-width: 0 !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-track {
  height: 100% !important;
  display: flex !important;
  align-items: stretch !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote {
  flex: 0 0 140px !important;
  width: 140px !important;
  display: grid !important;
  align-content: center !important;
  gap: 4px !important;
  padding: 0 18px !important;
  border-left: 1px solid var(--pd-line) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote em {
  color: #344963 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote strong {
  color: #1e2d44 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote small {
  color: var(--pd-green) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote.is-down strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote.is-down small {
  color: var(--pd-red) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  border-left: 1px solid var(--pd-line) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom nav a {
  display: grid !important;
  place-items: center !important;
  border-right: 1px solid var(--pd-line) !important;
  color: #53647a !important;
  font-size: 12.5px !important;
  font-weight: 760 !important;
  text-decoration: none !important;
}

@media (max-width: 1240px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    grid-template-areas:
      "rail main"
      "rail side" !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top {
    flex-wrap: wrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 44px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "rail"
      "main"
      "side" !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    position: static !important;
    min-height: 0 !important;
    padding: 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::after {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
    position: static !important;
    width: 100% !important;
    margin-bottom: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
    grid-template-columns: 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    height: auto !important;
    min-height: 126px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    grid-column: 2 !important;
    grid-row: auto !important;
    border-left: 0 !important;
    justify-items: start !important;
    padding-left: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom nav {
    display: none !important;
  }
}

@media (max-width: 560px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    grid-template-columns: 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "head"
      "image"
      "chat"
      "input" !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
    width: 100% !important;
    height: 220px !important;
  }
}

/* v2: agency-pass refinements for the supplied white reference dashboard. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] {
  overflow-x: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions button {
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave {
  position: relative !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
  grid-template-columns: 236px minmax(0, 1fr) 396px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-main {
  gap: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  min-height: calc(100svh - 126px) !important;
  padding: 92px 12px 78px !important;
  overflow: visible !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  top: 12px !important;
  left: 12px !important;
  right: 12px !important;
  height: 56px !important;
  padding-left: 50px !important;
  border-color: #dce8f5 !important;
  box-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::after {
  bottom: 12px !important;
  padding-left: 56px !important;
  place-items: center start !important;
  white-space: pre !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
  height: 60px !important;
  min-height: 60px !important;
  padding: 0 14px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item strong {
  font-size: 15px !important;
  line-height: 1.15 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item small {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
  min-height: 178px !important;
  padding: 0 16px 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
  display: grid !important;
  grid-template-columns: minmax(210px, 1fr) 240px auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 18px 4px 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head h2 {
  min-width: 0 !important;
  font-size: 25px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head p {
  justify-self: end !important;
  min-width: 120px !important;
  color: #23344f !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
  position: static !important;
  justify-self: center !important;
  width: 232px !important;
  height: 36px !important;
  margin: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
  height: 102px !important;
  min-height: 102px !important;
  grid-template-columns: 28px 42px minmax(0, 1fr) !important;
  grid-template-rows: 26px 22px 1fr !important;
  align-items: center !important;
  gap: 2px 10px !important;
  padding: 14px 10px 12px !important;
  border-color: #dbe7f5 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 26px !important;
  height: 26px !important;
  font-size: 13px !important;
  align-self: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  width: 42px !important;
  height: 42px !important;
  align-self: center !important;
  border-radius: 9px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  min-width: 0 !important;
  align-self: center !important;
  display: grid !important;
  gap: 2px !important;
  transform: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
  max-width: 100% !important;
  color: #172033 !important;
  font-size: 12.5px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name em {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
  color: #74839a !important;
  font-size: 10.5px !important;
  line-height: 1.1 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  align-self: end !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 6px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
  color: var(--pd-green) !important;
  font-size: 21px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em {
  color: #6d7d94 !important;
  font-size: 10.5px !important;
  line-height: 1.15 !important;
  font-style: normal !important;
  font-weight: 760 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score small,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-intel,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
  height: 594px !important;
  min-height: 594px !important;
  max-height: 594px !important;
  gap: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  grid-template-columns: 58px minmax(0, 1fr) 106px !important;
  min-height: 108px !important;
  height: 108px !important;
  padding: 13px 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy {
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author {
  gap: 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author strong {
  flex: 0 1 auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author em {
  max-width: 90px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
  display: -webkit-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body {
  display: -webkit-box !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
  width: 106px !important;
  padding-left: 12px !important;
  gap: 4px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--pd-green) !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
  justify-content: end !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small {
  display: block !important;
  color: #8291a8 !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news {
  min-height: 532px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
  min-height: 114px !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  align-items: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead::before {
  width: 88px !important;
  height: 88px !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead strong {
  align-self: end !important;
  font-size: 15.5px !important;
  line-height: 1.42 !important;
  max-height: 44px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead em {
  align-self: start !important;
  margin-top: 6px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list {
  gap: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
  min-height: 88px !important;
  height: 88px !important;
  grid-template-columns: 86px minmax(0, 1fr) !important;
  gap: 16px !important;
  border: 0 !important;
  border-top: 1px solid var(--pd-line) !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
  background: transparent !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button:nth-child(n+4) {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i {
  width: 86px !important;
  height: 68px !important;
  align-self: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list strong {
  display: -webkit-box !important;
  font-size: 14.5px !important;
  line-height: 1.38 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
  min-height: 354px !important;
  grid-template-columns: 106px minmax(0, 1fr) !important;
  grid-template-rows: auto 204px 52px !important;
  gap: 12px 14px !important;
  align-items: stretch !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk .hud-panel-head {
  min-height: 34px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-live-pill {
  width: auto !important;
  height: 28px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
  width: 106px !important;
  height: 204px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat {
  height: 204px !important;
  min-height: 204px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message {
  min-height: 204px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-text {
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input {
  height: 52px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
  grid-template-columns: 108px minmax(0, 1fr) 320px !important;
}

@media (max-width: 1360px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 216px minmax(0, 1fr) 374px !important;
    gap: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    grid-template-columns: minmax(190px, 1fr) 220px auto !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage {
    padding: 12px 12px 96px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica {
    grid-template-rows: auto minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top {
    min-height: auto !important;
    flex-wrap: wrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo {
    width: 100% !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 44px !important;
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions button {
    min-width: 0 !important;
    padding: 0 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "rail"
      "main"
      "side" !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    position: static !important;
    min-height: 0 !important;
    padding: 10px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::after {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
    height: 48px !important;
    min-height: 48px !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    text-align: center !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    grid-template-columns: 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head p {
    justify-self: start !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
    justify-self: stretch !important;
    width: 100% !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-template-columns: 1fr 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel {
    min-height: 0 !important;
  }
}

@media (max-width: 620px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage {
    padding: 10px 10px 88px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-copy strong {
    font-size: 22px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-copy em {
    font-size: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-bell {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-template-columns: 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    height: auto !important;
    min-height: 128px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    grid-column: 2 !important;
    grid-row: auto !important;
    width: 100% !important;
    height: auto !important;
    border-left: 0 !important;
    padding-left: 0 !important;
    justify-items: start !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead::before,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i {
    width: 72px !important;
    height: 62px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto 52px !important;
    grid-template-areas:
      "head"
      "image"
      "chat"
      "input" !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
    width: 100% !important;
    height: 240px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message {
    height: auto !important;
    min-height: 160px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    height: 74px !important;
    padding: 0 10px !important;
  }
}

/* v3: tighten ranking labels and keep the partner card above the fixed ticker. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
  grid-template-columns: 26px 38px minmax(0, 1fr) !important;
  gap: 2px 8px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo {
  width: 38px !important;
  height: 38px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo::after {
  font-size: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
  display: -webkit-box !important;
  max-height: 28px !important;
  font-size: 10.8px !important;
  line-height: 1.18 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
  font-size: 20px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em {
  max-width: 54px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news {
  min-height: 512px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
  min-height: 108px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
  min-height: 82px !important;
  height: 82px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i {
  height: 62px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
  min-height: 302px !important;
  grid-template-rows: auto 172px 50px !important;
  gap: 10px 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat {
  height: 172px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message {
  min-height: 172px !important;
  padding: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-text {
  -webkit-line-clamp: 4 !important;
  font-size: 13.5px !important;
  line-height: 1.62 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input input {
  height: 50px !important;
  min-height: 50px !important;
}

/* v8.1: final ordering lock so the compact feed wins after legacy partner overrides. */
@media (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-content: start !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    min-height: 132px !important;
    height: auto !important;
    grid-template-columns: 58px minmax(0, 1fr) 108px !important;
    grid-template-rows: auto !important;
    grid-auto-rows: auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-avatar {
    grid-row: 1 !important;
    width: 56px !important;
    height: 56px !important;
    align-self: center !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-columns: 0 !important;
    align-content: center !important;
    gap: 5px !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy > *,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p:not(.hud-feed-author) {
    grid-column: 1 / -1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author {
    margin: 0 0 3px !important;
    gap: 7px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author strong {
    font-size: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author em,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author small {
    font-size: 11px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
    font-size: 18px !important;
    line-height: 1.34 !important;
    -webkit-line-clamp: 2 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body {
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 2 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-signal,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-rarity,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-live-line,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-intel-grid,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-agent-clash,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-tags,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-timeline,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-intel-lock {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 108px !important;
    align-self: stretch !important;
    align-content: center !important;
    padding-left: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    width: 88px !important;
    height: 32px !important;
    font-size: 12px !important;
  }
}

/* v8: compact feed reading pass on top of the fixed-column layout. */
@media (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
    gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    min-height: 132px !important;
    grid-template-columns: 58px minmax(0, 1fr) 108px !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-avatar {
    width: 56px !important;
    height: 56px !important;
    align-self: center !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: center !important;
    gap: 5px !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy > *,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body {
    grid-column: 1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author {
    margin: 0 0 3px !important;
    gap: 7px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author strong {
    font-size: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author em,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author small {
    font-size: 11px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
    font-size: 18px !important;
    line-height: 1.34 !important;
    -webkit-line-clamp: 2 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body {
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 2 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-signal,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-rarity,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-live-line,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-intel-grid,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-agent-clash,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-tags,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-timeline,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-intel-lock {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 108px !important;
    align-self: stretch !important;
    align-content: center !important;
    padding-left: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    width: 88px !important;
    height: 32px !important;
    font-size: 12px !important;
  }
}

/* v7: Reddit/TenReels-style operating layout.
   Left and right rails stay in view while the center strategy feed owns the
   document scroll, so Pulse Deck feels like a live market feed instead of a
   fixed dashboard screenshot. */
@media (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] {
    overflow-y: auto !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage {
    width: min(100%, 1540px) !important;
    min-height: auto !important;
    padding: 14px 18px 112px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica {
    grid-template-rows: auto minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top {
    position: sticky !important;
    top: 10px !important;
    z-index: 120 !important;
    min-height: 72px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 228px minmax(620px, 1fr) 382px !important;
    grid-template-areas: "rail main side" !important;
    align-items: start !important;
    gap: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
    position: sticky !important;
    top: 98px !important;
    max-height: calc(100svh - 116px) !important;
    overflow: auto !important;
    overscroll-behavior: contain !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    min-height: calc(100svh - 118px) !important;
    padding: 92px 12px 78px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-workspace {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
    min-height: 150px !important;
    padding: 0 16px 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    grid-template-columns: minmax(190px, 1fr) 232px auto !important;
    padding: 16px 4px 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4) {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
    height: 88px !important;
    min-height: 88px !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-template-rows: 1fr auto !important;
    padding: 13px 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 42px !important;
    height: 42px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
    font-size: 15px !important;
    line-height: 1.18 !important;
    -webkit-line-clamp: 1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
    display: block !important;
    font-size: 11.5px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
    grid-column: 2 !important;
    grid-row: 2 !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
    font-size: 24px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em {
    display: block !important;
    max-width: none !important;
    color: #6d7d94 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel {
    min-height: auto !important;
    padding: 0 18px 18px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head {
    padding: 22px 4px 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head h2 {
    font-size: 30px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    gap: 14px !important;
    padding: 0 0 6px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    min-height: 156px !important;
    height: auto !important;
    grid-template-columns: 64px minmax(0, 1fr) 118px !important;
    align-items: start !important;
    gap: 18px !important;
    padding: 18px !important;
    border-radius: 16px !important;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card:hover {
    border-color: #a9d4ff !important;
    box-shadow: 0 16px 34px rgba(31, 69, 116, 0.11) !important;
    transform: translateY(-1px) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 14px !important;
    font-size: 20px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author {
    margin-bottom: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author strong {
    font-size: 15px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author em,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author small {
    font-size: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
    font-size: 20px !important;
    line-height: 1.38 !important;
    -webkit-line-clamp: 2 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body {
    font-size: 14px !important;
    line-height: 1.62 !important;
    -webkit-line-clamp: 3 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-rarity,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-live-line,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-intel-grid {
    display: flex !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-rarity {
    gap: 8px !important;
    margin: 6px 0 8px !important;
    color: var(--pd-blue) !important;
    font-size: 12px !important;
    font-weight: 850 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-live-line {
    margin: 0 0 8px !important;
    color: var(--pd-green) !important;
    font-size: 13px !important;
    font-weight: 780 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-intel-grid {
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-top: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-intel-grid span {
    padding: 6px 10px !important;
    border: 1px solid #dbe7f5 !important;
    border-radius: 999px !important;
    background: #f8fbff !important;
    color: #53647a !important;
    font-size: 11.5px !important;
    font-weight: 760 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    align-self: stretch !important;
    width: 118px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    font-size: 20px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding-right: 2px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news {
    min-height: auto !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
    min-height: 126px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button:nth-child(n+5) {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
    min-height: auto !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-template-rows: auto 224px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
    width: 112px !important;
    height: 224px !important;
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 190px minmax(560px, 1fr) 340px !important;
    gap: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-template-columns: 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4) {
    display: grid !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 58px minmax(0, 1fr) 104px !important;
  }
}

/* v5: hard mobile guardrails against horizontal clipping. */
@media (max-width: 620px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-main,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions .hud-bell {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions .hud-lang {
    grid-column: 1 / -1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    overflow: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
    min-width: 0 !important;
    padding: 0 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item strong {
    font-size: 13px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head h2 {
    font-size: 24px !important;
  }
}

/* v6: make the mobile shell border-box so padding never creates horizontal overflow. */
@media (max-width: 620px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding-inline: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions button,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
    box-sizing: border-box !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
    overflow: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
    overflow: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote {
    flex-basis: 104px !important;
    width: 104px !important;
    padding-inline: 10px !important;
  }
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-track {
  animation: none !important;
  transform: none !important;
}

/* v4: the chat form lives inside .hud-live-chat, so keep partner as a true two-column card. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
  min-height: 302px !important;
  grid-template-columns: 106px minmax(0, 1fr) !important;
  grid-template-rows: auto 224px !important;
  grid-template-areas:
    "head head"
    "image chat" !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
  width: 106px !important;
  height: 224px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat {
  grid-area: chat !important;
  height: 224px !important;
  min-height: 224px !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) 50px !important;
  gap: 10px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-log {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message {
  min-height: 164px !important;
  max-height: 164px !important;
  height: 164px !important;
  padding: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input {
  grid-area: auto !important;
  width: 100% !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input input {
  height: 50px !important;
  min-height: 50px !important;
}

/* v8.2: final ordering lock so the compact fixed-column feed wins last. */
@media (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-content: start !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    min-height: 132px !important;
    height: auto !important;
    grid-template-columns: 58px minmax(0, 1fr) 108px !important;
    grid-template-rows: auto !important;
    grid-auto-rows: auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-avatar {
    grid-row: 1 !important;
    width: 56px !important;
    height: 56px !important;
    align-self: center !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-columns: 0 !important;
    align-content: center !important;
    gap: 5px !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy > *,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p:not(.hud-feed-author) {
    grid-column: 1 / -1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author {
    margin: 0 0 3px !important;
    gap: 7px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author strong {
    font-size: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author em,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author small {
    font-size: 11px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
    font-size: 18px !important;
    line-height: 1.34 !important;
    -webkit-line-clamp: 2 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body {
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 2 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-signal,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-rarity,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-live-line,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-intel-grid,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-agent-clash,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-tags,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-timeline,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-intel-lock {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 108px !important;
    align-self: stretch !important;
    align-content: center !important;
    padding-left: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    width: 88px !important;
    height: 32px !important;
    font-size: 12px !important;
  }
}

/* v9: high-fidelity pass for the approved bright Pulse Deck dashboard mockup.
   The older HUD work left several compact/dark assumptions in the cascade; this
   final layer locks the page back to the supplied white dashboard composition. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] {
  --pd-bg: #f6faff;
  --pd-page: #f8fbff;
  --pd-surface: #ffffff;
  --pd-surface-soft: #fbfdff;
  --pd-line: #dfe8f4;
  --pd-line-strong: #cfdeef;
  --pd-text: #152033;
  --pd-muted: #6f7d92;
  --pd-faint: #a2afc1;
  --pd-blue: #1677ff;
  --pd-blue-deep: #075fd2;
  --pd-cyan: #11c6c7;
  --pd-green: #00a98f;
  --pd-red: #ef4444;
  --pd-radius-lg: 16px;
  --pd-radius-md: 12px;
  --pd-shadow: 0 18px 44px rgba(38, 75, 118, 0.1);
  --pd-soft-shadow: 0 10px 26px rgba(38, 75, 118, 0.07);
  overflow-x: hidden !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(41, 145, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 52%, #eef5fc 100%) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .ambient,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .code-wall,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chrome,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-filterbar,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-radar-strip,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-grid,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-status,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-disclaimer,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .feed-layout {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .topbar.shell {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .shell.page-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage {
  width: min(100%, 1452px) !important;
  max-width: 1452px !important;
  min-height: 100svh !important;
  margin: 0 auto !important;
  padding: 14px 16px 104px !important;
  box-sizing: border-box !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica {
  display: grid !important;
  grid-template-rows: 78px minmax(0, 1fr) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
  border: 1px solid var(--pd-line) !important;
  border-radius: var(--pd-radius-lg) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--pd-soft-shadow) !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  height: 78px !important;
  min-height: 78px !important;
  padding: 12px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  backdrop-filter: blur(18px) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: var(--pd-text) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave {
  position: relative !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  border: 2px solid var(--pd-cyan) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(30deg, transparent 47%, rgba(17, 198, 199, 0.96) 48% 52%, transparent 53%),
    linear-gradient(90deg, transparent 47%, rgba(17, 198, 199, 0.78) 48% 52%, transparent 53%),
    linear-gradient(150deg, transparent 47%, rgba(17, 198, 199, 0.96) 48% 52%, transparent 53%) !important;
  box-shadow: 0 12px 24px rgba(17, 198, 199, 0.12) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave::before,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave::after {
  content: "" !important;
  position: absolute !important;
  inset: 8px !important;
  border: 1px solid rgba(17, 198, 199, 0.72) !important;
  border-radius: 9px !important;
  transform: rotate(45deg) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-wave::after {
  inset: 15px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-copy strong {
  color: #111b2c !important;
  font-size: clamp(24px, 2.15vw, 30px) !important;
  line-height: 0.95 !important;
  font-weight: 900 !important;
  letter-spacing: 0.018em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-copy em {
  margin-top: 6px !important;
  color: #65758d !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 780 !important;
  letter-spacing: 0.13em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  min-width: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions button {
  height: 44px !important;
  min-width: 122px !important;
  padding: 0 20px !important;
  border: 1px solid var(--pd-line-strong) !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #253652 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  box-shadow: 0 8px 18px rgba(38, 75, 118, 0.05) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions .hud-primary-cta {
  min-width: 134px !important;
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(180deg, #238cff 0%, #096ee6 100%) !important;
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.28) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-bell {
  width: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
  display: grid !important;
  grid-template-columns: 236px minmax(0, 1fr) 396px !important;
  grid-template-areas: "rail main side" !important;
  gap: 14px !important;
  align-items: start !important;
  min-width: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  grid-area: rail !important;
  position: sticky !important;
  top: 92px !important;
  min-height: calc(100svh - 198px) !important;
  max-height: calc(100svh - 198px) !important;
  padding: 84px 12px 78px !important;
  align-content: start !important;
  gap: 6px !important;
  overflow: hidden !important;
  scrollbar-width: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::-webkit-scrollbar,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector::-webkit-scrollbar {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  content: "Pulse AI Radio" !important;
  position: absolute !important;
  inset: 12px 12px auto 12px !important;
  height: 56px !important;
  padding: 0 44px 0 50px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(90deg, transparent 72%, rgba(17, 198, 199, 0.18)),
    #ffffff !important;
  color: #21324c !important;
  font-size: 14px !important;
  font-weight: 790 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::after {
  content: "PD   Pulse User   PREMIUM" !important;
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #21324c !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
  height: 62px !important;
  min-height: 62px !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #2c3d58 !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item.is-active {
  color: var(--pd-blue) !important;
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.11), rgba(22, 119, 255, 0.03)) !important;
  box-shadow: inset 3px 0 0 var(--pd-blue) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
  content: "" !important;
  width: 22px !important;
  height: 22px !important;
  border: 1.8px solid currentColor !important;
  border-radius: 6px !important;
  background: transparent !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item strong {
  color: inherit !important;
  font-size: 16px !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  white-space: normal !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item small {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-workspace,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-workspace {
  grid-area: main !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
  grid-area: side !important;
  position: sticky !important;
  top: 92px !important;
  max-height: calc(100svh - 198px) !important;
  overflow: auto !important;
  scrollbar-width: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel {
  padding: 18px !important;
  color: var(--pd-text) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head {
  padding: 0 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  border: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head h2 {
  margin: 0 !important;
  color: var(--pd-text) !important;
  font-size: clamp(24px, 2.1vw, 30px) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head p {
  margin: 0 !important;
  color: #244162 !important;
  font-size: 14px !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
  min-height: 180px !important;
  max-height: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
  width: min(100%, 344px) !important;
  height: 42px !important;
  margin: -2px auto 14px !important;
  padding: 3px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 10px !important;
  background: #f5f8fc !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button:nth-child(n+3) {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button {
  min-width: 0 !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #607088 !important;
  font-size: 14px !important;
  font-weight: 840 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button.is-active {
  color: var(--pd-blue) !important;
  background: #ffffff !important;
  box-shadow: 0 3px 10px rgba(36, 85, 135, 0.13) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  min-width: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4) {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr !important;
  align-items: center !important;
  gap: 8px 12px !important;
  height: 104px !important;
  min-height: 104px !important;
  padding: 14px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 13px !important;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.035), transparent 42%),
    #ffffff !important;
  box-shadow: 0 8px 22px rgba(38, 75, 118, 0.055) !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 11px !important;
  box-shadow: 0 10px 20px rgba(22, 119, 255, 0.12) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
  display: block !important;
  color: var(--pd-text) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name em {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
  display: block !important;
  margin-top: 3px !important;
  color: var(--pd-muted) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 680 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-self: start !important;
  align-self: end !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
  color: var(--pd-green) !important;
  font-size: clamp(20px, 1.6vw, 25px) !important;
  line-height: 1 !important;
  font-weight: 920 !important;
  letter-spacing: -0.045em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-violet .hud-rank-score strong {
  color: #8b5cf6 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score small {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart {
  position: absolute !important;
  right: 12px !important;
  bottom: 13px !important;
  width: 58px !important;
  height: 34px !important;
  opacity: 0.9 !important;
  background:
    linear-gradient(135deg, transparent 8%, var(--pd-blue) 9% 11%, transparent 12% 24%, var(--pd-blue) 25% 27%, transparent 28% 42%, var(--pd-blue) 43% 45%, transparent 46% 58%, var(--pd-blue) 59% 61%, transparent 62%),
    linear-gradient(180deg, transparent, rgba(22, 119, 255, 0.08)) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel {
  min-height: 0 !important;
  padding-bottom: 18px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head h2::after {
  content: "AI의 실시간 투자 전략과 인사이트를 확인하세요." !important;
  display: block !important;
  margin-top: 6px !important;
  color: #75849a !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
  height: auto !important;
  max-height: none !important;
  display: grid !important;
  gap: 10px !important;
  overflow: visible !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  min-height: 102px !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) 132px !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: var(--pd-text) !important;
  box-shadow: 0 8px 22px rgba(38, 75, 118, 0.045) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #8b5cf6, #1268dc) !important;
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.18) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-copy,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  color: var(--pd-muted) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author strong {
  color: var(--pd-text) !important;
  font-size: 14px !important;
  font-weight: 860 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author em,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author small {
  color: #8b98aa !important;
  font-size: 11px !important;
  font-weight: 640 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
  margin: 0 !important;
  color: var(--pd-text) !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-body,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p:not(.hud-feed-author) {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
  justify-self: end !important;
  width: 100px !important;
  height: 42px !important;
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid #cfe0f2 !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  color: var(--pd-blue) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news {
  min-height: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
  width: 100% !important;
  min-height: 118px !important;
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  gap: 12px 16px !important;
  padding: 14px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead::before {
  content: "NVIDIA" !important;
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  width: 88px !important;
  height: 88px !important;
  border-radius: 10px !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  background:
    radial-gradient(circle at 70% 22%, rgba(157, 255, 49, 0.8), transparent 26%),
    linear-gradient(135deg, #0c1118, #6fcf00) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead strong {
  grid-column: 2 !important;
  color: var(--pd-text) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 850 !important;
  letter-spacing: -0.035em !important;
  -webkit-line-clamp: 3 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead em {
  grid-column: 2 !important;
  color: var(--pd-green) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list {
  margin-top: 10px !important;
  display: grid !important;
  gap: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
  min-height: 72px !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px 14px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--pd-text) !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button:nth-child(n+5) {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i {
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #f0f7ff !important;
  color: var(--pd-blue) !important;
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list strong {
  color: var(--pd-text) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 840 !important;
  letter-spacing: -0.025em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list small {
  margin-top: 4px !important;
  color: var(--pd-green) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
  min-height: 318px !important;
  display: grid !important;
  grid-template-columns: 108px minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  grid-template-areas:
    "head head"
    "image chat" !important;
  gap: 12px 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk .hud-panel-head {
  grid-area: head !important;
  padding-bottom: 2px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-live-pill {
  height: 30px !important;
  min-width: 64px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border: 1px solid #cceede !important;
  border-radius: 999px !important;
  background: #f2fff9 !important;
  color: #00a36d !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-live-pill i {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #12c985 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
  grid-area: image !important;
  width: 108px !important;
  height: 198px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #0b1825 !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat {
  grid-area: chat !important;
  height: 198px !important;
  min-height: 198px !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) 48px !important;
  gap: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-log {
  min-height: 0 !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message {
  min-height: 140px !important;
  height: 140px !important;
  max-height: 140px !important;
  padding: 16px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  color: var(--pd-text) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message strong {
  color: var(--pd-text) !important;
  font-size: 14px !important;
  font-weight: 860 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message p,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message li {
  color: #4d5e75 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input {
  width: 100% !important;
  height: 48px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 46px !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input input {
  min-width: 0 !important;
  height: 46px !important;
  padding: 0 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--pd-text) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input button {
  height: 46px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--pd-blue) !important;
  font-size: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input button::before {
  content: "➤" !important;
  font-size: 20px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  z-index: 90 !important;
  width: min(100%, 1452px) !important;
  height: 82px !important;
  display: grid !important;
  grid-template-columns: 124px minmax(0, 1fr) 320px !important;
  align-items: stretch !important;
  border-radius: 16px 16px 0 0 !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-clock {
  display: grid !important;
  place-items: center !important;
  border-right: 1px solid var(--pd-line) !important;
  color: #253652 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry {
  min-width: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-track {
  display: flex !important;
  align-items: stretch !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry > span {
  flex: 0 0 128px !important;
  width: 128px !important;
  padding: 12px 14px !important;
  display: grid !important;
  align-content: center !important;
  gap: 4px !important;
  border-right: 1px solid var(--pd-line) !important;
  background: transparent !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote em,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry em {
  color: #334763 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry strong {
  color: #1d2d44 !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 760 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote small,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry small {
  color: var(--pd-green) !important;
  font-size: 13px !important;
  font-weight: 860 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  border-left: 1px solid var(--pd-line) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom nav a {
  min-width: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 8px !important;
  border-right: 1px solid var(--pd-line) !important;
  color: #52637a !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

@media (max-width: 1320px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 190px minmax(0, 1fr) 340px !important;
    gap: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    padding: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo {
    width: 42px !important;
    height: 42px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
    font-size: 22px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item strong {
    font-size: 14px !important;
  }
}

@media (max-width: 980px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage {
    width: 100% !important;
    padding: 10px 10px 92px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica {
    grid-template-rows: auto minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions button {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-bell {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "rail"
      "main"
      "side" !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    padding: 10px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::after {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
    height: 48px !important;
    min-height: 48px !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    padding: 0 8px !important;
    text-align: center !important;
    border: 1px solid var(--pd-line) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item strong {
    font-size: 13px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 52px minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
    grid-template-columns: 98px minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
    height: 74px !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom nav {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-quote,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry > span {
    flex-basis: 112px !important;
    width: 112px !important;
  }
}

@media (max-width: 620px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-copy strong {
    font-size: 24px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo-copy em {
    font-size: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-lang {
    grid-column: 1 / -1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-template-columns: 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
    height: 92px !important;
    min-height: 92px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead::before {
    width: 72px !important;
    height: 72px !important;
    font-size: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "head"
      "image"
      "chat" !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
    width: 100% !important;
    height: 220px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat {
    height: 198px !important;
  }
}

/* v9.1: screenshot QA fixes: keep ranking returns and feed side metadata readable
   at the production 1280-1450px viewport range. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
  z-index: 2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
  display: block !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: nowrap !important;
  font-size: clamp(20px, 1.55vw, 24px) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
  padding-right: 4px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
  padding-bottom: 42px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart {
  right: 12px !important;
  bottom: 16px !important;
  width: 50px !important;
  opacity: 0.55 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding-left: 16px !important;
  border-left: 1px solid var(--pd-line) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-chip {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--pd-green) !important;
  font-size: 20px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  justify-self: start !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small {
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #cfe0f2 !important;
  border-radius: 10px !important;
  color: var(--pd-blue) !important;
  background: #ffffff !important;
  font-size: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small::before {
  content: "›" !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
}

@media (max-height: 820px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    padding-bottom: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::after {
    display: none !important;
  }
}

@media (max-width: 1320px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
    font-size: 20px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 58px minmax(0, 1fr) 102px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    font-size: 17px !important;
  }
}

/* v10: final reference-fidelity cleanup.
   Keep the bright concept readable by prioritizing content over decorative
   HUD leftovers: no clipped returns, no crowded feed metadata, no hidden
   controls at the common 1280-1450px production viewport sizes. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
  align-items: stretch !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
  position: relative !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 18px 18px 18px 18px !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr auto !important;
  column-gap: 14px !important;
  row-gap: 2px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before {
  grid-row: 1 / 4 !important;
  align-self: center !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
  grid-column: 2 !important;
  min-width: 0 !important;
  padding: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
  display: block !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
  position: static !important;
  grid-column: 2 !important;
  justify-self: start !important;
  align-self: end !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-top: 10px !important;
  overflow: visible !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  font-size: clamp(20px, 1.45vw, 25px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.055em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em {
  display: block !important;
  margin-top: 4px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  grid-template-columns: 58px minmax(0, 1fr) 132px !important;
  align-items: center !important;
  min-height: 112px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card > div:not(.hud-feed-avatar):not(.hud-feed-side) {
  min-width: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1.28 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p:not(.hud-feed-author) {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
  grid-column: 3 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 36px !important;
  align-items: center !important;
  justify-items: start !important;
  gap: 10px !important;
  min-width: 0 !important;
  height: 100% !important;
  padding-left: 18px !important;
  border-left: 1px solid var(--pd-line) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--pd-green) !important;
  font-size: 20px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small {
  justify-self: end !important;
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 11px !important;
  color: transparent !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small::before {
  content: "›" !important;
  color: var(--pd-blue) !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-list {
  gap: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-item {
  min-height: 72px !important;
  align-items: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-item strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead strong {
  line-height: 1.35 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom nav {
  min-width: 352px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom nav a {
  min-width: 72px !important;
  padding: 0 10px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 1320px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
    padding: 16px !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    column-gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
    font-size: 13px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
    font-size: 19px !important;
    letter-spacing: -0.065em !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 54px minmax(0, 1fr) 106px !important;
    gap: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    padding-left: 12px !important;
    grid-template-columns: minmax(0, 1fr) 30px !important;
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    font-size: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small {
    width: 30px !important;
    height: 30px !important;
    border-radius: 9px !important;
  }
}

/* v11: visual polish against the bright dashboard mock.
   Replace empty menu squares with clean line icons and keep top-card names
   readable like the supplied concept. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3C/svg%3E") !important;
  position: relative !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[data-hud-nav="ranking"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[data-hud-nav="feed"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l3 3v15H6z'/%3E%3Cpath d='M14 3v4h4'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 16h5'/%3E%3C/svg%3E") !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[data-hud-nav="news"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='2'/%3E%3Cpath d='M8 9h8'/%3E%3Cpath d='M8 13h3'/%3E%3Cpath d='M14 13h2'/%3E%3C/svg%3E") !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[data-hud-nav="desk"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='8' width='14' height='10' rx='3'/%3E%3Cpath d='M12 8V4'/%3E%3Cpath d='M9 13h.01'/%3E%3Cpath d='M15 13h.01'/%3E%3Cpath d='M9 18v2'/%3E%3Cpath d='M15 18v2'/%3E%3C/svg%3E") !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[data-hud-nav="library"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6-5.4-2.9-5.4 2.9 1-6-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E") !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[data-hud-nav="portfolio"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='7' width='16' height='13' rx='2'/%3E%3Cpath d='M9 7V5h6v2'/%3E%3Cpath d='M4 12h16'/%3E%3C/svg%3E") !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item[data-hud-nav="alerts"] {
  --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 9a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E") !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
  content: "" !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border-color: #cfe0f2 !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 22px !important;
  top: 50% !important;
  width: 19px !important;
  height: 19px !important;
  transform: translateY(-50%) !important;
  background: currentColor !important;
  -webkit-mask: var(--nav-icon) center / contain no-repeat !important;
  mask: var(--nav-icon) center / contain no-repeat !important;
  opacity: 0.96 !important;
  pointer-events: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
  width: 100% !important;
  max-width: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
  font-size: 14px !important;
  letter-spacing: -0.035em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
  grid-template-columns: 1fr !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4) {
  grid-template-columns: 1fr !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4)::before {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
  grid-column: 1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4) .hud-rank-name,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4) .hud-rank-score {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score small {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  grid-template-columns: 58px minmax(0, 1fr) 154px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
  grid-template-columns: max-content 36px !important;
  justify-content: end !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
  font-size: 18px !important;
  letter-spacing: -0.05em !important;
}

@media (max-width: 1320px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::after {
    left: 20px !important;
    width: 17px !important;
    height: 17px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
    font-size: 12.5px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 54px minmax(0, 1fr) 126px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    grid-template-columns: max-content 30px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
    font-size: 14.5px !important;
  }
}

/* v17: alignment polish pass. The bright dashboard should read like one
   product system: equal row heights, shared baselines, and a populated
   partner card instead of a sparse empty panel. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel {
  border-color: #dbe6f2 !important;
  box-shadow:
    0 18px 42px rgba(37, 67, 102, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.85) inset !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head {
  align-items: center !important;
  min-height: 38px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head h2 {
  line-height: 1.05 !important;
  letter-spacing: -0.055em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head p {
  align-self: center !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
  gap: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
  gap: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4) {
  height: 104px !important;
  min-height: 104px !important;
  padding: 17px 18px !important;
  align-content: center !important;
  row-gap: 8px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
  display: grid !important;
  gap: 5px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
  font-size: 14.5px !important;
  line-height: 1.12 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
  font-size: 12px !important;
  line-height: 1.15 !important;
  color: #708198 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
  font-size: 23px !important;
  line-height: 1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel {
  gap: 18px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
  display: grid !important;
  gap: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  height: 116px !important;
  min-height: 116px !important;
  max-height: 116px !important;
  grid-template-columns: 58px minmax(0, 1fr) 154px !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 14px 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  font-size: 20px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin-bottom: 8px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author strong {
  font-size: 14px !important;
  line-height: 1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author em,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-author small {
  font-size: 11px !important;
  line-height: 1 !important;
  color: #8a9bb0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
  font-size: 19px !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p:not(.hud-feed-author) {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #66778e !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
  height: 100% !important;
  align-content: center !important;
  border-left-color: #e1e9f2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side strong {
  font-size: 19px !important;
  line-height: 1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side small {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news {
  gap: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead {
  min-height: 118px !important;
  height: 118px !important;
  grid-template-columns: 90px minmax(0, 1fr) !important;
  align-items: center !important;
  padding: 14px !important;
  gap: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead::before {
  width: 90px !important;
  height: 90px !important;
  border-radius: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead strong {
  font-size: 16px !important;
  line-height: 1.42 !important;
  -webkit-line-clamp: 2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-lead em {
  margin-top: 10px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list {
  gap: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
  height: 78px !important;
  min-height: 78px !important;
  align-items: center !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  padding: 12px 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list i {
  width: 34px !important;
  height: 34px !important;
  font-size: 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list strong {
  font-size: 14px !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list small {
  margin-top: 4px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
  min-height: 326px !important;
  grid-template-columns: 118px minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  grid-template-areas:
    "head head"
    "image chat" !important;
  gap: 14px !important;
  padding: 22px 18px 18px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-head {
  grid-area: head !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
  grid-area: image !important;
  width: 118px !important;
  height: 206px !important;
  min-height: 206px !important;
  border-radius: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat {
  grid-area: chat !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 206px !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) 48px !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-status,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-disclaimer {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-log {
  height: 148px !important;
  min-height: 148px !important;
  display: block !important;
  padding: 14px !important;
  overflow: hidden !important;
  border: 1px solid #dbe6f2 !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(26, 188, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f5f9fe) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-message {
  height: auto !important;
  min-height: 0 !important;
  display: grid !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-log:empty::before {
  content: "Pulse Deck Partner\A 지금 공개된 데이터 분석을 준비하고 있습니다. 잠시 후 주요 시장 흐름과 전략 피드 변화를 정리해드릴게요." !important;
  white-space: pre-line !important;
  display: block !important;
  color: #314258 !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  font-weight: 720 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-meta strong {
  color: #101a2b !important;
  font-size: 14.5px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-meta span {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-text {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  color: #314258 !important;
  font-weight: 680 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input {
  height: 48px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 42px !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 8px 0 14px !important;
  border: 1px solid #dbe6f2 !important;
  border-radius: 15px !important;
  background: #ffffff !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input input {
  height: 100% !important;
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #172033 !important;
  font-size: 13px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input button {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  color: transparent !important;
  font-size: 0 !important;
  background: var(--pd-blue) !important;
  border: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input button::before {
  content: "›" !important;
  color: #ffffff !important;
  font-size: 26px !important;
  line-height: 1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
  border-top: 1px solid #dbe6f2 !important;
  box-shadow: 0 -10px 28px rgba(31, 58, 91, 0.08) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry > span {
  align-content: center !important;
  gap: 3px !important;
}

/* v20: strict alignment baseline.
   This pass normalizes the obvious fundamentals: every major panel sits on
   the same grid, repeated cards share exact height/padding, and text controls
   do not wrap or clip in the common desktop/compact widths. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] *,
body[data-pulse-dashboard="light"][data-active-tab="feed"] *::before,
body[data-pulse-dashboard="light"][data-active-tab="feed"] *::after {
  box-sizing: border-box !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage {
  width: min(100%, 1448px) !important;
  margin: 0 auto !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
  grid-template-columns: 236px minmax(0, 742px) 396px !important;
  gap: 14px !important;
  align-items: start !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-workspace,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
  gap: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel {
  padding: 20px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
  height: 248px !important;
  min-height: 248px !important;
  max-height: 248px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news .hud-panel-head,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-head {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  align-items: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button {
  height: 34px !important;
  line-height: 1 !important;
  display: grid !important;
  place-items: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
  height: 104px !important;
  min-height: 104px !important;
  max-height: 104px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row:nth-child(n+4) {
  width: 100% !important;
  padding: 17px 18px !important;
  justify-items: start !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
  justify-self: stretch !important;
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
  text-align: left !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel {
  min-height: 622px !important;
  max-height: 622px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
  height: 514px !important;
  max-height: 514px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  width: 100% !important;
  grid-template-columns: 58px minmax(0, 1fr) 154px !important;
  gap: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card > div:not(.hud-feed-avatar):not(.hud-feed-side) {
  align-self: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
  align-self: stretch !important;
  place-content: center end !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news {
  min-height: 468px !important;
  max-height: 468px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list {
  display: grid !important;
  grid-template-rows: repeat(3, 78px) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
  width: 100% !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
  min-height: 326px !important;
  max-height: 326px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat {
  min-width: 0 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input input::placeholder {
  color: #7d8ca1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  padding: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  height: 56px !important;
  margin-bottom: 16px !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
  height: 62px !important;
  min-height: 62px !important;
  padding-left: 62px !important;
  align-content: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item small {
  white-space: nowrap !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
  grid-template-columns: 140px minmax(0, 1fr) 352px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry {
  min-width: 0 !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry > span {
  min-width: 128px !important;
}

@media (max-width: 1320px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    grid-template-columns: 190px minmax(0, 680px) 340px !important;
    gap: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel {
    padding: 18px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
    font-size: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
    padding-left: 54px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    grid-template-columns: 54px minmax(0, 1fr) 126px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input {
    grid-template-columns: minmax(0, 1fr) 36px !important;
    padding-left: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input input {
    font-size: 12px !important;
  }
}

/* v21: correct v20 over-tightening.
   Keep the strict grid, but separate the sidebar radio tile from navigation
   and reserve a real header lane above the strategy feed cards. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  flex: 0 0 56px !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 0 10px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  text-align: center !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-group {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
  flex: 0 0 60px !important;
  width: 100% !important;
  min-height: 60px !important;
  height: 60px !important;
  margin: 0 !important;
  padding: 0 14px 0 60px !important;
  display: grid !important;
  align-content: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::after {
  left: 22px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel {
  position: relative !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head {
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  align-items: start !important;
  padding-bottom: 18px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head h2 {
  align-self: start !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head p {
  align-self: start !important;
  margin-top: 8px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
  height: 500px !important;
  max-height: 500px !important;
  margin-top: 8px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  height: 116px !important;
  min-height: 116px !important;
  max-height: 116px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transform: none !important;
}

@media (max-width: 1320px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
    font-size: 11px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
    padding-left: 54px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
    left: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::after {
    left: 20px !important;
  }
}

@media (max-width: 1320px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
    font-size: 17px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
    width: 104px !important;
    height: 188px !important;
    min-height: 188px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat {
    height: 188px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-chat-log {
    height: 130px !important;
    min-height: 130px !important;
  }
}

/* v22: baseline alignment cleanup.
   Previous rail radio/status tile was still absolutely positioned from older
   layers, so it visually collided with the first navigation item. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  padding: 14px !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  flex: 0 0 56px !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 0 8px !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  transform: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
  position: relative !important;
  flex: 0 0 60px !important;
  width: 100% !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 16px 0 62px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::after {
  position: absolute !important;
  left: 25px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item strong {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item small {
  display: none !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news .hud-panel-head,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk .hud-panel-head {
  box-sizing: border-box !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 344px auto !important;
  align-items: center !important;
  min-height: 50px !important;
  height: 50px !important;
  padding: 0 4px 10px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head h2 {
  align-self: center !important;
  line-height: 1.15 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
  position: static !important;
  align-self: center !important;
  justify-self: center !important;
  width: 344px !important;
  height: 38px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head p {
  align-self: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
  margin-top: 8px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
  align-items: center !important;
  border-radius: 14px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
  align-self: center !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  height: 82px !important;
  min-height: 82px !important;
  max-height: 82px !important;
  padding: 0 4px 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head h2 {
  line-height: 1.12 !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head p {
  align-self: start !important;
  justify-self: end !important;
  margin-top: 8px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll {
  margin-top: 0 !important;
  height: 494px !important;
  max-height: 494px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-hero,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-footer-links a {
  border-radius: 14px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-partner-input {
  height: 52px !important;
  min-height: 52px !important;
  align-items: center !important;
}

@media (max-width: 1320px) and (min-width: 981px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
    padding-left: 54px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
    left: 12px !important;
    width: 32px !important;
    height: 32px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::after {
    left: 21px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    grid-template-columns: minmax(0, 1fr) 300px auto !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
    width: 300px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head {
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
  }
}

/* v23: real mobile layout. The desktop reference grid used fixed rail/main
   widths, which left mobile screens rendering as a narrow column. */
@media (max-width: 980px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-stage,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica {
    display: grid !important;
    grid-template-rows: auto auto auto !important;
    gap: 14px !important;
    padding: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-top {
    min-height: 0 !important;
    height: auto !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-logo {
    justify-self: start !important;
    max-width: 100% !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions button {
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-top-actions .hud-lang-button {
    grid-column: 1 / -1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-bell {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "rail"
      "main"
      "side" !important;
    gap: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-workspace,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 14px !important;
    overflow: visible !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::after {
    content: none !important;
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding-left: 56px !important;
    border-radius: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::before {
    left: 14px !important;
    width: 32px !important;
    height: 32px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail-item::after {
    left: 23px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-workspace,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-inspector {
    display: grid !important;
    gap: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    padding: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-panel .hud-panel-head,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-market-news .hud-panel-head,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk .hud-panel-head {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 0 14px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-panel-head p {
    justify-self: start !important;
    max-width: 100% !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
    width: 100% !important;
    justify-self: stretch !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
    width: 100% !important;
    height: 92px !important;
    min-height: 92px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    padding: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
    font-size: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    text-align: right !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-scroll,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card {
    height: auto !important;
    min-height: 132px !important;
    max-height: none !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-side {
    grid-column: 2 !important;
    width: auto !important;
    justify-self: start !important;
    align-self: start !important;
    display: inline-flex !important;
    gap: 8px !important;
    border-left: 0 !important;
    padding-left: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card h3 {
    font-size: 18px !important;
    line-height: 1.38 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-feed-card p {
    font-size: 13px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-hero,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-news-list button {
    min-height: 92px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-my-desk {
    grid-template-columns: 1fr !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-desk-image {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-live-chat {
    height: auto !important;
    min-height: 178px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-replica-bottom {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
    margin: 0 !important;
    border-radius: 16px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-bottom-clock {
    width: 100% !important;
    min-width: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-telemetry > span {
    min-width: 0 !important;
    width: 100% !important;
    border-radius: 12px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-footer-links {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-footer-links a {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* v30-final: sidebar cleanup must win after every sidebar/reference/mobile override. */
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail {
  padding-top: 16px !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail::before {
  content: none !important;
  display: none !important;
  position: static !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] {
  color: #21324c !important;
  border-color: rgba(203, 213, 225, 0.72) !important;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.92), rgba(248, 250, 252, 0.58)) !important;
  box-shadow: inset 3px 0 0 #cbd5e1, 0 10px 26px rgba(31, 69, 116, 0.07) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active strong,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] strong {
  color: #21324c !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active .hud-rail-icon,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] .hud-rail-icon {
  color: #21324c !important;
  border-color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 8px 18px rgba(31, 69, 116, 0.08) !important;
}

body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item.is-active svg,
body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rail .hud-rail-item[aria-pressed="true"] svg {
  color: #21324c !important;
  stroke: currentColor !important;
}

/* v26-final: ranking compactness must win after all reference/mobile overrides. */
@media (min-width: 901px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
    display: grid !important;
    grid-template-columns: minmax(230px, 1fr) minmax(220px, 280px) auto !important;
    grid-template-areas:
      "rank-head rank-tabs rank-link"
      "rank-list rank-list rank-list" !important;
    grid-template-rows: 34px 76px !important;
    align-items: center !important;
    align-content: start !important;
    gap: 10px 18px !important;
    min-height: 150px !important;
    height: 150px !important;
    padding: 14px 18px 16px !important;
    overflow: visible !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    display: contents !important;
    padding: 0 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head h2 {
    grid-area: rank-head !important;
    align-self: center !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.055em !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head h2::after {
    width: 14px !important;
    height: 14px !important;
    margin-left: 6px !important;
    font-size: 9px !important;
    vertical-align: 4px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head p {
    grid-area: rank-link !important;
    justify-self: end !important;
    align-self: center !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs {
    grid-area: rank-tabs !important;
    justify-self: center !important;
    align-self: center !important;
    position: static !important;
    width: 100% !important;
    max-width: 280px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 3px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-tabs button {
    height: 28px !important;
    min-height: 0 !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-radar-strip {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-list {
    grid-area: rank-list !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    height: 76px !important;
    min-height: 76px !important;
    margin: 0 !important;
    align-items: stretch !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row.is-signal-moving {
    height: 76px !important;
    min-height: 76px !important;
    max-height: 76px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    align-content: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transform: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::before,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row::after,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-logo,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-mini-chart,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-intel {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row.is-signal-moving .hud-rank-name {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: end !important;
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name strong {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.035em !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name em {
    display: none !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-name small {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.1 !important;
    color: #6d7c94 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score,
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row.is-signal-moving .hud-rank-score {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: start !important;
    justify-self: stretch !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score strong {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    font-size: clamp(19px, 1.45vw, 22px) !important;
    line-height: 1 !important;
    letter-spacing: -0.055em !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score em {
    flex: 0 0 auto !important;
    font-size: 10px !important;
    line-height: 1 !important;
    color: #6d7c94 !important;
    white-space: nowrap !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-score small {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking {
    padding: 14px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-ranking .hud-panel-head {
    padding: 0 0 10px !important;
    gap: 8px !important;
  }

  body[data-pulse-dashboard="light"][data-active-tab="feed"] .hud-rank-row {
    min-height: 78px !important;
    height: auto !important;
    border-radius: 14px !important;
  }
}
