/* Chrome, layout, home — ported from staging globals + components */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-pos { color: var(--pos); }
.text-neg { color: var(--neg); }
.tbs-muted { color: var(--muted); }
.tbs-small { font-size: 12px; }
.tbs-link-cyan { color: var(--cyan); }

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}

.progress-track {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 100;
  background: rgba(11, 28, 51, 0.08);
}
.progress-track > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), #5be0f0 55%, var(--navy-3));
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--navy);
  border: 1.5px solid #ffffff;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(11, 28, 51, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 199;
  opacity: 0;
  transition: width 0.2s, height 0.2s, margin 0.2s;
  will-change: transform;
}

.cursor-ring.on-link {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-color: var(--cyan);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
    visibility: hidden !important;
  }
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button {
    cursor: auto;
  }
}

@media (max-width: 1023px) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
    visibility: hidden !important;
  }
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: tick 38s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.news-ticker-track { animation-duration: 55s; }
@keyframes tick { to { transform: translateX(-50%); } }

@keyframes pulse-dot {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neg);
  box-shadow: 0 0 0 0 rgba(217, 83, 102, 0.55);
  animation: pulse-dot 1.8s infinite;
  display: inline-block;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; }
  .news-ticker-track { display: none !important; }
  .news-ticker-static { display: block !important; }
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button {
    cursor: auto;
  }
}

.news-ticker-static {
  display: none;
  margin: 0;
  padding: 0.625rem 1rem;
  font-size: 13px;
}
.news-ticker-static a {
  margin-right: 1.5rem;
  color: #bae6fd;
  text-decoration: none;
}
.news-ticker-static a:hover { color: #fff; }

/* Utility bar */
.tbs-utility {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 253, 255, 0.92);
  font-size: 12px;
  color: var(--muted);
}
.tbs-utility__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
  padding: 0.625rem 0;
}
.tbs-utility__left,
.tbs-utility__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
.tbs-utility__clock {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tbs-utility__clock-date {
  font-weight: 700;
  color: var(--navy);
  text-transform: none;
  letter-spacing: normal;
}
.tbs-utility__clock-time { min-width: 7.5rem; }
.tbs-utility__clock-date--short { display: none; }
@media (max-width: 639px) {
  .tbs-utility__clock-date--long { display: none; }
  .tbs-utility__clock-date--short {
    display: inline;
    font-weight: 700;
    color: var(--navy);
  }
}
.tbs-utility__badge {
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(254, 243, 199, 0.7);
  padding: 0.25rem 0.625rem;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tbs-utility a { color: var(--muted); text-decoration: none; }
.tbs-utility a:hover { color: var(--navy); }
.tbs-utility__alerts { display: inline-flex; align-items: center; gap: 0.4rem; }

/* Market / news strips */
.tbs-strip {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, var(--navy), var(--navy-2), #0f2a48);
  color: #d7e6f5;
  font-size: 13px;
}
.tbs-strip__label {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(26, 168, 199, 0.2);
  padding: 0.625rem 1rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bae6fd;
  box-sizing: border-box;
}
.tbs-strip__viewport {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.tbs-strip__track {
  padding: 0.625rem 1rem;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}
.tbs-strip__track a {
  flex-shrink: 0;
  color: #bae6fd;
  text-decoration: none;
  font-weight: 500;
}
.tbs-strip__track a:hover { color: #fff; }
.tbs-ticker-item b { color: #fff; margin-right: 0.35rem; }
.tbs-strip__empty {
  margin: 0;
  padding: 0.625rem 1rem;
  color: rgba(186, 230, 253, 0.9);
}

.tbs-chrome-divider {
  border-top: 1px solid var(--line);
  max-width: var(--shell-max);
  margin: 0 auto;
}

/* Header */
.tbs-header {
  position: relative;
  z-index: 40;
  padding: 0.75rem 0;
}

@media (min-width: 640px) {
  .tbs-header { padding: 1rem 0; }
}

.tbs-header__frame {
  position: relative;
}

.tbs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tbs-hide-sm {
  display: none;
}
.tbs-brand {
  display: flex;
  min-width: 0;
  max-width: 52%;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.tbs-brand__mark {
  height: 3rem;
  width: auto;
  background: transparent;
  object-fit: contain;
  flex-shrink: 0;
}
.tbs-brand__text { min-width: 0; line-height: 1.1; }
.tbs-brand__title {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.tbs-brand__tag {
  display: block;
  margin-top: 0.125rem;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.tbs-header__nav-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
}
@media (min-width: 640px) {
  .tbs-header__nav-wrap { gap: 0.5rem; }
}
.tbs-nav--desktop {
  display: none;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 11px;
}
.tbs-nav__link {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--muted);
}
.tbs-nav__link:hover,
.tbs-nav__link.is-active { color: var(--navy); }
.tbs-header__x {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.tbs-header__x:hover {
  color: var(--navy);
  border-color: rgba(11, 28, 51, 0.18);
  background: #fff;
}
.tbs-header__cta {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-shrink: 0;
}
.tbs-header__cta .tbs-btn--primary {
  min-height: 2.75rem;
  padding: 0 1rem;
  font-size: 12px;
  white-space: nowrap;
}
.tbs-nav-toggle {
  display: inline-flex;
  flex-shrink: 0;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  padding: 0;
}
.tbs-nav-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tbs-nav-toggle__icon[hidden] {
  display: none !important;
}
.tbs-nav--mobile {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(11, 28, 51, 0.08);
  padding: 0.75rem 1rem 1rem;
}
.tbs-nav--mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.tbs-nav--mobile .tbs-nav__link {
  display: block;
  min-height: 2.75rem;
  padding: 0.75rem 0;
  font-size: 14px;
}

.tbs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid transparent;
}
.tbs-btn--primary {
  background: linear-gradient(145deg, var(--navy), var(--navy-3));
  color: #f4faff;
  box-shadow: 0 10px 28px rgba(11, 28, 51, 0.18);
}
.tbs-btn--ghost {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}

@media (min-width: 640px) {
  .tbs-brand__mark { height: 3.5rem; }
  .tbs-brand__title { font-size: 1.125rem; }
  .tbs-brand__tag {
    margin-top: 0.25rem;
    font-size: 10px;
    letter-spacing: 0.06em;
  }
}

@media (min-width: 768px) {
  .tbs-brand { max-width: none; gap: 0.875rem; }
  .tbs-brand__mark { height: 4.25rem; }
  .tbs-brand__title {
    font-size: 22px;
    letter-spacing: -0.04em;
  }
  .tbs-brand__tag { font-size: 11px; }
  .tbs-header__nav-wrap { gap: 1.25rem; }
  .tbs-nav--desktop { display: flex; margin-inline-end: 0.25rem; }
  .tbs-header__x { display: inline-flex; }
  .tbs-nav-toggle { display: none; }
  .tbs-nav--mobile[hidden] { display: none !important; }
  .tbs-nav--mobile:not([hidden]) { display: none !important; }
  .tbs-hide-sm { display: inline-flex; }
  .tbs-header__cta .tbs-btn--primary {
    min-height: 2.625rem;
    padding: 0 1.25rem;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .tbs-nav--mobile[hidden] { display: none !important; }
  .tbs-nav--mobile:not([hidden]) { display: block; }
  .tbs-nav-toggle { display: inline-flex; }
  .tbs-header--nav-open {
    z-index: 80;
  }
}

@media (min-width: 640px) {
  .tbs-nav-toggle {
    height: 2.75rem;
    width: 2.75rem;
  }
  .tbs-btn { font-size: 13px; min-height: 2.625rem; }
}

/* Footer */
.tbs-footer {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 3rem;
  font-family: var(--font-sans), Manrope, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.tbs-footer h4 {
  margin: 0 0 0.6rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--navy);
  font-size: 13px;
}
.tbs-footer__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .tbs-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .tbs-footer__grid--member { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.tbs-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tbs-footer__brand p { max-width: 24rem; margin: 0; }
.tbs-footer__brand p + p { margin-top: 0.5rem; }
.tbs-footer__mark {
  margin: 0 0 1rem;
  height: 5.5rem;
  width: auto;
  background: transparent;
  object-fit: contain;
}
@media (min-width: 640px) {
  .tbs-footer__mark { height: 6rem; }
}
.tbs-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.tbs-footer__links a { color: var(--muted); text-decoration: none; }
.tbs-footer__links a:hover { color: var(--navy); }
.tbs-footer__disclaimer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 12px;
  line-height: 1.65;
}
.tbs-footer__disclaimer a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 2px;
}
.tbs-footer__disclaimer a:hover { color: var(--cyan); }
.tbs-footer__disclaimer p { max-width: 48rem; margin-left: auto; margin-right: auto; }
.tbs-footer__copy { margin-top: 1.25rem; }

/* Main / home */
.tbs-main { padding: 1rem 0 4rem; }
.tbs-home { padding-bottom: 3rem; }
.tbs-page-head { margin-bottom: 2rem; }
.tbs-page-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: 2.25rem;
  letter-spacing: -0.04em;
}
.tbs-page-head .tbs-lead {
  margin: 0.5rem 0 0;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.55;
}
.tbs-section { padding: 1.25rem 0; }
.tbs-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.tbs-section-head h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}
.tbs-section-head a { font-size: 13px; color: var(--cyan); }

.tbs-breaking-bar {
  padding: 0.65rem 0 0.35rem;
}
.tbs-breaking-bar .tbs-breaking {
  margin-top: 0;
}
.tbs-breaking {
  display: grid;
  gap: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.75rem 0.875rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 40px rgba(11, 28, 51, 0.04);
  color: inherit;
}
.tbs-breaking--marquee {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.tbs-breaking--marquee .tbs-breaking__label {
  flex-shrink: 0;
}
.tbs-breaking__marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.tbs-breaking__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tick 38s linear infinite;
}
.tbs-breaking__track:hover {
  animation-play-state: paused;
}
.tbs-breaking__headline {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}
.tbs-breaking__headline:hover {
  color: var(--cyan);
}
.tbs-breaking__headline:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
.tbs-breaking__sep {
  flex-shrink: 0;
  white-space: pre;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  user-select: none;
}
.tbs-breaking__static {
  display: none;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .tbs-breaking--marquee {
    gap: 0.875rem;
  }
  .tbs-breaking__track {
    animation-duration: 65s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tbs-breaking__marquee {
    display: none;
  }
  .tbs-breaking__static {
    display: block;
  }
  .tbs-breaking__static .tbs-breaking__headline {
    white-space: normal;
  }
}
@media (min-width: 768px) {
  .tbs-breaking:not(.tbs-breaking--marquee) {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}
.tbs-breaking__label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neg);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.tbs-breaking__text { margin: 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.tbs-breaking__env,
.tbs-breaking__meta {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  justify-self: end;
  white-space: nowrap;
}

.tbs-hero-grid {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 0;
}
@media (min-width: 768px) {
  .tbs-hero-grid { grid-template-columns: 1.35fr 0.85fr; }
}
.tbs-home-markets { padding: 2rem 0; }
.tbs-home-analysis { padding: 1.5rem 0; }
.tbs-edu-teaser { padding: 2rem 0; }
.tbs-section--categories { padding: 1.25rem 0; }
.tbs-section--membership { padding: 2rem 0; }

.tbs-hero-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  border-radius: 24px;
  text-decoration: none;
  color: #f4faff;
  background:
    radial-gradient(800px 400px at 70% 20%, rgba(33, 182, 215, 0.28), transparent 45%),
    linear-gradient(145deg, #0b1c33 0%, #12304f 48%, #1a4a73 100%);
  box-shadow: 0 30px 80px rgba(11, 28, 51, 0.18);
  transition: transform 0.2s var(--ease);
}
a.tbs-hero-card:hover { transform: translateY(-2px); }
.tbs-hero-card__kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #bae6fd;
}
.tbs-hero-card__title {
  margin: 0.75rem 0 0;
  max-width: 20ch;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.tbs-hero-card__dek {
  margin: 0.85rem 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}
.tbs-hero-card__meta { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.tbs-hero-aside { display: grid; gap: 0.65rem; }
.tbs-side-card {
  display: block;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tbs-side-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(11, 28, 51, 0.06);
}
.tbs-side-card__kicker {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.tbs-side-card__title {
  display: block;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.375;
  letter-spacing: -0.02em;
}
.tbs-side-card__meta {
  display: block;
  margin-top: 0.65rem;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.tbs-hero-more {
  padding: 0 0 1.75rem;
}
.tbs-hero-more__grid {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .tbs-hero-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .tbs-hero-more__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tbs-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tbs-pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.35rem 0.85rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.tbs-pill:hover { border-color: var(--cyan); }

.tbs-attribution { margin: 0.75rem 0 0; font-size: 12px; color: var(--muted); }

.tbs-home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.tbs-home-section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.tbs-home-section-head__link,
.tbs-home-section-head__meta {
  font-size: 12px;
  color: var(--muted);
}
.tbs-home-section-head__link {
  font-weight: 700;
  color: var(--navy-3);
  text-decoration: none;
}
.tbs-home-section-head__link:hover { color: var(--navy); }

.tbs-home-analysis-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .tbs-home-analysis-grid { grid-template-columns: 1.15fr 0.85fr; }
}
.tbs-panel-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.125rem;
}
.tbs-panel-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.tbs-snapshot-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.tbs-snapshot-row__value { text-align: right; }
.tbs-panel-card__link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
}

.tbs-news-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1.75rem;
  border-radius: 24px;
  color: #f4faff;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  box-shadow: 0 24px 60px rgba(11, 28, 51, 0.18);
}
.tbs-news-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.tbs-news-cta__text {
  margin: 0.5rem 0 0;
  max-width: 42ch;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.tbs-btn--cta-sky {
  min-height: 2.875rem;
  padding-inline: 1.125rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #bae6fd, var(--cyan));
  color: var(--navy);
  font-weight: 700;
  box-shadow: none;
}

.tbs-edu-card-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .tbs-edu-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tbs-edu-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.125rem;
}
.tbs-edu-card__kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.tbs-edu-card__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.tbs-footer__cookie-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}
.tbs-footer__cookie-btn:hover { color: var(--navy); }

.tbs-cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 120;
  padding: 1rem;
  pointer-events: none;
}
.tbs-cookie-banner:not([hidden]) { pointer-events: auto; }
.tbs-cookie-banner__panel {
  max-width: 48rem;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(11, 28, 51, 0.12);
}
.tbs-cookie-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}
.tbs-cookie-banner__intro { margin: 0.5rem 0 0; font-size: 14px; color: var(--muted); }
.tbs-cookie-banner__custom { margin-top: 1rem; display: grid; gap: 0.75rem; font-size: 14px; }
.tbs-cookie-banner__custom[hidden],
.tbs-cookie-banner [data-tbs-cookie-save][hidden] {
  display: none !important;
}
.tbs-cookie-option { display: flex; gap: 0.5rem; align-items: flex-start; cursor: pointer; }
.tbs-cookie-option strong { display: block; color: var(--navy); }
.tbs-cookie-banner__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tbs-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.tbs-article-list a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
}
.tbs-article-list__title { font-weight: 600; }
.tbs-article-list time { font-size: 12px; color: var(--muted); }

.tbs-lead { max-width: 42rem; line-height: 1.55; font-size: 15px; }
.tbs-archive-grid {
  display: grid;
  gap: 1rem;
}
.tbs-archive-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.25rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tbs-archive-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(11, 28, 51, 0.06);
  border-color: rgba(26, 168, 199, 0.35);
}
.tbs-archive-card__kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.tbs-archive-card__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.tbs-archive-card__title a {
  color: var(--navy);
  text-decoration: none;
}
.tbs-archive-card__title a:hover { color: var(--cyan); }
.tbs-archive-card__dek {
  margin: 0.5rem 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.tbs-archive-card__meta {
  margin: 0.75rem 0 0;
  font-size: 12px;
  color: var(--muted);
}
.tbs-empty-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem;
  font-size: 14px;
  color: var(--muted);
}

/* Article body — staging ArticleMarkdown: 15px / leading-7, serif headings */
.tbs-article-body,
.tbs-main.tbs-article .entry-content.tbs-content {
  margin-top: 2rem;
  max-width: none;
  font-family: var(--font-sans), Manrope, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}
.tbs-main.tbs-article .entry-content :where(p, li, blockquote, td, th) {
  font-family: inherit;
}
.tbs-article-body p,
.tbs-main.tbs-article .entry-content.tbs-content p {
  margin: 0 0 1.15em;
}
.tbs-article-body h2,
.tbs-article-body h3,
.tbs-article-body h4,
.tbs-main.tbs-article .entry-content.tbs-content h2,
.tbs-main.tbs-article .entry-content.tbs-content h3,
.tbs-main.tbs-article .entry-content.tbs-content h4,
.tbs-main.tbs-article .entry-content :is(.wp-block-heading, h2, h3, h4) {
  font-family: var(--font-serif), "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 1.75em 0 0.65em;
}
.tbs-article-body h2,
.tbs-main.tbs-article .entry-content.tbs-content h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}
.tbs-article-body h3,
.tbs-main.tbs-article .entry-content.tbs-content h3 {
  font-size: 1.25rem;
  line-height: 1.35;
}
.tbs-article-body a,
.tbs-main.tbs-article .entry-content.tbs-content a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}
.tbs-article-body a:hover,
.tbs-main.tbs-article .entry-content.tbs-content a:hover {
  color: var(--navy);
}
.tbs-article-body strong,
.tbs-main.tbs-article .entry-content.tbs-content em {
  font-style: italic;
  color: inherit;
}
.tbs-main.tbs-article .entry-content.tbs-content strong {
  color: var(--navy);
  font-weight: 700;
}
.tbs-article-body ul,
.tbs-article-body ol,
.tbs-main.tbs-article .entry-content.tbs-content ul,
.tbs-main.tbs-article .entry-content.tbs-content ol {
  margin: 0 0 1.15em;
  padding-left: 1.35em;
}
.tbs-article-body li,
.tbs-main.tbs-article .entry-content.tbs-content li {
  margin: 0.35em 0;
}
.tbs-article-body code,
.tbs-main.tbs-article .entry-content.tbs-content code {
  font-size: 0.9em;
  padding: 0.15em 0.35em;
  border-radius: 4px;
  background: var(--paper-2);
}
.tbs-article-body pre,
.tbs-main.tbs-article .entry-content.tbs-content pre {
  margin: 1.25em 0;
  padding: 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: #e8f1fa;
  overflow-x: auto;
  font-size: 0.9em;
}
.tbs-article-body pre code,
.tbs-main.tbs-article .entry-content.tbs-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.tbs-page .tbs-content,
.tbs-main:not(.tbs-article) .tbs-content {
  font-size: 15px;
  line-height: 1.75;
  max-width: 68ch;
}
.tbs-page .tbs-content h2,
.tbs-page .tbs-content h3,
.tbs-main:not(.tbs-article) .tbs-content h2,
.tbs-main:not(.tbs-article) .tbs-content h3 {
  font-family: var(--font-serif);
  color: var(--navy);
}

/* Article + education: single typography path (matches news single) */
.tbs-main.tbs-article .entry-content.tbs-content,
.tbs-main.tbs-article .tbs-article-body {
  font-family: var(--font-sans), Manrope, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}
.tbs-article__kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.tbs-article__kicker a {
  color: inherit;
  text-decoration: none;
}
.tbs-article__kicker a:hover { color: var(--navy); }
.tbs-article__title {
  margin: 0.75rem 0 0;
  font-family: var(--font-serif), "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.tbs-article__dek {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}
.tbs-article__meta { color: var(--muted); font-size: 12px; }
.tbs-article__byline {
  margin-top: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.tbs-main.tbs-article {
  max-width: 48rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.tbs-article-nav {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .tbs-article-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tbs-article-nav__card {
  display: flex;
  min-height: 2.75rem;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tbs-article-nav__card:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}
.tbs-article-nav__card--next { text-align: right; }
.tbs-article-nav__label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.tbs-article-nav__title {
  margin-top: 0.5rem;
  font-family: var(--font-serif), "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
}
.tbs-article--education .tbs-article__kicker {
  letter-spacing: 0.1em;
}
.tbs-article-nav__card:hover .tbs-article-nav__title { color: var(--cyan); }
.tbs-article-nav__spacer { display: none; }
@media (min-width: 768px) {
  .tbs-article-nav__spacer { display: block; }
}

.tbs-categories-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .tbs-categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .tbs-categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tbs-category-card {
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tbs-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(11, 28, 51, 0.06);
  border-color: rgba(26, 168, 199, 0.35);
}
.tbs-category-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.tbs-category-card__dek {
  margin: 0.5rem 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.tbs-pagination,
.navigation.posts-navigation {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  font-size: 14px;
}
.tbs-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.tbs-pagination a,
.tbs-pagination .current {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}
.tbs-pagination a:hover { border-color: var(--cyan); color: var(--cyan); }
.tbs-pagination .current {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.tbs-market-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.tbs-market-table th,
.tbs-market-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.tbs-market-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tbs-learn-index {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}
.tbs-learn-index a { color: var(--navy); font-weight: 600; }

.tbs-contact-panel {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .tbs-contact-panel { padding: 2rem; }
}
.tbs-contact-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.tbs-contact-email-box {
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 168, 199, 0.3);
  background: rgba(26, 168, 199, 0.06);
  padding: 1rem;
}
.tbs-contact-email-box__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.tbs-contact-email-box__addr {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
}
.tbs-contact-form {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
}
.tbs-field {
  display: grid;
  gap: 0.35rem;
  font-size: 14px;
}
.tbs-field__label {
  font-weight: 600;
  color: var(--navy);
}
.tbs-field__hint {
  font-size: 13px;
  color: var(--muted);
}
.tbs-field__input {
  min-height: 2.75rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.tbs-field__textarea {
  min-height: 8rem;
  resize: vertical;
}
.tbs-contact-notice {
  max-width: 36rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.tbs-contact-notice--ok {
  border: 1px solid rgba(31, 155, 116, 0.35);
  background: rgba(31, 155, 116, 0.08);
  color: var(--pos);
}
.tbs-contact-notice--err {
  border: 1px solid rgba(217, 83, 102, 0.35);
  background: rgba(217, 83, 102, 0.08);
  color: var(--neg);
}

/* Article share (7 networks) */
.tbs-article-share {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 68ch;
}
.tbs-article-share__title {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
}
.tbs-article-share__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}
.tbs-article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 0.35rem;
}
.tbs-article-share__btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.tbs-article-share__btn svg {
  display: block;
  flex-shrink: 0;
}
.tbs-article-share__note {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.tbs-market-table__sym {
  display: block;
  font-weight: 800;
  color: var(--navy);
}
.tbs-market-table__name {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.tbs-market-detail-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1.25rem 1.5rem;
  max-width: 32rem;
}
.tbs-market-detail-stats {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.tbs-market-detail-stats dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.tbs-market-detail-stats dd {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.tbs-market-chart-stub {
  margin-top: 1rem;
  height: 200px;
  max-width: 100%;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: linear-gradient(180deg, rgba(26, 168, 199, 0.06), transparent);
}
.tbs-hide-narrow { display: table-cell; }

@media (max-width: 479px) {
  .tbs-shell { padding-left: 1rem; padding-right: 1rem; }
  .tbs-hide-narrow { display: none; }
}

@media (min-width: 768px) {
  .tbs-market-detail-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .tbs-nav--desktop { gap: 1.25rem; font-size: 11px; }
  .tbs-hero-card { min-height: 460px; }
}

@media (min-width: 1280px) {
  :root { --shell-max: 76rem; }
}

@media (min-width: 1440px) {
  .tbs-shell { padding-left: 2rem; padding-right: 2rem; }
}

/* Markets hub */
.tbs-page-head--markets h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.tbs-stat-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .tbs-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .tbs-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tbs-stat-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.125rem;
}
.tbs-stat-card--gradient {
  background: linear-gradient(180deg, #fff, var(--paper-2));
}
.tbs-stat-card__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.tbs-stat-card__value {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.tbs-stat-card__value--md { font-size: 1.1rem; font-weight: 600; }
.tbs-movers-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .tbs-movers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tbs-movers-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem;
}
.tbs-movers-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
}
.tbs-movers-card ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 14px;
}
.tbs-movers-card li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.tbs-movers-card a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.tbs-market-table-wrap--full {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.tbs-market-table--full { border: 0; border-radius: 0; min-width: 640px; }
.tbs-market-table--full thead { border-bottom: 1px solid var(--line); }
.tbs-market-table--full tbody tr:hover { background: rgba(242, 246, 251, 0.7); }
.tbs-num { text-align: right; font-variant-numeric: tabular-nums; }
.tbs-market-asset-link { font-weight: 600; color: var(--navy); text-decoration: none; }
.tbs-breadcrumb { font-size: 14px; margin-bottom: 1rem; }
.tbs-market-asset-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.tbs-market-asset-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  color: var(--navy);
}
.tbs-market-asset-head__price { text-align: right; }
.tbs-market-asset-head__usd {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.tbs-market-asset-head__chg {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tbs-market-notes {
  margin: 2rem 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.25rem;
}
.tbs-market-notes h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}
.tbs-market-notes p {
  margin: 0.75rem 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* Learn hub */
.tbs-learn-hero {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(11, 28, 51, 0.04);
}
.tbs-learn-hero__kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin: 0;
}
.tbs-learn-hero__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
  color: var(--navy);
}
.tbs-learn-hero__lead {
  margin: 1rem 0 0;
  max-width: 48rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.tbs-learn-hero__counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  font-size: 14px;
}
.tbs-stat-pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.35rem 0.85rem;
  font-variant-numeric: tabular-nums;
}
.tbs-learn-hero__cta { margin-top: 1.5rem; }
.tbs-learn-tracks {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .tbs-learn-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .tbs-learn-tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tbs-learn-track {
  text-align: left;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem 1rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
a.tbs-learn-track {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.tbs-learn-track:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 20px rgba(11, 28, 51, 0.06);
}
.tbs-learn-tracks--home {
  margin-top: 0.75rem;
  margin-bottom: 0;
}
.tbs-edu-teaser > .tbs-home-section-head__title {
  margin: 0;
}
.tbs-learn-track.is-active {
  border-color: var(--cyan);
  background: rgba(26, 168, 199, 0.1);
  box-shadow: 0 4px 20px rgba(11, 28, 51, 0.06);
}
.tbs-learn-track__name { font-weight: 600; color: var(--navy); display: block; }
.tbs-learn-track__meta { margin-top: 0.25rem; font-size: 12px; color: var(--muted); display: block; }
.tbs-learn-track__hint { margin-top: 0.5rem; font-size: 12px; font-weight: 600; color: var(--cyan); display: block; }
.tbs-learn-filters {
  margin-top: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .tbs-learn-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }
}
.tbs-learn-guides { margin-top: 2rem; scroll-margin-top: 6rem; }
.tbs-learn-guides__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.tbs-learn-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .tbs-learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tbs-guide-card {
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tbs-guide-card:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}
.tbs-guide-card--muted {
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}
.tbs-guide-card__track {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.tbs-guide-card__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--navy);
}
.tbs-guide-card__dek {
  margin: 0.5rem 0 0;
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tbs-guide-card__meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.tbs-guide-card__pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.15rem 0.5rem;
}
.tbs-guide-card__badge {
  border-radius: 999px;
  border: 1px dashed var(--line);
  padding: 0.15rem 0.5rem;
}
.tbs-guide-card__badge--on {
  border-style: solid;
  background: rgba(26, 168, 199, 0.15);
  font-weight: 600;
  color: var(--navy);
}

/* Overflow / small viewports */
html, body { overflow-x: clip; }
.tbs-strip__viewport,
.tbs-market-table-wrap--full { max-width: 100%; }
.tbs-header__inner { min-width: 0; }
.tbs-header__cta-label--short { display: none; }

/* Shell width on all routed main regions */
main.tbs-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--shell-max);
  min-width: 0;
}

@media (max-width: 767px) {
  main.tbs-shell.tbs-home > .tbs-section,
  main.tbs-shell.tbs-home > section,
  main.tbs-shell.tbs-home > .tbs-breaking,
  main.tbs-shell.tbs-home > .tbs-hero-grid,
  main.tbs-shell.tbs-home > .tbs-news-cta,
  main.tbs-shell.tbs-home .tbs-news-cta {
    min-width: 0;
    max-width: 100%;
  }
  /* Header / gutters / articles / footer: assets/css/responsive.css */
  .tbs-news-cta {
    padding: 1.25rem;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(11, 28, 51, 0.15);
  }
  .tbs-news-cta__title {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
    overflow-wrap: anywhere;
  }
  .tbs-news-cta__text {
    font-size: 13px;
    max-width: none;
  }
  .tbs-home-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 390px) {
  .tbs-shell {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
  .tbs-brand__title { font-size: 12px; }
  .tbs-brand__tag { font-size: 6px; }
  .tbs-utility__inner { font-size: 10px; }
  .tbs-article-share__list { gap: 0.45rem; }
}
@media (max-width: 320px) {
  .tbs-nav__link { letter-spacing: 0.06em; }
  .tbs-hide-mobile { display: none; }
}
@media (min-width: 480px) {
  .tbs-hide-mobile { display: table-cell; }
}

/* Editorial + legal document layout (staging EditorialDocument / LegalDocument) */
.tbs-document { padding-top: 1.5rem; padding-bottom: 4rem; }
.tbs-document__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.tbs-document__title {
  margin: 0.5rem 0 0;
  max-width: 56rem;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.tbs-document__meta {
  margin: 0.75rem 0 0;
  font-size: 14px;
  color: var(--muted);
}
.tbs-document__email { color: var(--cyan); text-decoration: none; }
.tbs-document__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .tbs-document__grid { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
  .tbs-document__aside { position: sticky; top: 1.5rem; }
}
.tbs-document-toc {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}
.tbs-document-toc__label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tbs-document-toc__list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  max-height: 70vh;
  overflow-y: auto;
  display: grid;
  gap: 0.5rem;
  font-size: 14px;
}
.tbs-document-toc__list a {
  color: var(--navy);
  text-decoration: none;
}
.tbs-document-toc__list a:hover { color: var(--cyan); }
.tbs-document-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .tbs-document-card { padding: 2rem; }
}

/* Card body: Manrope 15px / leading-7 — override WP entry-content & block styles */
.tbs-document .tbs-document-card.entry-content {
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}
.tbs-document .tbs-document-card.entry-content :where(
  p,
  li,
  dd,
  dt,
  blockquote,
  .wp-block-paragraph
) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.tbs-document .tbs-document-card.entry-content p {
  margin: 0 0 0.75rem;
}
.tbs-document .tbs-document-card.entry-content p:last-child {
  margin-bottom: 0;
}
.tbs-document .tbs-document-card.entry-content ul,
.tbs-document .tbs-document-card.entry-content ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}
.tbs-document .tbs-document-card.entry-content ul { list-style: disc; }
.tbs-document .tbs-document-card.entry-content ol { list-style: decimal; }
.tbs-document .tbs-document-card.entry-content li + li {
  margin-top: 0.25rem;
}
.tbs-document .tbs-document-card.entry-content a {
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
}
.tbs-document .tbs-document-card.entry-content a:hover {
  text-decoration: underline;
}
.tbs-document .tbs-document-card.entry-content strong {
  font-weight: 600;
  color: var(--navy);
}

/* Section H2: display font — any depth (WP may wrap blocks) */
.tbs-document .tbs-document-card.entry-content h2:not(.tbs-document-related__title) {
  scroll-margin-top: 6rem;
  margin: 0 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.tbs-document .tbs-document-card.entry-content > h2:first-child,
.tbs-document .tbs-document-card.entry-content > p:first-child + h2,
.tbs-document .tbs-document-card.entry-content h2:not(.tbs-document-related__title):first-of-type {
  border-top: 0;
  padding-top: 0;
}

/* H3: Manrope semibold text-lg — not display */
.tbs-document .tbs-document-card.entry-content h3 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  color: var(--navy);
}
.tbs-document-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.tbs-document-related__title {
  margin: 0;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  border-top: 0;
  padding-top: 0;
}
.tbs-document-related__list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 14px;
}
.tbs-document-related__list a {
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
}
.tbs-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tbs-contact-challenge {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.75rem;
}
.tbs-contact-challenge__legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
}
.tbs-contact-challenge__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.tbs-contact-challenge__code {
  margin: 0;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-family: ui-monospace, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--navy);
}
.tbs-contact-challenge__refresh {
  border: 0;
  background: none;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.tbs-contact-privacy {
  display: flex;
  gap: 0.75rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.tbs-contact-privacy input { margin-top: 0.2rem; flex-shrink: 0; }
.tbs-contact-privacy a { font-weight: 600; color: var(--cyan); }