/*!
 * BullBridge News · السوق الأمريكي (us.html) — page-scoped styles.
 * Tokens only; every rule is scoped to classes that exist on this page (prefix .us-).
 *  01 Hero & live session panel   04 Stocks: phone table, breadth     07 Guide illustrations (SVG)
 *  02 Pulse & S&P 500 tiles        05 Academy band & strategy cards     08 Indices, news
 *  03 TradingView block            06 Guide: sub-nav, tiles, tables     09 Responsive & touch targets
 */

/* ======================================================================
   01 · HERO & LIVE SESSION PANEL
   ====================================================================== */
.us-hero .page-hero__grid { align-items: center; }
main .num { white-space: nowrap; }
.us-hero .page-hero__title { text-wrap: balance; }
.us-hero .page-hero__lead b { color: var(--text); font-weight: 600; }
.us-hero__delay { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
.us-hero__delay::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.us-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-5); }
.us-jump .lchip { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.us-hero__line { height: 112px; }

/* «الجلسة الآن»: vivid US head (status + the two clocks) over a neutral body (session bar + key figures), like .mcard */
.us-live {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-xl);
  border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 80%, transparent); box-shadow: var(--shadow-lg);
}
html[data-theme="light"] .us-live { background: color-mix(in srgb, var(--surface) 92%, transparent); }
.us-live__head { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 14px; padding: 18px 20px 20px; color: var(--on-vivid); background: var(--grad-us); }
.us-live__head::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--on-vivid) 12%, transparent) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to left, var(--on-vivid), transparent 75%); mask-image: linear-gradient(to left, var(--on-vivid), transparent 75%);
}
.us-live__head :focus-visible { outline-color: var(--on-vivid); }
.us-live__body { display: grid; gap: 14px; padding: 16px 20px 18px; }
.us-live__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.us-live__title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--on-vivid); }
.us-live__title .icon { width: 18px; height: 18px; color: var(--on-vivid-2); }
.us-live__date { font-size: 12.5px; font-weight: 600; color: var(--on-vivid-2); line-height: 1.5; white-space: nowrap; }
.us-live__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; }
.us-live .status-card { --sc-text: var(--on-vivid); padding: 0; border: 0; border-radius: 0; background: none; gap: 2px; min-height: 92px; align-content: start; }
.us-live .status-card__name { font-size: 13px; font-weight: 600; color: var(--on-vivid-2); }
.us-live .status-card__state { font-family: var(--font-head); font-size: clamp(26px, 1vw + 17px, 32px); font-weight: 700; line-height: 1.3; text-wrap: balance; }
.us-live .status-card__next { font-size: 14px; color: var(--on-vivid-2); white-space: normal; }
/* two clocks: New York and Riyadh, with the current gap (the whole page is about this conversion) */
.us-clocks {
  display: flex; flex-direction: column; gap: 3px; min-width: 184px; padding: 10px 14px 11px; border-radius: 16px;
  background: color-mix(in srgb, var(--on-vivid) 9%, transparent); border: 1px solid color-mix(in srgb, var(--on-vivid) 22%, transparent);
}
.us-clock { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; line-height: 1.35; }
.us-clock__city { font-size: 13px; font-weight: 600; color: var(--on-vivid-2); }
.us-clock__time { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--on-vivid-2); }
.us-clock--ruh .us-clock__city, .us-clock--ruh .us-clock__time { color: var(--on-vivid); }
.us-clocks__gap { margin-top: 5px; padding-top: 7px; border-top: 1px solid color-mix(in srgb, var(--on-vivid) 22%, transparent); font-size: 12.5px; font-weight: 600; line-height: 1.5; color: var(--on-vivid); }
.us-clocks__gap small { display: block; font-size: 12px; font-weight: 500; color: var(--on-vivid-2); }
.us-live__session { min-height: 64px; }
.us-live__count { font-size: 13.5px; color: var(--text-3); line-height: 1.6; }
.us-live__count b { color: var(--text); font-weight: 600; }
.us-sess__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; font-size: 13.5px; line-height: 1.6; }
.us-sess__phase { font-weight: 700; color: var(--text); }
.us-sess__count { color: var(--text-3); }
.us-sess__count b { color: var(--text); font-weight: 600; }
.us-sess__bar { position: relative; height: 8px; border-radius: 8px; background: var(--surface-3); overflow: hidden; }
.us-sess__bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to left, color-mix(in srgb, var(--us) 55%, transparent), var(--us)); transform-origin: right center; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
.us-sess__ends { display: flex; justify-content: space-between; gap: 8px; margin-top: 5px; font-size: 12px; color: var(--text-3); }
.us-live__figwrap { display: grid; gap: 8px; min-width: 0; }
.us-live__figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.us-live__asof { font-size: 12px; line-height: 1.5; color: var(--text-3); }
.us-live__asof:empty { display: none; }
.us-fig { min-width: 0; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--surface-2) 85%, transparent); border: 1px solid var(--border); }
.us-fig__name { font-size: 12.5px; font-weight: 600; color: var(--text-3); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.us-fig__px { margin: 2px 0 0; min-height: 55px; }
.us-fig__val { display: block; font-family: var(--font-head); font-size: clamp(16px, .6vw + 11px, 19px); font-weight: 700; line-height: 1.35; }
.us-fig__px .chg { margin-top: 4px; }
.us-fig__px .skel { display: block; margin-block: 10px 0; }

/* ======================================================================
   02 · PULSE & S&P 500 TILES
   ====================================================================== */
.us-pulse .pulse-grid { flex: none; }
@media (min-width: 1100px) {
  .us-pulse .pulse-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.us-en { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--text-3); }
.us-spx-chart { --chart-h: 340px; }
.us-spx { display: flex; flex-direction: column; }
.us-spx__body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.us-spx__body .range { padding-top: 6px; }
.us-spx__body .range + .range { padding-top: 14px; }
.us-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.us-kv > div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.us-kv dt { font-size: 12.5px; font-weight: 600; color: var(--text-3); line-height: 1.5; }
.us-kv dd { margin: 3px 0 0; font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.35; }
.us-kv dd .chg { font-family: var(--font-body); }
.us-spx__note { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }

/* ======================================================================
   03 · TRADINGVIEW BLOCK (tabs + calendar; frames fill the row so both columns end together)
   ====================================================================== */
.us-tv, .us-cal { display: flex; flex-direction: column; min-width: 0; }
.us-tv__bar, .us-cal__head { min-height: 54px; display: flex; align-items: center; }
.us-tv .tabs__list { max-width: 100%; }
.us-tv .tabs__panel { margin-top: 10px; flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.us-tv__note { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 10px; min-height: 22px; }
.us-cal__body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.us-cal__body > .us-tv__note { margin-top: 10px; }
.us-cal__toggle { display: none; }
.us-cal__head { justify-content: space-between; gap: 12px; }
.us-tv__note .icon { margin-top: 4px; flex: none; }
.us-cal__title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 1.4; }
.us-cal__title .icon { color: var(--us-ink); }
.us-tv .tabs__panel > .tv-frame, .us-cal__body > .tv-frame { flex: 1 1 0; height: auto; min-height: var(--tv-h, 560px); }

/* ======================================================================
   04 · STOCKS: side column, breadth bar
   ====================================================================== */
.us-side { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.us-breadth .tile__title { margin-bottom: 10px; }
.us-br__head { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.us-br__head b { font-family: var(--font-head); font-size: 22px; color: var(--text); }
.us-br__bar { display: flex; gap: 3px; height: 12px; margin-top: 12px; direction: rtl; }
.us-br__bar i { min-width: 0; border-radius: 6px; }
.us-br__bar .up { background: var(--pos); }
.us-br__bar .flat { background: var(--flat); }
.us-br__bar .down { background: var(--neg); }
.us-br__legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; font-weight: 600; }
.us-br__legend .pos, .us-br__legend .neg { display: inline-flex; align-items: center; gap: 5px; }
.us-br__legend .flatc { color: var(--text-3); }
.us-br__avg { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-3); }
.us-side .movers { grid-template-columns: minmax(0, 1fr); }

/* ======================================================================
   05 · ACADEMY BAND (the only vivid violet surface on the page) & STRATEGY CARDS
   ====================================================================== */
.us-path {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-vivid);
  padding: clamp(24px, 3.2vw, 44px); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  background:
    radial-gradient(55% 120% at 100% 0%, color-mix(in srgb, var(--academy) 25%, transparent), transparent 64%),
    radial-gradient(45% 110% at 0% 100%, color-mix(in srgb, var(--us) 25%, transparent), transparent 64%),
    var(--grad-academy);
}
.us-path::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--on-vivid) 14%, transparent) 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to left, var(--on-vivid), transparent 70%); mask-image: linear-gradient(to left, var(--on-vivid), transparent 70%);
}
.us-path :focus-visible { outline-color: var(--on-vivid); }
.us-path__intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 32px; }
.us-path__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--on-vivid-2); }
.us-path__kicker .icon { width: 18px; height: 18px; }
.us-path__title { margin-top: 10px; font-family: var(--font-head); font-size: clamp(24px, 1vw + 17px, 34px); font-weight: 800; line-height: 1.35; color: var(--on-vivid); }
.us-path__text { margin-top: 10px; max-width: 62ch; font-size: 16px; line-height: 1.85; color: var(--on-vivid-2); }
.us-path__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.us-btn-vivid-ghost { background: color-mix(in srgb, var(--on-vivid) 8%, transparent); color: var(--on-vivid); border-color: color-mix(in srgb, var(--on-vivid) 40%, transparent); }
.us-btn-vivid-ghost:hover { background: color-mix(in srgb, var(--on-vivid) 16%, transparent); }

.us-path__steps { position: relative; list-style: none; margin: clamp(26px, 3vw, 38px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.us-path__steps::before {
  content: ""; position: absolute; top: 21px; inset-inline: calc(100% / 12) calc(100% / 12); height: 2px; border-radius: 2px;
  background: linear-gradient(to left, var(--on-vivid), color-mix(in srgb, var(--on-vivid) 22%, transparent));
}
.us-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.us-step__num {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--on-vivid);
  background: var(--grad-academy); border: 2px solid color-mix(in srgb, var(--on-vivid) 70%, transparent);
}
.us-step--start .us-step__num { border-color: var(--on-vivid); box-shadow: 0 0 0 6px color-mix(in srgb, var(--on-vivid) 18%, transparent); }
.us-step__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.us-step__name { font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--on-vivid); }
.us-step__sub { font-size: 13px; line-height: 1.65; color: var(--on-vivid-2); }
.us-step__links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.us-step__links a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--on-vivid) 9%, transparent); border: 1px solid color-mix(in srgb, var(--on-vivid) 26%, transparent);
  gap: .3em; color: var(--on-vivid); font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.us-step__links a:hover { background: color-mix(in srgb, var(--on-vivid) 14%, transparent); border-color: color-mix(in srgb, var(--on-vivid) 60%, transparent); }
.us-step--start .us-step__links a { background: var(--on-vivid); color: var(--brand-ink); border-color: transparent; }
html[data-theme="light"] .us-step--start .us-step__links a { color: var(--text); }

.us-strats { margin-top: var(--sp-6); }
.us-stage { font-size: 12px; font-weight: 700; color: var(--academy-ink); line-height: 1.5; }
.us-strats .scard__title { margin-top: -4px; }
.us-strats__note { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.us-strats__note b { color: var(--text-2); font-weight: 600; }
.us-strats__note .icon { flex: none; margin-top: 5px; }
.us-sharia { margin: var(--sp-6) 0 0; }

/* ======================================================================
   06 · GUIDE: sub-nav, tiles, tables, notes
   ====================================================================== */
.us-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: calc(var(--sp-2) * -1) 0 var(--sp-6); }
.us-subnav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}
.us-subnav a:hover { color: var(--text); border-color: var(--text-3); }
.us-subnav .icon { width: 17px; height: 17px; color: var(--us-ink); }
.us-g { display: flex; flex-direction: column; }
.us-g__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.us-g__kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--us-ink); line-height: 1.5; }
.us-g__kicker .icon { width: 16px; height: 16px; }
.us-g__title { margin-top: 6px; font-family: var(--font-head); font-size: clamp(20px, .6vw + 16px, 24px); font-weight: 700; line-height: 1.45; }
.us-g__title small { font-family: var(--font-body); font-size: .62em; font-weight: 600; color: var(--text-3); }
.us-g__lead { margin-top: 6px; max-width: 70ch; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.us-foot { margin-top: 14px; font-size: 14px; line-height: 1.85; color: var(--text-2); }
.us-foot b { color: var(--text); }
.us-src { margin-top: auto; padding-top: 14px; font-size: 12.5px; color: var(--text-3); line-height: 1.7; }
.us-src a { color: var(--text-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--text-2) 35%, transparent); text-underline-offset: .25em; }
.us-src a:hover { color: var(--text); text-decoration-color: currentColor; }
.us-g .figure { margin: 4px 0 0; }
.us-fig-ill .figure__frame { background: var(--surface); }
.us-fig-ill .figure__frame svg { max-width: 460px; }

/* (a) trading day */
.us-day__now { display: inline-flex; align-items: center; gap: 8px; max-width: 46ch; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.us-day__now b { color: var(--text); }
.us-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 18%, transparent); }
.us-day__fig { margin: 0; }
.us-day__plot { position: relative; min-height: 200px; }
.us-day__plot svg { display: block; width: 100%; direction: ltr; overflow: visible; }
.us-day__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.us-day__legend span { display: inline-flex; align-items: center; gap: 7px; }
.us-sw { width: 22px; height: 10px; border-radius: 4px; flex: none; }
.us-sw--reg { background: var(--us); }
.us-sw--ext { background: var(--us-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--us) 45%, transparent); }
.us-sw--on { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--text-3) 55%, transparent) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--text-3); }
.us-day__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px 24px; align-items: start; margin-top: 22px; }
.us-callout { margin: 0; }
.us-callout .callout__body p + p { margin-top: .5em; }
.us-notes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.us-notes li { position: relative; padding-inline-start: 18px; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.us-notes li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--us); }
.us-notes b { color: var(--text); }

/* hours table: the column of the regime in force is tinted, with a «الآن» chip */
.us-hours th small { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); }
.us-hours thead th small { display: inline; margin-inline-start: 4px; }
.us-hours td { color: var(--text-2); }
.us-hours td small { font-size: 12px; color: var(--text-3); }
.us-hours[data-active="est"] [data-col="est"], .us-hours[data-active="edt"] [data-col="edt"] { background: color-mix(in srgb, var(--us-soft) 75%, transparent); color: var(--text); }
.us-hours[data-active="est"] thead [data-col="est"], .us-hours[data-active="edt"] thead [data-col="edt"] { color: var(--us-ink); }
.us-hours__main th, .us-hours__main td { font-weight: 700; color: var(--text); }
.us-hours__exp th, .us-hours__exp td { color: var(--text-3); }
.us-now-chip { display: inline-flex; align-items: center; min-height: 20px; margin-inline-start: 6px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--us); color: var(--brand-ink); font-size: 12px; font-weight: 700; vertical-align: middle; }
.us-ny { display: none; }

/* (b) holidays */
.us-hol__table td, .us-hol__table th { vertical-align: middle; }
.us-hol__table tbody th { font-weight: 600; color: var(--text); }
.us-hol__table tbody th small { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); }
.us-hol__year th { padding-block: 8px; background: var(--surface-2); font-size: 12.5px; color: var(--text-3); font-weight: 700; }
.us-hol__table tr.is-past, .us-hol__table tr.is-more { display: none; }
.us-hol__table.is-all tr.is-more { display: table-row; }
.us-hol__table tr.is-next > * { background: color-mix(in srgb, var(--us-soft) 80%, transparent); }
.us-hol__table tr.is-next td:first-child { box-shadow: inset -3px 0 0 var(--us); }
.us-hol__table tr.is-next .us-tag--closed { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong); }
.us-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.us-tag--closed { background: var(--surface-3); color: var(--text-2); }
.us-tag--early { background: var(--warn-soft); color: var(--warn); }
.us-next { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--us-ink); white-space: nowrap; }
.us-hol__more { margin-top: 12px; }
.us-hol__empty { padding: 14px 16px; font-size: 14px; color: var(--text-3); }

/* (d) options facts */
.us-opt__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 18px 28px; align-items: center; }
.us-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; margin: 0; }
.us-fact { min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.us-fact dt { display: flex; flex-direction: column; gap: 2px; }
.us-fact__big { font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--text); }
.us-fact__k { font-size: 12.5px; font-weight: 700; color: var(--us-ink); line-height: 1.5; }
.us-fact dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
.us-facts.is-collapsed > .is-more { display: none; }
.us-facts__more { margin-top: 10px; }
.us-exp { display: flex; flex-direction: column; gap: 12px; }
.us-exp .figure__frame { padding: 14px; }
.us-exp .figure__frame svg { max-width: 440px; }
.us-exp__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.us-exp__legend span { display: inline-flex; align-items: center; gap: 8px; }
.us-mk { width: 14px; height: 14px; flex: none; border-radius: 50%; }
.us-mk--mo { background: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 22%, transparent); }
.us-mk--wk { border: 2.4px solid var(--text-2); }
.us-mk--mw { width: 11px; height: 11px; margin-inline: 1.5px; border-radius: 2px; background: var(--us); transform: rotate(45deg); }

/* (e) PDT */
.us-pdt__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 36px; align-items: center; }
.us-pdt__main .us-g__head { margin-bottom: 16px; }
.us-pdt__side .figure__frame svg { max-width: 500px; }
.us-pdt__side .us-foot { margin-top: 12px; }
.us-pdt__key { color: var(--text); font-weight: 600; }
.us-pdt__cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.us-pdt__col { min-width: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.us-pdt__col--now { background: var(--us-soft); border-color: color-mix(in srgb, var(--us) 35%, transparent); }
.us-pdt__when { font-size: 12.5px; font-weight: 700; color: var(--text-3); line-height: 1.5; }
.us-pdt__col--now .us-pdt__when { color: var(--us-ink); }
.us-pdt__val { margin-top: 4px; font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.3; }
.us-pdt__val s { color: var(--text-3); text-decoration-thickness: 3px; text-decoration-color: var(--text-2); }
.us-pdt__val--txt { font-size: 18px; font-weight: 700; padding-block: 5px; }
.us-pdt__txt { margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: var(--text-2); }

/* ======================================================================
   07 · GUIDE ILLUSTRATIONS (inline SVG; colours from tokens, both themes)
   ====================================================================== */
.us-ill-box { fill: var(--surface-2); stroke: var(--border-strong); stroke-width: 1.2; }
.us-ill-box--accent { fill: var(--us-soft); stroke: color-mix(in srgb, var(--us) 50%, transparent); }
.us-ill-big { font-family: var(--font-head); font-size: 27px; font-weight: 800; fill: var(--text); }
.us-ill-arrow { fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; }
.us-ill-head { fill: var(--text-2); }
.us-ill-cell { fill: var(--surface-2); stroke: var(--border); stroke-width: 1.2; }
.us-ill-cell--set { fill: var(--us-soft); stroke: color-mix(in srgb, var(--us) 45%, transparent); }
.us-ill-cell--off { fill: var(--surface); stroke: var(--border-strong); stroke-dasharray: 3 3; }
.us-ill-cell--mo { stroke: var(--text); stroke-width: 1.6; }
.us-ill-hatch { stroke: var(--border-strong); stroke-width: 2; }
.us-ill-mw path { fill: var(--us); }
.us-ill-wk circle { fill: none; stroke: var(--text-2); stroke-width: 2.4; }
.us-ill-mo { fill: var(--text); }
.us-ill-mo-ring { fill: none; stroke: var(--text); stroke-width: 1.5; opacity: .4; }
.us-ill-track { stroke: var(--border-strong); stroke-width: 2; stroke-linecap: round; }
.us-ill-phase { fill: var(--us-soft); stroke: color-mix(in srgb, var(--us) 40%, transparent); }
.us-ill-phase-t { font-family: var(--font-body); font-size: 14px; font-weight: 600; fill: var(--us-ink); }
.us-ill-node { fill: var(--surface); stroke: var(--text-2); stroke-width: 2.2; }
.us-ill-node--key { fill: var(--us); stroke: var(--us); }
.us-ill-today line { stroke: var(--text); stroke-width: 1.6; }
.us-ill-today rect { fill: var(--brand); }
.us-ill-today text { font-family: var(--font-body); font-size: 14px; font-weight: 700; fill: var(--brand-ink); }

/* 24-hour band (drawn by us.js at container pixel size; labels stay 12–13px) */
.usd-bg { fill: var(--surface-3); }
.usd-ext { fill: var(--us-soft); stroke: color-mix(in srgb, var(--us) 45%, transparent); stroke-width: 1; }
.usd-reg { fill: var(--us); }
.usd-on { stroke: var(--text-3); stroke-width: 1; stroke-dasharray: 4 3; }
.usd-hatch { stroke: var(--text-3); stroke-width: 1.5; opacity: .5; }
.usd-grid { stroke: var(--border); stroke-width: 1; shape-rendering: crispEdges; }
.usd-axis { font-family: var(--font-num); font-size: 12px; fill: var(--text-3); font-variant-numeric: tabular-nums; }
.usd-lab { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; }
.usd-lab--reg { fill: var(--brand-ink); }
.usd-lab--ext { fill: var(--us-ink); }
.usd-lab--on { fill: var(--text-2); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.usd-row { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; fill: var(--text); paint-order: stroke; stroke: var(--surface); stroke-width: 6px; stroke-linejoin: round; }
.usd-notch path { fill: var(--text); stroke: var(--surface); stroke-width: 1.5; stroke-linejoin: round; }
.usd-tag { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; fill: var(--text-3); }
.usd-chip rect { fill: var(--us); }
.usd-chip text { font-family: var(--font-body); font-size: 12px; font-weight: 700; fill: var(--brand-ink); }
.usd-now line { stroke: var(--text); stroke-width: 1.6; }
.usd-now circle { fill: var(--text); }
.usd-now rect { fill: var(--brand); }
.usd-now text { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; fill: var(--brand-ink); }

/* ======================================================================
   08 · INDICES & NEWS
   ====================================================================== */
.us-idx__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.us-ix { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--border); }
.us-ix__glyph { width: 100%; height: 46px; color: var(--us); fill: currentColor; margin-bottom: 4px; }
.us-ix__name { font-family: var(--font-head); font-size: 16.5px; font-weight: 700; line-height: 1.45; }
.us-ix__name small { display: block; font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.us-ix__now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 30px; }
.us-ix__px { font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 1.3; }
.us-ix__what { flex: 1; font-size: 13.5px; line-height: 1.8; color: var(--text-2); }
.us-ix__how .tag { white-space: normal; line-height: 1.5; padding-block: 3px; }

.us-news__feature { display: flex; flex-direction: column; }
.us-news__feature > .ncard, .us-news__feature > .state { flex: 1 1 auto; }
.us-news__all { display: none; margin-top: var(--sp-5); }

/* ======================================================================
   09 · RESPONSIVE & TOUCH TARGETS
   ====================================================================== */
@media (min-width: 1100px) {
  /* settlement sits beside the taller holidays tile: its figure takes up the spare height (centred), unless the table is expanded */
  .us-set .us-fig-ill { flex: 1 1 auto; display: flex; flex-direction: column; }
  .us-set .us-fig-ill .figure__frame { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
  .us-guide.is-hol-all .us-set { align-self: start; }
  .us-guide.is-hol-all .us-set .us-fig-ill, .us-guide.is-hol-all .us-set .us-fig-ill .figure__frame { flex: none; }
}
@media (max-width: 1099px) {
  /* full-width panel: session bar beside the three figures (stacked rows) */
  .us-live__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 24px; }
  .us-live__figs { grid-template-columns: minmax(0, 1fr); }
  .us-fig { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .us-fig__px { display: flex; align-items: center; gap: 10px; min-height: 0; margin: 0; }
  .us-fig__px .chg { margin: 0; }
  .us-spx__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
  .us-spx__body > .us-kv { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .us-spx__body > .us-spx__note { grid-column: 1; }
  .us-path__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .us-path__steps::before { display: none; }
  .us-day__grid, .us-opt__grid, .us-pdt__grid { grid-template-columns: minmax(0, 1fr); }
  /* five explainers: three on the first row, two wider ones on the second (no orphan cell) */
  .us-idx__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .us-ix { grid-column: span 2; }
  .us-ix:nth-child(n+4) { grid-column: span 3; }
  .us-side .movers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .us-side { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .us-guide .us-hol, .us-guide .us-set { grid-column: span 6; }
}
@media (min-width: 700px) and (max-width: 899px) {
  /* small tablets: drop the points-change and link columns so the quote table fits without sideways scrolling */
  .us-quotes .quotes-table th:nth-child(3), .us-quotes .quotes-table td:nth-child(3),
  .us-quotes .quotes-table th:nth-child(7), .us-quotes .quotes-table td:nth-child(7) { display: none; }
  .us-quotes .table-wrap > .table { min-width: 0; }
  .us-quotes .table th, .us-quotes .table td { padding-inline: 12px; }
}
@media (max-width: 899px) {
  .us-path__intro { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699px) {
  .us-hero__line { height: 84px; }
  .us-hero__line .hero__line-label { display: none; }
  .us-pulse .mini-link { display: none; }
  .us-spx-chart .tile__sub, .us-spx-chart .us-en { display: none; }
  .us-hide-sm { display: none !important; }
  .us-fig-ill .figure__frame { padding: 6px 0 0; margin-inline: calc((var(--pad) - 6px) * -1); border: 0; background: none; box-shadow: none; }
  .us-exp .figure__frame { padding: 6px 0 0; }
  .us-jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px; }
  .us-jump::-webkit-scrollbar { display: none; }
  .us-jump .lchip { flex: none; }
  .us-live { border-radius: 22px; }
  .us-live__head { padding: 14px 14px 16px; gap: 12px; }
  .us-live__body { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 14px; gap: 12px; }
  .us-live__figs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .us-fig { display: block; padding: 9px 9px 10px; border-radius: 12px; }
  .us-fig__px { display: block; min-height: 51px; margin-top: 2px; }
  .us-fig__px .chg { margin-top: 4px; }
  .us-fig__name { font-size: 12px; }
  .us-live .status-card { min-height: 84px; }
  .us-live .status-card__state { font-size: 22px; }
  .us-live__main { gap: 10px 12px; }
  .us-clocks { min-width: 148px; padding: 9px 11px 10px; border-radius: 14px; }
  .us-clock { gap: 10px; }
  .us-clock__city { font-size: 12px; }
  .us-clock__time { font-size: 17px; }
  .us-clocks__gap { font-size: 12px; }

  .us-spx-chart { --chart-h: 240px; }
  .us-spx__body { display: flex; }

  .us-quotes .table-wrap > .table { min-width: 0; }
  .us-quotes .quotes-table th:nth-child(3), .us-quotes .quotes-table td:nth-child(3),
  .us-quotes .quotes-table th:nth-child(5), .us-quotes .quotes-table td:nth-child(5),
  .us-quotes .quotes-table th:nth-child(6), .us-quotes .quotes-table td:nth-child(6),
  .us-quotes .quotes-table th:nth-child(7), .us-quotes .quotes-table td:nth-child(7) { display: none; }
  .us-quotes .quote-name { min-width: 0; gap: 8px; }
  .us-quotes .quote-name__badge { min-width: 40px; }
  .us-quotes .table th, .us-quotes .table td { padding: 10px 8px; }
  .us-quotes .table th:first-child, .us-quotes .table td:first-child { padding-inline-start: 12px; }
  .us-side .movers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .us-side .movers__col { padding: 14px 12px 4px; }
  .us-side .movers__title { font-size: 15px; gap: 6px; }
  .us-side .movers__title .icon { width: 17px; height: 17px; }
  .us-side .movers__px { display: none; }
  .us-side .movers__row { gap: 6px; }
  .us-side .movers__name { font-size: 13.5px; }
  .us-cal__toggle { display: inline-flex; flex: none; }
  .us-cal:not(.is-open) .us-cal__body { display: none; }
  .us-cal:not(.is-open) .us-cal__head { padding: 10px 10px 10px 16px; padding-inline: 16px 10px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

  .us-tv .tabs__list { width: 100%; }
  .us-tv .tabs__tab { flex: 1 1 0; padding: 0 8px; font-size: 13.5px; }
  .us-tv__bar, .us-cal__head { min-height: 0; }

  .us-path { padding: 22px 18px 24px; border-radius: 24px; }
  .us-path__ctas .btn { flex: 1 1 100%; }
  .us-hero__more { display: none; }
  .us-path__text { font-size: 15px; line-height: 1.8; }
  .us-path__steps { display: flex; align-items: stretch; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: -18px; padding: 4px 18px 8px; scroll-padding-inline: 18px; scrollbar-width: none; }
  .us-path__steps::-webkit-scrollbar { display: none; }
  .us-step__links a { padding: 0 10px; font-size: 12.5px; }
  .us-step { flex: 0 0 86%; gap: 12px; scroll-snap-align: start; padding: 16px; border-radius: 18px; background: color-mix(in srgb, var(--on-vivid) 8%, transparent); border: 1px solid color-mix(in srgb, var(--on-vivid) 18%, transparent); }
  .us-step__num { width: 40px; height: 40px; font-size: 16px; }

  .us-subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px; }
  .us-subnav::-webkit-scrollbar { display: none; }
  .us-subnav a { flex: none; }
  .us-day__now { max-width: none; }
  .us-day__plot { min-height: 188px; }

  .us-rtable .table th, .us-rtable .table td { padding: 10px 8px; font-size: 13.5px; }
  .us-rtable .table th:first-child, .us-rtable .table td:first-child { padding-inline-start: 12px; }
  .us-hours th:nth-child(2), .us-hours td:nth-child(2) { display: none; }
  .us-ny { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--text-3); }
  .us-hours thead th small { display: block; margin: 0; }
  .us-tag { padding-inline: 8px; font-size: 12px; }
  .us-hol__table tbody th small[lang="en"], .us-hours th small[lang="en"] { display: none; }
  .us-callout { padding: 14px; font-size: 14.5px; line-height: 1.75; }
  .us-notes li { font-size: 13.5px; line-height: 1.75; }
  .us-kv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .us-kv > div { padding: 8px 9px; }
  .us-kv dt { font-size: 12px; }
  .us-kv dd { font-size: 15px; }
  .us-kv dd .chg { height: 22px; padding: 0 5px; font-size: 12px; }
  .us-fact { padding: 10px 12px; }
  .us-fact dd { margin-top: 4px; font-size: 13.5px; line-height: 1.7; }
  .us-hol__table td:first-child { min-width: 82px; }

  .us-facts { grid-template-columns: minmax(0, 1fr); }
  .us-exp__legend { justify-content: flex-start; gap: 4px 14px; font-size: 12.5px; }
  .us-fact dt { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; }
  .us-fact__big { font-size: 18px; }
  .us-pdt__cmp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .us-pdt__val { font-size: 22px; }
  .us-pdt__val--txt { font-size: 15.5px; }

  .us-idx__list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad) 12px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .us-idx__list::-webkit-scrollbar { display: none; }
  .us-ix { flex: 0 0 80%; scroll-snap-align: start; }

  .us-news__grid .news-grid { gap: 10px; }
  .us-news__grid .ncard { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px; align-items: start; }
  .us-news__grid .ncard__media { border-radius: 11px; aspect-ratio: 1 / 1; }
  .us-news__grid .ncard__body { padding: 0; gap: 6px; }
  .us-news__grid .ncard__title { font-size: 17px; -webkit-line-clamp: 3; }
  .us-news__grid .ncard__summary { display: none; }
  .us-news__grid .nfb__glyph { width: 30px; height: 30px; top: 6px; inset-inline-start: 6px; border-radius: 9px; }
  .us-news__grid .nfb__glyph .icon { width: 16px; height: 16px; }
  .us-news__all { display: block; }
  .us-news__all .btn { width: 100%; }
}
/* touch: every interactive target on this page is at least 44px tall (style.css covers .btn--sm, breadcrumbs, chips, sort buttons) */
@media (pointer: coarse), (max-width: 699px) {
  .us-step__links a, .us-subnav a { min-height: 44px; }
  .us-src a { display: inline-block; padding-block: 11px; line-height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .us-sess__bar i { transition: none; }
}
