.pulse-top { padding-block: clamp(25px, 5vw, 60px) 0; }
.pulse-mast, .pulse-section-heading { display: flex; justify-content: space-between; align-items: end; gap: .8rem 1.2rem; margin-bottom: 1rem; }
.pulse-mast { margin-bottom: clamp(12px, 2.1vw, 28px); }
.pulse-mast h1 { margin-top: .35rem; }
.pulse-kicker { display: flex; align-items: center; gap: .48rem; font-size: .88rem; font-weight: 700; color: var(--active); }
.pulse-kicker span { width: 18px; height: 1px; background: var(--active); }
.strip-state { color: var(--muted); font-size: .78rem; margin: .45rem 0 .35rem; }
.market-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: .95rem; gap: .48rem; }
.strip-item { display: grid; gap: .22rem; background: #16242b; border: 1px solid #2e424b; border-radius: 8px; padding: .55rem .63rem .49rem; text-decoration: none; min-width: 0; }
.strip-item:hover { background: #1a3035; border-color: #4f8a7c; }
.strip-name { display: flex; justify-content: space-between; gap: .25rem .37rem; align-items: baseline; }
.strip-name strong { font-size: .84rem; white-space: nowrap; }
.strip-price { font-size: clamp(1.12rem, 1.7vw, 1.55rem); font-weight: 750; line-height: 1.35; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip-unit, .strip-meta { color: var(--muted); font-size: .74rem; font-weight: 450; letter-spacing: normal; }
.strip-unit { margin-left: .26rem; }
.strip-meta { font-variant-numeric: tabular-nums; white-space: nowrap; }
.move { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-track { display: grid; position: relative; grid-template-columns: 1fr 1fr; background: #0f1b22; border-radius: 3px; height: 5px; width: 100%; overflow: hidden; }
.mini-track::after { content: ""; position: absolute; inset: 0 auto 0 50%; border-right: 1px solid #4b626e; }
.mini-track span { width: var(--change-width); background: var(--tone); opacity: .84; }
.mini-track.tone-up span { grid-column: 2; }
.mini-track.tone-down span { grid-column: 1; justify-self: end; }
#sector-scope { color: var(--muted); font-size: .81rem; margin-top: .38rem; }
.sector-board { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .7rem clamp(1rem, 4.1vw, 3.3rem); }
#sector-list { min-height: 13.6rem; }
.sector-filter { width: max-content; margin-block: .63rem .5rem; }
.sector-filter button { padding-inline: .64rem; }
.sector-rows { display: grid; gap: .25rem; }
.sector-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; border: 1px solid transparent; background: #122129; border-radius: 5px; padding: .27rem .45rem .37rem; color: var(--ink); text-align: left; gap: .13rem .55rem; min-height: 43px; }
.sector-row:hover, .sector-row[aria-pressed="true"] { background: #1b3036; border-color: #3c655e; }
.sector-row strong { font-size: .85rem; }
.sector-row .mini-track { grid-column: 1/-1; }
.sector-counter { display: flex; width: 100%; justify-content: space-between; gap: .5rem; padding: .38rem .45rem; margin-top: .25rem; background: #2b2430; color: #eddae4; border: 1px solid #4d3844; border-radius: 5px; min-height: 36px; font-size: .8rem; }
.sector-counter:hover { border-color: #a86c79; }
.pulse-context { min-height: 2.9em; font-size: .82rem; margin-top: .56rem; color: #bad3d3; }
.pulse-section { margin-top: clamp(22px, 3.4vw, 45px); scroll-margin-top: 1rem; }
.pulse-section-heading h2 { font-size: clamp(1.25rem, 2.45vw, 2rem); letter-spacing: -.025em; }
.pulse-section-heading p { margin-top: .25rem; color: var(--muted); font-size: .88rem; }
.pulse-filter { width: max-content; white-space: nowrap; }
.pulse-filter button { padding-inline: .62rem; }
.primary-cards, .global-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .82rem; }
.topic-card { display: flex; flex-direction: column; padding: .87rem .97rem; scroll-margin-top: 1rem; }
.primary-card { background: linear-gradient(145deg, #183038 0%, #14232b 44%, #131f27 100%); border-color: #3a5862; padding: clamp(.9rem, 1.6vw, 1.3rem); }
.topic-card:target { border-color: #5b9789; }
.topic-band { display: flex; align-items: center; gap: .54rem; }
.topic-band .tile-icon { width: 29px; height: 29px; border-radius: 6px; }
.primary-card .topic-band .tile-icon { width: 33px; height: 33px; }
[data-accent="green"] { color: #9ce5d3; background: #1b3731; border-color: #406459; }
[data-accent="blue"] { color: #afd9ff; background: #213746; border-color: #365567; }
[data-accent="gold"] { color: #f3cb86; background: #3b3024; border-color: #625036; }
[data-accent="purple"] { color: #dfcbff; background: #392b4c; border-color: #59476b; }
.topic-quotes { flex: 0 0 auto; min-height: 9.35rem; margin-top: .62rem; }
.pulse-quotes { list-style: none; margin: 0; padding: 0; }
.pulse-quote { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .22rem .45rem; border-top: 1px solid var(--line); padding: .41rem 0; }
.pulse-quote-name { min-width: 0; }
.pulse-quote-name strong, .pulse-quote-metric strong { font-size: .86rem; display: block; line-height: 1.35; }
.pulse-quote-name small, .pulse-quote-metric small { display: block; color: var(--muted); font-size: .73rem; font-variant-numeric: tabular-nums; }
.pulse-quote-metric { text-align: right; }
.pulse-quote .mini-track { grid-column: 1/-1; height: 4px; margin-top: .06rem; }
.topic-trend { flex: 1; padding: .72rem .68rem; margin-top: .78rem; border-inline-start: 2px solid #487d75; border-radius: 4px; background: #14282e; }
.primary-card .topic-trend { background: #183036; border-inline-start-color: #61b6a7; }
.topic-trend h3, .topic-trend h4 { margin: 0 0 .34rem; color: var(--active); font-size: .89rem; font-weight: 750; }
.topic-trend p { color: #dbe6ea; font-size: .89rem; line-height: 1.58; }
.topic-trend .topic-lead { margin-bottom: .28rem; font-weight: 700; color: #e6f1f1; }
.topic-trend .trend-counter { margin-top: .36rem; color: #cad6dc; }
.topic-trend .trend-watch { color: #baced8; margin-top: .44rem; }
.trend-watch strong { margin-right: .48rem; color: #a9ddcf; white-space: nowrap; }
.trend-consult { display: inline-block; margin-top: .6rem; color: var(--active); font-size: .84rem; text-underline-offset: .24em; }
.topic-related { margin-top: .79rem; padding-top: .64rem; border-top: 1px solid var(--line); }
.topic-related h3, .topic-related h4 { color: #d8e6eb; margin: 0 0 .32rem; font-size: .87rem; font-weight: 750; }
.topic-related ul { padding: 0; margin: 0; list-style: none; }
.topic-related li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .34rem .65rem; padding: .31rem .08rem; border-top: 1px solid #233743; font-size: .86rem; color: #c5d7e0; }
.topic-related a { color: #d8e7ee; text-decoration: none; }
.topic-related a:hover { color: var(--active); text-decoration: underline; }
.topic-related time { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.historical-shell { margin-bottom: clamp(28px, 5vw, 70px); }
.historical-shell > summary { font-weight: 750; color: #d1e4e9; }
.historical-shell .markets { padding-top: .55rem; }
.historical-shell .macro-section { padding-bottom: 0; }
@media (max-width: 1020px) {
  .market-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .pulse-mast { align-items: flex-start; }
  .pulse-mast .archive-tag { margin-top: .12rem; }
  .pulse-mast h1 { font-size: clamp(1.55rem, 6.55vw, 2.45rem); }
  .primary-cards, .global-cards, .sector-board { grid-template-columns: minmax(0, 1fr); }
  .strip-item { padding: .46rem .44rem; }
  .strip-name strong { font-size: .78rem; }
  .pulse-section-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 510px) {
  .pulse-kicker { font-size: .76rem; }
  .market-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) { .pulse-mast { flex-wrap: wrap; } }
