/* Report archive and detail: scoped to the two reference screens. */
html.ds-theme body.sd-rd--reports .sd-blog-page,
html.ds-theme body.sd-rd--report-detail .sd-blog-page { padding: 0 0 42px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__container,
html.ds-theme body.sd-rd--report-detail .sd-blog-page__container {
  width: min(100%, var(--rd-max));
  max-width: var(--rd-max) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
html.ds-theme body.sd-rd--reports .sd-blog-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 148px;
  margin: 0 0 10px;
  padding: 20px 27px;
}
html.ds-theme body.sd-rd--reports .sd-blog-hero .sd-blog-page__title {
  max-width: 580px;
  margin: 0 0 5px;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.15;
}
html.ds-theme body.sd-rd--reports .sd-blog-hero .sd-blog-page__lead {
  max-width: 610px;
  margin: 0;
  font-size: 12px !important;
}

/* Quick category entry points */
html.ds-theme body.sd-rd--reports .sd-blog-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 13px;
}
html.ds-theme body.sd-rd--reports .sd-blog-stat {
  min-height: 60px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #fff;
  transition: border-color .18s, transform .18s;
}
html.ds-theme body.sd-rd--reports .sd-blog-stat:hover { border-color: #8cb5ee; transform: translateY(-1px); }
html.ds-theme body.sd-rd--reports .sd-blog-stat.is-active {
  background: linear-gradient(135deg,#0d54ba,#2581ed);
  border-color: #1764c7 !important;
  box-shadow: 0 2px 8px rgba(19,88,190,.18);
}
html.ds-theme body.sd-rd--reports .sd-blog-stat .ds-kicker { color: #405775; font-size: 12px; font-weight: 800; }
html.ds-theme body.sd-rd--reports .sd-blog-stat strong {
  margin-top: 2px;
  color: #7489a6;
  font-size: 11px;
  font-weight: 700;
}
html.ds-theme body.sd-rd--reports .sd-blog-stat.is-active .ds-kicker,
html.ds-theme body.sd-rd--reports .sd-blog-stat.is-active strong { color: #fff !important; }

/* Popular ranking and recent reports */
html.ds-theme body.sd-rd--reports .sd-blog-featured {
  grid-template-columns: minmax(0,.84fr) minmax(0,1.6fr);
  gap: 12px;
  margin: 0 0 18px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured > .ds-card {
  padding: 13px 15px;
  min-width: 0;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured .ds-page-head { margin: 0 0 4px; }
html.ds-theme body.sd-rd--reports .sd-blog-featured .ds-section-title { margin: 0; font-size: 16px; }
html.ds-theme body.sd-rd--reports .sd-blog-sidebar__tabs { margin: 0 0 9px; }
html.ds-theme body.sd-rd--reports .sd-blog-sidebar__tab { padding: 3px 9px; font-size: 11px; }
html.ds-theme body.sd-rd--reports .sd-blog-featured__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin: 0;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__cards .sd-blog-pop {
  display: grid;
  grid-template-columns: 20px 55px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  min-height: 47px;
  padding: 3px 0;
  border-top: 1px solid #edf2f8;
}
html.ds-theme body.sd-rd--reports .sd-blog-pop__rank {
  color: #1764c7;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}
html.ds-theme body.sd-rd--reports .sd-rd-report-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 40px;
  color: #d9eaff;
  background: radial-gradient(circle at 76% 28%,#327bd0,transparent 43%),linear-gradient(135deg,#082758,#155baa);
}
html.ds-theme body.sd-rd--reports .sd-rd-report-tile i { font-size: 22px; }
html.ds-theme body.sd-rd--reports .sd-blog-featured__cards .sd-blog-pop img {
  width: 55px;
  height: 40px;
  border-radius: 5px;
  object-fit: cover;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__cards .sd-blog-pop strong {
  padding: 0;
  overflow: hidden;
  color: #1a2f51;
  font-size: 11px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  min-width: 0;
  align-content: start;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent h2 { grid-column: 1/-1; margin: 1px 0 0; font-size: 16px; }
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .sd-blog-pop {
  min-width: 0;
  padding-bottom: 7px;
  border-radius: 8px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent img { height: 78px; border-radius: 8px 8px 0 0; }
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .sd-rd-report-tile { height: 78px; }
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .ds-kicker { padding: 6px 8px 0; font-size: 10px; }
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 30px;
  padding: 2px 8px 0;
  color: #172c4d;
  font-size: 11px;
  line-height: 1.4;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .ds-lead { padding: 4px 8px 0; font-size: 9px; }

/* Search, sorting, and dense report rows */
html.ds-theme body.sd-rd--reports .sd-blog-results-heading {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 0 2px 9px;
}
html.ds-theme body.sd-rd--reports .sd-blog-results-heading h2 { margin: 0; color: #172c4d; font-size: 16px; }
html.ds-theme body.sd-rd--reports .sd-blog-results-heading h2 strong { color: #1764c7; }
html.ds-theme body.sd-rd--reports .sd-blog-results-heading p { margin: 0; color: #7b8da8; font-size: 11px; }
html.ds-theme body.sd-rd--reports .sd-blog-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 9px;
}
html.ds-theme body.sd-rd--reports .sd-blog-cat-chips .ds-search { order: 99; margin-left: auto; max-width: 260px; }
html.ds-theme body.sd-rd--reports .sd-blog-cat-chips .ds-chip {
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
}
html.ds-theme body.sd-rd--reports .sd-report-facets {
  display: flex;
  flex-basis: 100%;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  gap: 7px 16px;
  flex-wrap: wrap;
  padding: 6px 0 0;
  border-top: 1px solid #e7edf5;
}
html.ds-theme body.sd-rd--reports .sd-report-facets__group { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
html.ds-theme body.sd-rd--reports .sd-report-facets__group:last-child {
  flex-basis: 100%;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
}
html.ds-theme body.sd-rd--reports .sd-report-facets__group span { margin-right: 3px; color: #506581; font-size: 10px; font-weight: 800; }
html.ds-theme body.sd-rd--reports .sd-report-facets__group a {
  padding: 2px 6px;
  max-width: 144px;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 5px;
  color: #60748f;
  font-size: 10px;
  text-decoration: none;
}
html.ds-theme body.sd-rd--reports .sd-report-facets__group a:hover,
html.ds-theme body.sd-rd--reports .sd-report-facets__group a.is-active { background: #e9f2ff; color: #1258b7; }
html.ds-theme body.sd-rd--reports .sd-blog-page__list { display: grid; grid-template-columns: 1fr !important; gap: 6px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__item,
html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured { grid-column: auto; border-radius: 8px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__link {
  display: grid !important;
  grid-template-columns: 156px minmax(0,1fr);
  min-height: 112px;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__thumb,
html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__thumb {
  width: 156px;
  height: 112px !important;
  min-height: 112px;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__content { justify-content: center; gap: 3px; padding: 10px 14px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__meta { align-items: center; gap: 5px 8px; margin: 0 0 2px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__category { border-radius: 4px; padding: 2px 6px; font-size: 10px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__meta .ds-chip {
  display: inline-block;
  max-width: min(100%, 240px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px 5px;
  min-height: 0;
  font-size: 10px;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__date,
html.ds-theme body.sd-rd--reports .sd-blog-page__views { font-size: 10px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__item-title,
html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__item-title {
  margin: 0;
  color: #152a4a;
  font-size: 15px;
  line-height: 1.35;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__item-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #5c6f8c;
  font-size: 11px;
  line-height: 1.42;
}

/* Article header, contents rail, and reading column */
html.ds-theme body.sd-rd--report-detail .sd-report-breadcrumb {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 3px 0 9px;
  color: #71829b;
  font-size: 11px;
}
html.ds-theme body.sd-rd--report-detail .sd-report-breadcrumb a { color: #436187; text-decoration: none; }
html.ds-theme body.sd-rd--report-detail .sd-report-breadcrumb a:hover { color: #1764c7; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-top {
  grid-template-columns: minmax(0,1fr) 220px;
  gap: 12px;
  margin-bottom: 12px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero,
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero--banner {
  height: 180px;
  margin: 0 0 8px;
  border-radius: 10px;
  background-color: #082147;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(5,22,52,.94),rgba(8,34,75,.7) 55%,rgba(8,34,75,.08));
  pointer-events: none;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy {
  z-index: 1;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 25px;
  background: transparent;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .ds-kicker { margin: 0 0 8px; font-size: 11px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .sd-blog-detail__title {
  max-width: 620px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(21px,2.2vw,30px);
  line-height: 1.28;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 13px;
  border-radius: 8px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card > .ds-kicker { margin: 0; font-size: 10px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card > .ds-chip {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card > .ds-lead {
  order: 5;
  width: 100%;
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__meta-line {
  width: 100%;
  padding-top: 7px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related { padding: 11px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-kicker { font-size: 11px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list { margin-top: 8px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list a { padding: 7px 0; font-size: 11px; }
html.ds-theme body.sd-rd--report-detail .ds-article.sd-blog-article {
  grid-template-columns: 155px minmax(0,1fr) 220px !important;
  gap: 12px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-article:not(:has(.ds-toc)) { grid-template-columns: minmax(0,1fr) 220px !important; }
html.ds-theme body.sd-rd--report-detail .ds-toc {
  position: sticky;
  top: calc(var(--rd-header-h) + 14px);
  align-self: start;
  padding: 12px;
}
html.ds-theme body.sd-rd--report-detail .ds-toc strong { font-size: 12px; }
html.ds-theme body.sd-rd--report-detail .ds-toc a { padding: 6px 5px; font-size: 11px; line-height: 1.35; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail { min-width: 0; padding: 0 4px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-summary { margin-bottom: 10px; padding: 13px 16px; border-color: #d6e7ff; background: #f2f7ff; }
html.ds-theme body.sd-rd--report-detail .sd-blog-summary .ds-kicker { color: #1557b3; font-size: 12px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-summary li { margin-top: 4px; font-size: 12px; line-height: 1.52; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__content { font-size: 13px; line-height: 1.72; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__content h2 { margin: 25px 0 10px; font-size: 19px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__content h3 { font-size: 15px; }
html.ds-theme body.sd-rd--report-detail .sd-article-metrics { gap: 7px; }
html.ds-theme body.sd-rd--report-detail .sd-article-metrics .ds-card { padding: 11px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-rail { top: calc(var(--rd-header-h) + 14px); gap: 8px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-rail .ds-card { padding: 12px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-rail strong { display: block; font-size: 13px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-rail .ds-lead,
html.ds-theme body.sd-rd--report-detail .sd-blog-rail a { font-size: 11px; }

@media (max-width: 900px) {
  html.ds-theme body.sd-rd--reports .sd-blog-featured { grid-template-columns: 1fr; }
  html.ds-theme body.sd-rd--reports .sd-blog-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  html.ds-theme body.sd-rd--report-detail .ds-article.sd-blog-article { grid-template-columns: minmax(0,1fr) 210px !important; }
  html.ds-theme body.sd-rd--report-detail .ds-toc { grid-column: 1/-1; position: static; display: flex; flex-wrap: wrap; gap: 5px; }
  html.ds-theme body.sd-rd--report-detail .ds-toc strong { width: 100%; }
}
@media (max-width: 680px) {
  html.ds-theme body.sd-rd--reports .sd-blog-stats { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-rd--reports .sd-blog-featured__recent { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html.ds-theme body.sd-rd--reports .sd-blog-cat-chips .ds-search { flex-basis: 100%; max-width: none; margin-left: 0; order: -1; }
  html.ds-theme body.sd-rd--reports .sd-blog-results-heading { display: block; }
  html.ds-theme body.sd-rd--reports .sd-blog-results-heading p { margin-top: 3px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__link { grid-template-columns: 112px minmax(0,1fr) !important; min-height: 110px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__thumb,
  html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__thumb { width: 112px; height: 110px !important; min-height: 110px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__item-title,
  html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__item-title { font-size: 12px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__content { overflow: hidden; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__meta .ds-chip { max-width: 150px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__item-summary { font-size: 10px; -webkit-line-clamp: 1; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__date,
  html.ds-theme body.sd-rd--reports .sd-blog-page__views { font-size: 9px; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail-top { grid-template-columns: 1fr; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero { height: 176px; }
  html.ds-theme body.sd-rd--report-detail .ds-article.sd-blog-article,
  html.ds-theme body.sd-rd--report-detail .sd-blog-article:not(:has(.ds-toc)) { grid-template-columns: 1fr !important; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-rail { position: static; }
}

/* Reference v2: report archive and article. Scoped to these two routes. */
html.ds-theme body.sd-rd--reports .sd-blog-page__container,
html.ds-theme body.sd-rd--report-detail .sd-blog-page__container {
  width: min(calc(100% - 32px), 1240px);
  max-width: 1240px !important;
  padding-inline: 0 !important;
}
html.ds-theme body.sd-rd--reports .sd-blog-layout--reports {
  display: block;
  width: 100%;
}
html.ds-theme body.sd-rd--reports .sd-blog-layout--reports .sd-blog-main {
  width: 100%;
  min-width: 0;
}
html.ds-theme body.sd-rd--reports .sd-blog-hero {
  min-height: 174px;
  margin-bottom: 16px;
  padding: 28px 34px;
  background-position: 67% 47%;
}
html.ds-theme body.sd-rd--reports .sd-blog-hero .sd-blog-page__title {
  max-width: 660px;
  font-size: clamp(27px, 3vw, 38px) !important;
  line-height: 1.14;
}
html.ds-theme body.sd-rd--reports .sd-blog-hero .sd-blog-page__lead {
  max-width: 610px;
  margin-top: 6px;
  font-size: 14px !important;
}
html.ds-theme body.sd-rd--reports .sd-blog-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
html.ds-theme body.sd-rd--reports .sd-blog-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
  padding: 13px 15px;
  overflow: hidden;
  border-radius: 10px;
}
html.ds-theme body.sd-rd--reports .sd-blog-stat::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 13px;
  height: 13px;
  border: 3px solid #b8cfeb;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 3px 0;
  transform: rotate(-45deg);
  opacity: .9;
}
html.ds-theme body.sd-rd--reports .sd-blog-stat.is-active::before { border-color: #fff; }
html.ds-theme body.sd-rd--reports .sd-blog-stat .ds-kicker {
  padding-right: 17px;
  color: #213c63;
  font-size: 14px;
  line-height: 1.35;
}
html.ds-theme body.sd-rd--reports .sd-blog-stat strong {
  margin-top: 5px;
  font-size: 12px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured {
  grid-template-columns: minmax(290px, .86fr) minmax(0, 1.65fr);
  gap: 16px;
  margin-bottom: 25px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured > .ds-card {
  padding: 18px 20px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured .ds-section-title,
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent h2 {
  margin-bottom: 8px;
  font-size: 18px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__cards { gap: 0; }
html.ds-theme body.sd-rd--reports .sd-blog-featured__cards .sd-blog-pop {
  grid-template-columns: 27px 67px minmax(0, 1fr);
  gap: 11px;
  min-height: 63px;
  padding-block: 6px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__cards .sd-blog-pop img {
  width: 67px;
  height: 48px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__cards .sd-blog-pop strong {
  font-size: 13px;
  line-height: 1.42;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .sd-blog-pop {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e9f3;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .sd-blog-pop:hover {
  transform: translateY(-2px);
  border-color: #adc9ee;
  box-shadow: 0 8px 20px rgba(21, 58, 108, .1);
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent img,
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .sd-rd-report-tile {
  width: 100%;
  height: 114px;
  object-fit: cover;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .ds-kicker {
  padding: 9px 10px 0;
  color: #2468bf;
  font-size: 11px;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent strong {
  min-height: 50px;
  padding: 3px 10px 0;
  font-size: 13px;
  line-height: 1.38;
}
html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .ds-lead {
  margin-top: auto;
  padding: 4px 10px 10px;
  font-size: 11px;
}
html.ds-theme body.sd-rd--reports .sd-blog-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #e2e9f2;
}
html.ds-theme body.sd-rd--reports .sd-blog-results-heading h2 { font-size: 19px; }
html.ds-theme body.sd-rd--reports .sd-blog-results-heading p { font-size: 12px; }
html.ds-theme body.sd-rd--reports .sd-blog-cat-chips {
  gap: 7px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #e0e8f3;
  border-radius: 11px;
  background: #fff;
}
html.ds-theme body.sd-rd--reports .sd-blog-cat-chips .ds-search {
  max-width: 290px;
}
html.ds-theme body.sd-rd--reports .sd-blog-cat-chips .ds-chip {
  min-height: 31px;
  padding: 6px 10px;
  font-size: 12px;
}
html.ds-theme body.sd-rd--reports .sd-report-facets {
  padding-top: 10px;
}
html.ds-theme body.sd-rd--reports .sd-report-facets__group span,
html.ds-theme body.sd-rd--reports .sd-report-facets__group a { font-size: 11px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__list { gap: 10px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__item,
html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured {
  border: 1px solid #e1e9f3;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__item:hover {
  transform: translateY(-1px);
  border-color: #a9c8ef;
  box-shadow: 0 8px 24px rgba(20, 54, 98, .08);
}
html.ds-theme body.sd-rd--reports .sd-blog-page__link {
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 142px;
  text-decoration: none;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__thumb,
html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__thumb {
  width: 216px;
  height: 142px !important;
  min-height: 142px;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__thumb img { width: 100%; height: 100%; object-fit: cover; }
html.ds-theme body.sd-rd--reports .sd-blog-page__content {
  justify-content: center;
  gap: 6px;
  padding: 16px 20px;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__meta { gap: 5px 9px; }
html.ds-theme body.sd-rd--reports .sd-blog-page__item-title,
html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__item-title {
  color: #142c50;
  font-size: 19px;
  line-height: 1.36;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__item-summary {
  max-width: 840px;
  color: #63758e;
  font-size: 13px;
  line-height: 1.5;
}
html.ds-theme body.sd-rd--reports .sd-blog-page__date,
html.ds-theme body.sd-rd--reports .sd-blog-page__views { font-size: 11px; }
html.ds-theme body.sd-rd--reports .sd-rd-report-tile {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 76% 22%, #2784dc, transparent 37%), linear-gradient(140deg, #082349, #12569b 70%, #2b82c6) !important;
}
html.ds-theme body.sd-rd--reports .sd-rd-report-tile::before,
html.ds-theme body.sd-rd--reports .sd-rd-report-tile::after {
  content: "";
  position: absolute;
  width: 160%;
  height: 85%;
  left: -23%;
  bottom: -42%;
  border-top: 1px solid rgba(190, 224, 255, .32);
  border-radius: 50%;
  transform: rotate(-12deg);
}
html.ds-theme body.sd-rd--reports .sd-rd-report-tile::after {
  bottom: -55%;
  border-top-color: rgba(190, 224, 255, .22);
  transform: rotate(9deg);
}
html.ds-theme body.sd-rd--reports .sd-rd-report-tile i {
  position: relative;
  z-index: 1;
  color: #e6f3ff;
  font-size: 34px;
}

html.ds-theme body.sd-rd--report-detail .sd-report-breadcrumb {
  gap: 8px;
  margin: 6px 0 13px;
  color: #6a7b92;
  font-size: 12px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-top {
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 16px;
  margin-bottom: 18px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero,
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero--banner {
  height: 254px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(5, 22, 52, .93), rgba(8, 35, 77, .55)), url("/assets/img/ds-redesign-mountain.webp") center 48% / cover no-repeat;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero img { width: 100%; height: 100%; object-fit: cover; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy {
  padding: 28px 32px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .ds-kicker {
  margin-bottom: 11px;
  color: #b8d8ff;
  font-size: 12px;
  letter-spacing: .11em;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .sd-blog-detail__title {
  max-width: 740px;
  font-size: clamp(27px, 2.65vw, 38px);
  line-height: 1.25;
  letter-spacing: -.045em;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card {
  gap: 10px 12px;
  align-items: center;
  padding: 17px 20px;
  border: 1px solid #dfe8f3;
  border-radius: 11px;
  background: #fff;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card > .ds-kicker {
  color: #2570c7;
  font-size: 11px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card .sd-article-quote {
  margin-left: auto;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card > .ds-lead {
  margin: 2px 0 0;
  color: #566d8a;
  font-size: 13px;
  line-height: 1.55;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__meta-line {
  gap: 12px;
  padding-top: 10px;
  border-color: #e7edf4;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__date { font-size: 12px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__meta { gap: 7px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__meta .ds-chip,
html.ds-theme body.sd-rd--report-detail .sd-report-copy-link {
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid #d8e4f2;
  border-radius: 7px;
  background: #f6f9fe;
  color: #29517f;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
html.ds-theme body.sd-rd--report-detail .sd-report-copy-link:hover,
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__meta .ds-chip:hover {
  border-color: #96bdeb;
  background: #edf5ff;
}
html.ds-theme body.sd-rd--report-detail .sd-report-copy-status {
  min-height: 1em;
  align-self: center;
  color: #276bb7;
  font-size: 11px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related { padding: 17px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-kicker {
  color: #1b568f;
  font-size: 12px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list a {
  gap: 10px;
  padding: 11px 0;
  font-size: 12px;
}
html.ds-theme body.sd-rd--report-detail .ds-article.sd-blog-article {
  grid-template-columns: 176px minmax(0, 1fr) 252px !important;
  gap: 16px;
  align-items: start;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-article:not(:has(.ds-toc)) {
  grid-template-columns: minmax(0, 1fr) 252px !important;
}
html.ds-theme body.sd-rd--report-detail .ds-toc {
  top: calc(var(--rd-header-h) + 17px);
  padding: 15px 12px;
  border: 1px solid #e1e9f3;
  border-radius: 10px;
  background: #fff;
}
html.ds-theme body.sd-rd--report-detail .ds-toc strong {
  display: block;
  margin-bottom: 8px;
  padding: 0 6px;
  color: #172f53;
  font-size: 14px;
}
html.ds-theme body.sd-rd--report-detail .ds-toc a {
  border-left: 2px solid transparent;
  color: #5d718b;
  font-size: 12px;
  line-height: 1.45;
}
html.ds-theme body.sd-rd--report-detail .ds-toc a:hover,
html.ds-theme body.sd-rd--report-detail .ds-toc a:focus-visible {
  border-left-color: #1d69cd;
  background: #eff5ff;
  color: #1358a9;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail {
  min-width: 0;
  padding: 3px 0;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-summary {
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid #bcd5f4;
  border-radius: 11px;
  background: #eef6ff;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-summary .ds-kicker {
  color: #135ab1;
  font-size: 14px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-summary li {
  margin-top: 7px;
  color: #344f70;
  font-size: 13px;
  line-height: 1.6;
}
html.ds-theme body.sd-rd--report-detail .sd-article-metrics {
  gap: 9px;
  margin-bottom: 19px;
}
html.ds-theme body.sd-rd--report-detail .sd-article-metrics .ds-card { padding: 15px 14px; }
html.ds-theme body.sd-rd--report-detail .sd-article-metrics .ds-kicker { font-size: 11px; }
html.ds-theme body.sd-rd--report-detail .sd-article-metrics strong { font-size: 18px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__content {
  color: #273c59;
  font-size: 15px;
  line-height: 1.85;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__content h2 {
  margin: 31px 0 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8edf4;
  color: #142f57;
  font-size: 22px;
  line-height: 1.3;
  scroll-margin-top: 80px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__content h3 {
  color: #25476e;
  font-size: 17px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-rail {
  top: calc(var(--rd-header-h) + 17px);
  gap: 11px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-rail .ds-card { padding: 17px; }
html.ds-theme body.sd-rd--report-detail .sd-blog-rail .ds-kicker {
  color: #2865ae;
  font-size: 11px;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-rail strong {
  color: #172f52;
  font-size: 15px;
  line-height: 1.35;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-rail .ds-lead,
html.ds-theme body.sd-rd--report-detail .sd-blog-rail a {
  font-size: 12px;
  line-height: 1.5;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-rail .ds-btn {
  width: 100%;
  min-height: 36px;
  justify-content: center;
}

@media (max-width: 1100px) {
  html.ds-theme body.sd-rd--reports .sd-blog-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.ds-theme body.sd-rd--reports .sd-blog-featured { grid-template-columns: 1fr; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail-top { grid-template-columns: 1fr; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related { display: none; }
  html.ds-theme body.sd-rd--report-detail .ds-article.sd-blog-article { grid-template-columns: 160px minmax(0, 1fr) !important; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-article:not(:has(.ds-toc)) { grid-template-columns: 1fr !important; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-rail { grid-column: 2; position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html.ds-theme body.sd-rd--reports .sd-blog-page__container,
  html.ds-theme body.sd-rd--report-detail .sd-blog-page__container { width: min(calc(100% - 24px), 1240px); }
  html.ds-theme body.sd-rd--reports .sd-blog-hero { min-height: 150px; padding: 22px; }
  html.ds-theme body.sd-rd--reports .sd-blog-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  html.ds-theme body.sd-rd--reports .sd-blog-stat { min-height: 68px; padding: 10px 12px; }
  html.ds-theme body.sd-rd--reports .sd-blog-featured__recent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ds-theme body.sd-rd--reports .sd-blog-cat-chips .ds-search { flex-basis: 100%; order: -1; max-width: none; margin-left: 0; }
  html.ds-theme body.sd-rd--reports .sd-blog-results-heading { align-items: start; flex-direction: column; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__link { grid-template-columns: 132px minmax(0, 1fr) !important; min-height: 132px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__thumb,
  html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__thumb { width: 132px; height: 132px !important; min-height: 132px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__content { padding: 11px 12px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__item-title,
  html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__item-title { font-size: 15px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__item-summary { font-size: 11px; -webkit-line-clamp: 2; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero { height: 200px; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy { padding: 18px 20px; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .sd-blog-detail__title { font-size: clamp(22px, 5vw, 31px); }
  html.ds-theme body.sd-rd--report-detail .ds-article.sd-blog-article,
  html.ds-theme body.sd-rd--report-detail .sd-blog-article:not(:has(.ds-toc)) { grid-template-columns: 1fr !important; }
  html.ds-theme body.sd-rd--report-detail .ds-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  html.ds-theme body.sd-rd--report-detail .ds-toc strong { width: 100%; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-rail { grid-column: auto; grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  html.ds-theme body.sd-rd--reports .sd-blog-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .sd-blog-pop { min-height: 0; }
  html.ds-theme body.sd-rd--reports .sd-blog-featured__recent img,
  html.ds-theme body.sd-rd--reports .sd-blog-featured__recent .sd-rd-report-tile { height: 86px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__link { grid-template-columns: 104px minmax(0, 1fr) !important; min-height: 120px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__thumb,
  html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__thumb { width: 104px; height: 120px !important; min-height: 120px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__meta .sd-blog-page__views { display: none; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__item-title,
  html.ds-theme body.sd-rd--reports .sd-blog-page__item.is-featured .sd-blog-page__item-title { font-size: 14px; }
  html.ds-theme body.sd-rd--reports .sd-blog-page__item-summary { -webkit-line-clamp: 1; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card { padding: 14px; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__headline-card .sd-article-quote { margin-left: 0; }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .sd-blog-detail__title { font-size: 22px; }
}

/* Article hero: readable text first, article visual second. */
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero,
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero--banner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: stretch;
  min-height: 262px;
  height: auto;
  border: 1px solid #dfe8f3;
  border-radius: 12px;
  background: #fff;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero::after,
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero::before {
  content: none !important;
  display: none !important;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy {
  position: relative;
  inset: auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 25px 28px;
  background: #fff;
  color: #153256 !important;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .ds-kicker {
  margin: 0 0 12px;
  color: #226ac2 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .sd-blog-detail__title {
  max-width: none;
  margin: 0;
  color: #102b50 !important;
  -webkit-text-fill-color: #102b50 !important;
  font-size: clamp(23px, 2.15vw, 30px);
  font-weight: 850;
  line-height: 1.29;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  word-break: normal;
}
html.ds-theme body.sd-rd--report-detail .sd-report-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 262px;
  overflow: hidden;
  background: linear-gradient(125deg, rgba(8, 38, 80, .08), rgba(14, 58, 116, .14)), url("/assets/img/ds-redesign-mountain.webp") center 47% / cover no-repeat;
}
html.ds-theme body.sd-rd--report-detail .sd-report-hero-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero,
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero--banner {
    grid-template-columns: 1fr;
  }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy {
    order: 1;
    padding: 20px;
  }
  html.ds-theme body.sd-rd--report-detail .sd-blog-detail__hero-copy .sd-blog-detail__title {
    font-size: clamp(21px, 5vw, 27px);
    line-height: 1.32;
  }
  html.ds-theme body.sd-rd--report-detail .sd-report-hero-visual {
    order: 2;
    min-height: 168px;
  }
}
/* User's market convention: gains red, losses blue. */
html.ds-theme body.sd-rd--reports .is-up,
html.ds-theme body.sd-rd--report-detail .is-up { color: #e84558 !important; }
html.ds-theme body.sd-rd--reports .is-down,
html.ds-theme body.sd-rd--report-detail .is-down { color: #3478ef !important; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list li {
  display: block;
  margin: 0;
  border-bottom: 1px solid #e8eef6;
  list-style: none;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list li:last-child { border-bottom: 0; }
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  padding: 10px 0;
  color: #17365c;
  text-decoration: none;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list a > span:last-child {
  display: grid;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
html.ds-theme body.sd-rd--report-detail .sd-blog-detail-related .ds-list em { font-style: normal; }

html.ds-theme body.sd-home-panels {
    --ds-panel-left: 236px;
    --ds-panel-right: 288px;
    --ds-panel-gap: 16px;
    --ds-panel-top: calc(var(--ds-header-h, 72px) + 16px);
    --ds-panel-bottom-nav: 64px;
}

html.ds-theme body.sd-home-panels .sd-main {
    width: min(1640px, calc(100% - 32px)) !important;
    max-width: 1640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 16px 0 0 !important;
}

html.ds-theme body.sd-home-panels .ds-home {
    padding-bottom: 32px;
}

html.ds-theme body.sd-home-panels .ds-desktop-shell {
    display: grid;
    grid-template-columns: var(--ds-panel-left) minmax(0, 1fr) var(--ds-panel-right);
    align-items: start;
    gap: var(--ds-panel-gap);
    width: 100% !important;
    max-width: 1640px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.sd-home-panels .ds-desktop-center {
    container-name: ds-home-content;
    container-type: inline-size;
    display: grid;
    align-content: start;
    gap: 16px;
    min-width: 0;
}

.sd-home-panels .ds-desktop-center > * {
    min-width: 0;
    max-width: 100%;
}

.sd-home-panels .ds-desktop-left,
.sd-home-panels .ds-desktop-right {
    position: sticky;
    top: var(--ds-panel-top);
    min-width: 0;
    max-height: calc(100vh - var(--ds-header-h, 72px) - 32px);
    max-height: calc(100dvh - var(--ds-header-h, 72px) - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    border: 1px solid var(--ds-border, #e5eaf1);
    border-radius: 12px;
    background: var(--ds-card, #fff);
    color: var(--ds-text, #0f172a);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .025);
}

.sd-home-panels .ds-desktop-left {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.sd-home-panels .ds-desktop-right { padding: 0; }

.sd-home-panels .ds-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 12px 12px 8px 14px;
}

.sd-home-panels .ds-panel-head h2,
.sd-home-panels .ds-panel-head h3 {
    min-width: 0;
    margin: 0;
    color: var(--ds-text, #0f172a);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.4;
}

.sd-home-panels .ds-panel-head-controls {
    display: flex;
    align-items: center;
    gap: 3px;
}

.sd-home-panels .ds-panel-toggle,
.sd-home-panels .ds-panel-close {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ds-text-muted, #64748b);
    font: inherit;
    font-size: 17px;
    cursor: pointer;
}

.sd-home-panels .ds-panel-toggle:hover,
.sd-home-panels .ds-panel-close:hover {
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

.sd-home-panels .ds-panel-close { display: none; }

/* PC Left Sidebar — Proposal 1 (Live-harmonized vertical rhythm) */
.sd-home-panels .ds-panel-left-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 56px;
    min-height: 56px;
    padding: 12px 12px 8px 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sd-home-panels .ds-panel-left-head .ds-panel-toggle {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--ds-text-muted, #64748b);
    font-size: 17px;
}

.sd-home-panels .ds-panel-left-head .ds-panel-toggle:hover {
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

html.ds-theme .sd-home-panels .ds-left-mkt-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    height: 32px;
    padding: 0 11px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}

html.ds-theme .sd-home-panels .ds-left-mkt-pill:hover,
html.ds-theme .sd-home-panels .ds-left-mkt-pill.is-active {
    background: var(--ds-blue-soft, #eff4ff);
    border-color: #bfdbfe;
    color: var(--ds-navy, #0b3d91);
}

.sd-home-panels .ds-left-mkt-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}

.sd-home-panels .ds-left-mkt-pill.is-live .ds-left-mkt-dot {
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, .16);
}

.sd-home-panels .ds-left-mkt-pill.is-pre .ds-left-mkt-dot {
    background: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .16);
}

.sd-home-panels .ds-left-mkt-pill.is-after .ds-left-mkt-dot {
    background: #0284c7;
}

.sd-home-panels .ds-left-mkt-pill.is-weekend .ds-left-mkt-dot {
    background: #64748b;
}

.sd-home-panels .ds-left-mkt-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-home-panels .ds-left-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 10px 14px;
    flex: 1 1 auto;
}

.sd-home-panels .ds-left-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px;
    border-radius: 12px;
    background: #f8fafd;
    border: 1px solid #e6edf7;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.sd-home-panels .ds-left-group:hover {
    border-color: #d6e2f2;
}

.sd-home-panels .ds-left-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 2px 3px 5px;
    border-bottom: 1px solid #e6edf6;
    transition: border-color 0.2s ease, padding-bottom 0.2s ease;
}

.sd-home-panels .ds-left-group.is-collapsed .ds-left-group-head {
    padding-bottom: 2px;
    border-bottom-color: transparent;
}

html.ds-theme .sd-home-panels .ds-left-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 28px;
    padding: 4px 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.14s ease;
}

html.ds-theme .sd-home-panels .ds-left-group-toggle:hover {
    background: rgba(255, 255, 255, 0.85);
}

html.ds-theme .sd-home-panels .ds-left-group-toggle:hover .ds-panel-section-label,
html.ds-theme .sd-home-panels .ds-left-group-toggle:hover .ds-left-group-chev,
html.ds-theme .sd-home-panels .ds-left-group-chev-btn:hover .ds-left-group-chev {
    color: #1d4ed8;
}

html.ds-theme .sd-home-panels .ds-left-group-chev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.14s ease;
}

html.ds-theme .sd-home-panels .ds-left-group-chev-btn:hover {
    background: rgba(255, 255, 255, 0.85);
}

.sd-home-panels .ds-left-group-chev {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), color 150ms ease;
}

.sd-home-panels .ds-left-group.is-collapsed .ds-left-group-chev {
    transform: rotate(-90deg);
}

.sd-home-panels .ds-panel-section-label {
    margin: 0;
    color: #475569;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.35;
    white-space: nowrap;
    transition: color 0.14s ease;
}

html.ds-theme .sd-home-panels .ds-left-group-more {
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    padding: 2px 5px;
    border-radius: 6px;
    flex-shrink: 0;
}

html.ds-theme .sd-home-panels .ds-left-group-more:hover {
    background: #eff6ff;
    text-decoration: none;
}

html.ds-theme .sd-home-panels .ds-left-group-more.is-active {
    color: var(--ds-navy, #0b3d91);
    font-weight: 850;
}

.sd-home-panels .ds-left-group-panel {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    padding-top: 5px;
}

.sd-home-panels .ds-desktop-left.is-acc-ready .ds-left-group-panel {
    transition: grid-template-rows 270ms cubic-bezier(0.22, 1, 0.36, 1), opacity 210ms ease, padding-top 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-home-panels .ds-left-group.is-collapsed .ds-left-group-panel {
    grid-template-rows: 0fr;
    opacity: 0;
    padding-top: 0;
    pointer-events: none;
}

.sd-home-panels .ds-panel-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    overflow: hidden;
    margin-left: 5px;
    padding-left: 5px;
    border-left: 2px solid #dbe5f4;
    transition: border-color 0.18s ease;
}

.sd-home-panels .ds-left-group:hover .ds-panel-nav {
    border-left-color: #bfd4f4;
}

html.ds-theme .sd-home-panels .ds-panel-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 37px;
    min-height: 37px;
    min-width: 0;
    padding: 0 8px;
    border-radius: 9px;
    color: var(--ds-text-sub, #475569);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.35;
    box-sizing: border-box;
    border: 1px solid transparent;
    transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.sd-home-panels .ds-panel-nav-icon {
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #64748b;
    font-size: 16.5px;
    line-height: 1;
}

.sd-home-panels .ds-panel-nav-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sd-home-panels .ds-panel-nav-short { display: none; }

html.ds-theme .sd-home-panels button.ds-panel-nav-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.sd-home-panels .ds-panel-nav-chev {
    margin-left: auto;
    font-size: 11.5px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.16s ease, color 0.16s ease;
}

.sd-home-panels .ds-desktop-shell.is-left-collapsed .ds-panel-nav-chev {
    display: none;
}

html.ds-theme .sd-home-panels .ds-panel-nav-trigger:hover .ds-panel-nav-chev,
html.ds-theme .sd-home-panels .ds-panel-nav-trigger.is-pop-open .ds-panel-nav-chev {
    color: #1d4ed8;
    transform: translateX(2px);
}

html.ds-theme .sd-home-panels .ds-panel-nav-trigger.is-pop-open {
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

.ds-left-pop {
    position: fixed;
    z-index: 1250;
    width: 244px;
    padding: 10px;
    border-radius: 15px;
    background: #ffffff;
    border: 1px solid #d7e3f4;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.15), 0 2px 6px rgba(15, 23, 42, 0.05);
    animation: dsLeftPopIn 0.14s ease-out;
}

.ds-left-pop[hidden] {
    display: none !important;
}

@keyframes dsLeftPopIn {
    from { opacity: 0; transform: translateX(-6px); }
    to { opacity: 1; transform: translateX(0); }
}

.ds-left-pop__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 6px 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eef2f8;
    font-size: 12px;
    font-weight: 850;
    color: #475569;
    letter-spacing: -0.015em;
}

.ds-left-pop__close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.ds-left-pop__close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.ds-left-pop__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ds-left-pop__item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    border-radius: 11px;
    text-decoration: none;
    color: #0f172a;
    border: 1px solid transparent;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

.ds-left-pop__item:hover,
.ds-left-pop__item:focus-visible {
    background: #f4f8ff;
    border-color: #dbeafe;
    outline: none;
}

.ds-left-pop__item.is-active {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.ds-left-pop__ico {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ds-left-pop__ico--all { background: #e2e8f0; color: #334155; }
.ds-left-pop__ico--kr { background: #dbeafe; color: #1d4ed8; }
.ds-left-pop__ico--us { background: #ede9fe; color: #6d28d9; }

.ds-left-pop__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ds-left-pop__text strong {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.ds-left-pop__item.is-active .ds-left-pop__text strong {
    color: #1d4ed8;
}

.ds-left-pop__text small {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-left-pop__arr {
    font-size: 11px;
    color: #94a3b8;
}

.ds-left-pop__item:hover .ds-left-pop__arr,
.ds-left-pop__item.is-active .ds-left-pop__arr {
    color: #1d4ed8;
}

html.ds-theme .sd-home-panels .ds-panel-nav-link:hover {
    background: #ffffff;
    color: var(--ds-navy, #0b3d91);
    border-color: #e2eaf5;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

html.ds-theme .sd-home-panels .ds-panel-nav-link.is-active,
html.ds-theme .sd-home-panels .ds-panel-nav-link[aria-current="page"] {
    background: #eaf2ff;
    border-color: #c8defc;
    color: var(--ds-navy, #0b3d91);
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(29, 78, 216, 0.08);
}

html.ds-theme .sd-home-panels .ds-panel-nav-link:hover .ds-panel-nav-icon,
html.ds-theme .sd-home-panels .ds-panel-nav-link.is-active .ds-panel-nav-icon,
html.ds-theme .sd-home-panels .ds-panel-nav-link[aria-current="page"] .ds-panel-nav-icon {
    color: var(--ds-navy, #0b3d91);
}

.sd-home-panels .ds-left-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 6px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    white-space: nowrap;
}

.sd-home-panels .ds-left-badge--live {
    background: #dcfce7;
    color: #166534;
}

.sd-home-panels .ds-left-badge--ai {
    background: #e0e7ff;
    color: #1e40af;
}

.sd-home-panels .ds-left-chips {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) minmax(0, 1fr);
    gap: 5px;
    margin: 2px 0 4px;
    padding: 0 4px 0 32px;
}

html.ds-theme .sd-home-panels .ds-left-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 0;
    padding: 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

html.ds-theme .sd-home-panels .ds-left-chip:hover,
html.ds-theme .sd-home-panels .ds-left-chip.is-active,
html.ds-theme .sd-home-panels .ds-left-chip[aria-current="page"] {
    background: var(--ds-blue-soft, #eff4ff);
    border-color: #93c5fd;
    color: #1d4ed8;
    font-weight: 750;
}

.sd-home-panels .ds-left-foot {
    margin-top: auto;
    padding: 12px;
    border-top: 1px solid var(--ds-border, #e5eaf1);
    background: #fff;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    flex-shrink: 0;
}

html.ds-theme .sd-home-panels .ds-left-foot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    min-width: 0;
    padding: 0 6px;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

html.ds-theme .sd-home-panels .ds-left-foot-btn i {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1;
    flex-shrink: 0;
}

html.ds-theme .sd-home-panels .ds-left-foot-btn:hover {
    border-color: #cbd5e1;
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

html.ds-theme .sd-home-panels .ds-left-foot-btn:hover i,
html.ds-theme .sd-home-panels .ds-left-foot-btn.is-active i,
html.ds-theme .sd-home-panels .ds-left-foot-btn[aria-current="page"] i {
    color: #1d4ed8;
}

html.ds-theme .sd-home-panels .ds-left-foot-btn.is-active,
html.ds-theme .sd-home-panels .ds-left-foot-btn[aria-current="page"] {
    background: var(--ds-blue-soft, #eff4ff);
    border-color: #93c5fd;
    color: var(--ds-navy, #0b3d91);
}

/* Medium-height desktop windows (e.g., 1080p with bookmarks bar: 840px–919px) */
@media (min-width: 1366px) and (min-height: 840px) and (max-height: 919px) {
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-left-head { height: 50px; min-height: 50px; padding: 10px 12px 6px 16px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-body { gap: 12px; padding: 6px 12px 10px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-group { gap: 5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-group + .ds-left-group { padding-top: 12px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-nav-link { height: 37px; min-height: 37px; font-size: 13.5px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-chip { height: 26px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot { padding: 10px 12px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot-btn { height: 34px; font-size: 12.5px; }
}

/* Compact vertical rhythm on shorter laptop screens (e.g., 1536x864 @ 125% scale: <=839px) */
@media (min-width: 1366px) and (max-height: 839px) {
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-left-head { height: 44px; min-height: 44px; padding: 8px 10px 6px 12px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-mkt-pill { height: 27px; padding: 0 9px; font-size: 11.5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-left-head .ds-panel-toggle { flex: 0 0 30px; width: 30px; height: 30px; font-size: 15.5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-body { gap: 8px; padding: 2px 10px 8px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-group { gap: 4px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-group + .ds-left-group { padding-top: 8px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-nav { gap: 2px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-nav-link { height: 32px; min-height: 32px; font-size: 13px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-nav-icon { font-size: 15.5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-chips { margin: 1px 0 2px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-chip { height: 24px; font-size: 11.5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot { padding: 8px 10px; gap: 6px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot-btn { height: 30px; font-size: 12px; }
}

/* Prevent oversized blank gap on tall fullscreen / QHD / 4K monitors */
@media (min-width: 1366px) and (min-height: 1000px) {
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-body { flex: 0 0 auto; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot { margin-top: 6px; }
}

.sd-home-panels .ds-panel-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    margin: 0 12px 8px;
    border-radius: 9px;
    background: var(--ds-bg, #f8fafc);
}

.sd-home-panels .ds-panel-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 40px;
    min-width: 0;
    padding: 6px 2px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ds-text-sub, #475569);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    cursor: pointer;
}

.sd-home-panels .ds-panel-tabs button[aria-selected="true"],
.sd-home-panels .ds-panel-tabs button.is-active {
    background: var(--ds-card, #fff);
    color: var(--ds-navy, #0b3d91);
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .09);
}

.sd-home-panels .ds-panel-tab-icon { display: none; }
.sd-home-panels .ds-panel-pane { min-width: 0; padding: 0 14px 14px; }
.sd-home-panels .ds-panel-pane-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 10px;
    padding: 10px 0 3px;
}

.sd-home-panels .ds-panel-pane-heading h3 {
    margin: 0;
    color: var(--ds-text, #0f172a);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.sd-home-panels .ds-panel-pane-heading > span,
.sd-home-panels .ds-panel-pane-heading > a {
    color: var(--ds-text-muted, #64748b);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
}

.sd-home-panels .ds-panel-pane-heading > a { color: var(--ds-navy, #0b3d91); }
.sd-home-panels .ds-panel-pane[hidden],
.sd-home-panels .ds-panel-backdrop[hidden],
.sd-home-panels .ds-panel-toast[hidden],
.sd-home-panels [data-desktop-shell] [hidden] { display: none !important; }

.sd-home-panels .ds-panel-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-home-panels .ds-panel-list > li {
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--ds-border, #e5eaf1);
}

.sd-home-panels .ds-panel-list > li:last-child { border-bottom: 0; }

html.ds-theme .sd-home-panels .ds-panel-item-title {
    display: block;
    margin: 0;
    color: var(--ds-text, #0f172a);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

html.ds-theme .sd-home-panels .ds-panel-item-title:hover { color: var(--ds-navy, #0b3d91); }

.sd-home-panels .ds-panel-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 6px 0 0;
    color: var(--ds-text-muted, #64748b);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.sd-home-panels .ds-panel-meta time,
.sd-home-panels .ds-panel-meta > span:last-child { font-variant-numeric: tabular-nums; }
.sd-home-panels .ds-panel-meta .ds-panel-save { margin-left: auto; }

.sd-home-panels .ds-panel-schedule-item {
    display: grid;
    grid-template-columns: 47px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.sd-home-panels .ds-panel-schedule-item > time {
    padding-top: 1px;
    color: var(--ds-navy, #0b3d91);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.sd-home-panels .ds-panel-schedule-body { min-width: 0; }
.sd-home-panels .ds-panel-schedule-body h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.sd-home-panels .ds-panel-schedule-body h3 a { text-decoration: none; }
.sd-home-panels .ds-panel-schedule-body h3 a:hover { color: var(--ds-navy, #0b3d91); }

html.ds-theme .sd-home-panels .ds-panel-stock-link {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    color: var(--ds-text, #0f172a);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
}

.sd-home-panels .ds-panel-stock-name,
.sd-home-panels .ds-panel-stock-link > span:first-child {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.sd-home-panels .ds-panel-stock-code,
.sd-home-panels .ds-panel-stock-link small {
    color: var(--ds-text-muted, #64748b);
    font-size: 12px;
    font-weight: 400;
}

.sd-home-panels .ds-panel-stock-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.sd-home-panels .ds-panel-stock-quote {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 2px;
    font-size: 13px;
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
}

.sd-home-panels .ds-panel-stock-quote small { font-size: 12px; }
.sd-home-panels .ds-panel-stock-quote .is-up { color: #cf3045; }
.sd-home-panels .ds-panel-stock-quote .is-down { color: #2563eb; }

.sd-home-panels .ds-panel-empty,
.sd-home-panels .ds-panel-login {
    padding: 20px 6px;
    color: var(--ds-text-sub, #475569);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    overflow-wrap: anywhere;
}

.sd-home-panels .ds-panel-empty p,
.sd-home-panels .ds-panel-login p { margin: 0 0 12px; }
.sd-home-panels .ds-panel-empty p:last-child,
.sd-home-panels .ds-panel-login p:last-child { margin-bottom: 0; }

html.ds-theme .sd-home-panels .ds-panel-login a,
html.ds-theme .sd-home-panels .ds-panel-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid var(--ds-navy, #0b3d91);
    border-radius: 8px;
    background: var(--ds-navy, #0b3d91);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.sd-home-panels .ds-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--ds-border, #e5eaf1);
    color: var(--ds-text-muted, #64748b);
    font-size: 12px;
    line-height: 1.5;
}

html.ds-theme .sd-home-panels .ds-panel-foot a {
    color: var(--ds-navy, #0b3d91);
    text-decoration: none;
    font-weight: 650;
}

.sd-home-panels .ds-panel-status {
    margin: 0;
    padding: 0 14px 12px;
    color: var(--ds-text-muted, #64748b);
    font-size: 12px;
    line-height: 1.5;
}

.sd-home-panels .ds-panel-pane > .ds-panel-status { padding: 0 0 8px; }
.sd-home-panels .ds-panel-status:empty,
.sd-home-panels .ds-panel-toast:empty { display: none; }

.sd-home-panels .ds-panel-new {
    display: block;
    width: calc(100% - 28px);
    min-height: 40px;
    margin: 0 14px 8px;
    padding: 8px;
    border: 1px solid #c6d8f5;
    border-radius: 8px;
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.sd-home-panels .ds-panel-pane > .ds-panel-new { width: 100%; margin: 0 0 8px; }

.sd-home-panels .ds-panel-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ds-text-muted, #64748b);
    font: inherit;
    cursor: pointer;
}

.sd-home-panels .ds-panel-save:hover,
.sd-home-panels .ds-panel-save[aria-pressed="true"] {
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

.sd-home-panels .ds-panel-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1090;
    max-width: min(440px, calc(100vw - 32px));
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--ds-navy-deep, #082a66);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .18);
    transform: translateX(-50%);
}

.sd-home-panels .ds-panel-backdrop { display: none; }

.sd-home-panels .ds-home-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    min-height: 72px;
    padding: 18px 20px;
    border: 1px solid var(--ds-border, #e5eaf1);
    border-radius: 12px;
    background: var(--ds-card, #fff);
}

.sd-home-panels .ds-home-intro h1 {
    margin: 0;
    color: var(--ds-text, #0f172a);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.045em;
}

.sd-home-panels .ds-home-intro p {
    margin: 4px 0 0;
    color: var(--ds-text-muted, #64748b);
    font-size: 13px;
    line-height: 1.5;
}

html.ds-theme .sd-home-panels .ds-home-intro > a {
    color: var(--ds-navy, #0b3d91);
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.sd-home-panels .ds-mobile-shortcuts,
.sd-home-panels .ds-mobile-bottom-nav { display: none; }

html.ds-theme body.sd-home-panels .ds-home .ds-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

html.ds-theme body.sd-home-panels .ds-home .ds-kpi {
    min-width: 0;
    min-height: 96px;
    padding: 12px 14px;
    box-shadow: none;
}

.sd-home-panels .ds-home .ds-kpi .sd-market-asof {
    grid-column: 1 / -1;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

html.ds-theme body.sd-home-panels .ds-home .ds-market-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

html.ds-theme body.sd-home-panels .ds-home .ds-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

html.ds-theme body.sd-home-panels .ds-home .ds-board > :first-child { grid-column: 1 / -1; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.ds-theme body.sd-home-panels .ds-home .ds-split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
html.ds-theme body.sd-home-panels .ds-home .ds-ai-band { grid-template-columns: minmax(0, 1fr); }
html.ds-theme body.sd-home-panels .ds-home .ds-market-chart { height: 220px; min-height: 220px; }
html.ds-theme body.sd-home-panels .ds-home .ds-cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sd-home-panels :where(.ds-panel-toggle, .ds-panel-close, .ds-panel-nav-link, .ds-left-mkt-pill,
    .ds-left-group-toggle, .ds-left-group-chev-btn,
    .ds-left-group-more, .ds-left-chip, .ds-left-foot-btn, .ds-panel-tabs button,
    .ds-panel-item-title, .ds-panel-stock-link, .ds-panel-action, .ds-panel-save,
    .ds-panel-new, .ds-panel-foot a, .ds-panel-login a, .ds-mobile-shortcuts > *,
    .ds-mobile-bottom-nav > *):focus-visible {
    outline: 2px solid var(--ds-blue, #2563eb);
    outline-offset: 2px;
}

@container ds-home-content (min-width: 800px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@container ds-home-content (min-width: 800px) and (max-width: 1099px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi { grid-template-columns: minmax(0, 1fr) 64px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi .ds-spark,
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi .ds-gauge { width: 60px; }
}

@container ds-home-content (min-width: 760px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

@container ds-home-content (min-width: 1100px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-board { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)); }
    html.ds-theme body.sd-home-panels .ds-home .ds-board > :first-child { grid-column: auto; }
}

@container ds-home-content (max-width: 949px) {
    .sd-home-panels .sd-stock-layout { grid-template-columns: minmax(0, 1fr); }
    .sd-home-panels .sd-stock-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .sd-home-panels .sd-stock-secondary .sd-stock-card { margin: 0; }
    .sd-home-panels .sd-stock-help { grid-column: 1 / -1; }
}

@container ds-home-content (max-width: 759px) {
    .sd-home-panels .sd-personal-home__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@container ds-home-content (max-width: 599px) {
    .sd-home-panels .sd-stock-hero { flex-direction: column; align-items: start; padding: 18px; gap: 16px; }
    .sd-home-panels .sd-stock-quote { align-items: start; }
    .sd-home-panels .sd-stock-secondary { display: block; }
    .sd-home-panels .sd-stock-secondary .sd-stock-card { margin-bottom: 16px; }
    .sd-home-panels .sd-stock-section-head { flex-wrap: wrap; }
    .sd-home-panels .sd-stock-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container ds-home-content (max-width: 479px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi { grid-template-columns: minmax(0, 1fr); min-height: 92px; padding: 11px 12px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi .ds-spark,
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi .ds-gauge { display: none; }
    html.ds-theme body.sd-home-panels .ds-home .ds-board,
    html.ds-theme body.sd-home-panels .ds-home .ds-market-rail,
    html.ds-theme body.sd-home-panels .ds-home .ds-cat-cards { grid-template-columns: minmax(0, 1fr); }
    html.ds-theme body.sd-home-panels .ds-home .ds-ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-chart { height: 190px; min-height: 190px; }
}

@media (min-width: 1100px) {
    
    html.ds-theme body.sd-home-panels .sd-main { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
    html.ds-theme body.sd-home-panels .ds-desktop-shell { max-width: none !important; }
    .sd-home-panels .ds-desktop-center { grid-column: 2; }
    .sd-home-panels .ds-desktop-left,
    .sd-home-panels .ds-desktop-right { position: fixed; top: var(--ds-header-h, 72px); bottom: 0; height: auto; max-height: none; margin: 0; border-top: 0; border-bottom: 0; border-radius: 0; box-shadow: none; box-sizing: border-box; z-index: 20; }
    .sd-home-panels .ds-desktop-left { left: 0; width: var(--ds-panel-left); border-left: 0; }
    .sd-home-panels .ds-desktop-right { right: 0; width: var(--ds-panel-right); border-right: 0; }
    html.ds-theme body.sd-home-panels { --ds-footer-left: var(--ds-panel-left); --ds-footer-right: var(--ds-panel-right); }
    html.ds-theme body.sd-home-panels:has(.ds-desktop-shell.is-left-collapsed) { --ds-footer-left: 64px; }
    html.ds-theme body.sd-home-panels:has(.ds-desktop-shell.is-right-collapsed) { --ds-footer-right: 48px; }
    html.ds-theme body.sd-home-panels .sd-footer { width: auto !important; max-width: none !important; margin-left: var(--ds-footer-left) !important; margin-right: var(--ds-footer-right) !important; }
    html.ds-theme body.sd-home-panels .sd-footer__top { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 24px; }
    html.ds-theme body.sd-home-panels .sd-footer__top > * { min-width: 0; overflow-wrap: anywhere; }
    html.ds-theme body.sd-home-panels .sd-floating-actions { right: calc(var(--ds-footer-right) + 16px) !important; }
    html.ds-theme .sd-home-panels .ds-nav,
    html.ds-theme .sd-home-panels .ds-header.is-nav-open .ds-nav { display: none !important; }
    html.ds-theme .sd-home-panels .ds-header .ds-menu-toggle { display: none; }
    html.ds-theme .sd-home-panels .ds-header .ds-header__bar { grid-template-columns: auto minmax(240px, 1fr) auto; gap: 24px; }
    html.ds-theme .sd-home-panels .ds-header .ds-search { max-width: 680px; justify-self: center; width: 100%; }
    html.ds-theme .sd-home-panels .ds-header .ds-wrap { max-width: none !important; }
    .sd-home-panels .ds-desktop-shell.is-left-collapsed { --ds-panel-left: 64px; }
    .sd-home-panels .ds-desktop-shell.is-right-collapsed { --ds-panel-right: 48px; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-desktop-left { padding: 0; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-left-head { justify-content: center; height: 48px; min-height: 48px; padding: 6px 4px 2px; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-mkt-pill,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group-head,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav-label,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-badge,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-chips,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-foot-label,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav-short { display: none !important; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-body { padding: 4px 8px 8px; gap: 7px; flex: 1 1 auto; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group { gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group + .ds-left-group { padding-top: 7px; border-top: 1px solid var(--ds-border, #e5eaf1); }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group-panel,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group.is-collapsed .ds-left-group-panel { grid-template-rows: 1fr !important; opacity: 1 !important; padding-top: 0 !important; pointer-events: auto !important; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav { gap: 2px; margin-left: 0; padding-left: 0; border-left: 0; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav-link { justify-content: center; height: 36px; min-height: 36px; padding: 0; border-radius: 9px; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav-icon { flex: 0 0 20px; width: 20px; height: 20px; font-size: 17px; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-foot { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 8px; margin-top: auto; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-foot-btn { height: 34px; padding: 0; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-foot-btn i { font-size: 16px; }
    .sd-home-panels .is-right-collapsed .ds-panel-head { justify-content: center; padding: 8px 4px; }
    .sd-home-panels .is-right-collapsed .ds-panel-head h2,
    .sd-home-panels .is-right-collapsed .ds-panel-head h3,
    .sd-home-panels .is-right-collapsed .ds-panel-pane,
    .sd-home-panels .is-right-collapsed .ds-panel-status,
    .sd-home-panels .is-right-collapsed .ds-panel-new { display: none; }
    .sd-home-panels .is-right-collapsed .ds-panel-tabs { grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 4px 8px; padding: 0; background: transparent; }
    .sd-home-panels .is-right-collapsed .ds-panel-tabs button { flex-direction: column; gap: 4px; padding: 9px 0; min-height: 48px; }
    .sd-home-panels .is-right-collapsed .ds-panel-tab-icon { display: inline-block; font-size: 17px; }
    .sd-home-panels .is-right-collapsed .ds-panel-tab-label { font-size: 10px; }
}

@media (min-width: 1100px) and (max-width: 1365px) {
    html.ds-theme body.sd-home-panels { --ds-panel-left: 64px; --ds-panel-right: 280px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left { padding: 0; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-left-head,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-mkt-pill,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group-head,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav-label,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-badge,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-chips,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-foot-label,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav-short { display: none !important; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-body { padding: 10px 8px 8px; gap: 8px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group { gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group + .ds-left-group { padding-top: 8px; border-top: 1px solid var(--ds-border, #e5eaf1); }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group-panel,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group.is-collapsed .ds-left-group-panel { grid-template-rows: 1fr !important; opacity: 1 !important; padding-top: 0 !important; pointer-events: auto !important; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav { gap: 3px; margin-left: 0; padding-left: 0; border-left: 0; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav-link { justify-content: center; height: 38px; min-height: 38px; padding: 0; border-radius: 9px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav-icon { flex: 0 0 20px; width: 20px; height: 20px; font-size: 17px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-foot { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 8px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-foot-btn { height: 36px; padding: 0; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-foot-btn i { font-size: 16px; }
}

@media (max-width: 1099px) {
    html.ds-theme body.sd-home-panels .sd-main { width: calc(100% - 24px) !important; padding-top: 12px !important; }
    html.ds-theme body.sd-home-panels .ds-desktop-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left,
    .sd-home-panels .ds-desktop-left { display: none !important; }
    .sd-home-panels .ds-desktop-center { gap: 12px; }
    .sd-home-panels .ds-desktop-right { position: static; max-height: none; width: 100%; }
    .sd-home-panels .ds-panel-toggle { display: none; }
    .sd-home-panels .ds-mobile-shortcuts { display: flex; gap: 8px; flex-wrap: wrap; }
    .sd-home-panels .ds-mobile-shortcuts > * { display: inline-flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ds-border, #e5eaf1); border-radius: 9px; background: var(--ds-card, #fff); color: var(--ds-text-sub, #475569); font: inherit; font-size: 13px; font-weight: 650; line-height: 1.4; text-decoration: none; cursor: pointer; }
    .sd-home-panels .ds-mobile-shortcuts > *:hover { color: var(--ds-navy, #0b3d91); background: var(--ds-blue-soft, #eff4ff); }
    .sd-home-panels .ds-mobile-shortcuts i { color: var(--ds-navy, #0b3d91); font-size: 16px; }
    .sd-home-panels .is-panels-ready .ds-desktop-right { display: none; }
    .sd-home-panels .is-panels-ready .ds-desktop-right.is-open { display: block; position: fixed; top: calc(var(--ds-header-h, 72px) + 8px); right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 1050; width: min(380px, calc(100vw - 24px)); max-height: none; padding-bottom: 12px; box-shadow: 0 12px 48px rgba(15, 23, 42, .2); }
    .sd-home-panels .is-panels-ready .ds-panel-close { display: inline-flex; }
    .sd-home-panels .ds-panel-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1040; border: 0; background: rgba(15, 23, 42, .42); cursor: pointer; }
    html.ds-theme body.sd-home-panels.is-panel-drawer-open { overflow: hidden; }
    html.ds-theme body.sd-home-panels.is-panel-drawer-open .sd-main { z-index: 1040; }
    html.ds-theme body.sd-home-panels { padding-bottom: calc(var(--ds-panel-bottom-nav) + env(safe-area-inset-bottom, 0px)); }
    .sd-home-panels .ds-mobile-bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; min-height: var(--ds-panel-bottom-nav); padding: 5px max(8px, env(safe-area-inset-left, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ds-border, #e5eaf1); background: rgba(255, 255, 255, .97); box-shadow: 0 -2px 12px rgba(15, 23, 42, .035); }
    .sd-home-panels .ds-mobile-bottom-nav > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; min-width: 0; padding: 4px 2px; border: 0; border-radius: 8px; background: transparent; color: var(--ds-text-muted, #64748b); font: inherit; font-size: 11px; font-weight: 650; line-height: 1.3; text-decoration: none; cursor: pointer; }
    .sd-home-panels .ds-mobile-bottom-nav i { font-size: 20px; line-height: 1; }
    .sd-home-panels .ds-mobile-bottom-nav > .is-active,
    .sd-home-panels .ds-mobile-bottom-nav > [aria-current="page"],
    .sd-home-panels .ds-mobile-bottom-nav > [aria-expanded="true"] { background: var(--ds-blue-soft, #eff4ff); color: var(--ds-navy, #0b3d91); }
    .sd-home-panels .sd-floating-actions { bottom: calc(var(--ds-panel-bottom-nav) + env(safe-area-inset-bottom, 0px) + 12px) !important; right: 12px !important; }
    .sd-home-panels .ds-panel-toast,
    .sd-home-panels .sd-stock-toast,
    .sd-home-panels .sd-news__toast { bottom: calc(var(--ds-panel-bottom-nav) + env(safe-area-inset-bottom, 0px) + 14px); }
    .sd-home-panels input,
    .sd-home-panels select,
    .sd-home-panels textarea { font-size: 16px; }
    .sd-home-panels .ds-panel-item-title,
    .sd-home-panels .ds-panel-schedule-body h3,
    .sd-home-panels .ds-panel-stock-link { font-size: 15px; }
}

@media (max-width: 479px) {
    html.ds-theme body.sd-home-panels .sd-main { width: calc(100% - 20px) !important; }
    .sd-home-panels .ds-home-intro { min-height: 0; padding: 15px 16px; }
    .sd-home-panels .ds-home-intro h1 { font-size: 21px; }
    .sd-home-panels .ds-home-intro p { font-size: 12px; }
    .sd-home-panels .ds-mobile-shortcuts { gap: 6px; }
    .sd-home-panels .ds-mobile-shortcuts > * { padding: 9px 6px; gap: 5px; font-size: 12px; }
    .sd-home-panels .ds-desktop-right.is-open .ds-panel-head { padding-top: 10px; }
    .sd-home-panels .ds-panel-close { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .sd-home-panels [data-desktop-shell] *,
    .sd-home-panels .ds-mobile-bottom-nav * { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
}


@media (min-width: 1100px) {
    html.ds-theme body.sd-home-panels { --ds-panel-motion: 260ms cubic-bezier(.22, 1, .36, 1); }
    html.ds-theme body.sd-home-panels .ds-desktop-shell.is-panel-motion-ready { transition: grid-template-columns var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-desktop-left,
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-desktop-right { transition: width var(--ds-panel-motion), padding var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels:has(.ds-desktop-shell.is-panel-motion-ready) .sd-footer { transition: margin-left var(--ds-panel-motion), margin-right var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels:has(.ds-desktop-shell.is-panel-motion-ready) .sd-floating-actions { transition: right var(--ds-panel-motion); }

    
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-head { position: relative; height: 56px; min-height: 56px; box-sizing: border-box; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-head-controls { position: absolute; right: 12px; top: 10px; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-head-controls { right: 5px; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-head h2 { display: block; opacity: 1; visibility: visible; white-space: nowrap; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-head h2 { opacity: 0; visibility: hidden; }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-head-controls { transition: right var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-head h2 { transition: opacity var(--ds-panel-motion), visibility var(--ds-panel-motion); }

    
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs { position: relative; display: block; height: 46px; min-height: 46px; padding: 0; box-sizing: border-box; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs button { --ds-tab-index: 0; position: absolute; left: calc(var(--ds-tab-index) * 25% + 3px); top: 3px; width: calc(25% - 6px); height: 40px; min-height: 40px; padding: 0; overflow: hidden; box-sizing: border-box; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs button:nth-child(2) { --ds-tab-index: 1; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs button:nth-child(3) { --ds-tab-index: 2; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs button:nth-child(4) { --ds-tab-index: 3; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tab-icon { display: inline-block; position: absolute; left: 50%; top: 7px; transform: translateX(-50%); font-size: 17px; line-height: 1; opacity: 0; visibility: hidden; pointer-events: none; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tab-label { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font-size: 13px; line-height: 1.3; white-space: nowrap; pointer-events: none; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-tabs { height: 210px; min-height: 210px; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-tabs button { left: 0; top: calc(var(--ds-tab-index) * 54px); width: 100%; height: 48px; min-height: 48px; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-tab-icon { opacity: 1; visibility: visible; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-tab-label { top: 33px; font-size: 10px; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-body { display: grid; grid-template-rows: 1fr; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-body { grid-template-rows: 0fr; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-pane:not([hidden]) { display: block; min-height: 0; overflow: hidden; opacity: 1; visibility: visible; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-pane:not([hidden]) { padding-bottom: 0; opacity: 0; visibility: hidden; pointer-events: none; }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-tabs { transition: height var(--ds-panel-motion), min-height var(--ds-panel-motion), margin var(--ds-panel-motion), background-color var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-tabs button { transition: left var(--ds-panel-motion), top var(--ds-panel-motion), width var(--ds-panel-motion), height var(--ds-panel-motion), min-height var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-tab-icon { transition: opacity var(--ds-panel-motion), visibility var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-tab-label { transition: top var(--ds-panel-motion), font-size var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-body { transition: grid-template-rows var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-pane { transition: opacity var(--ds-panel-motion), visibility var(--ds-panel-motion), padding-bottom var(--ds-panel-motion); }
}



@media (prefers-reduced-motion: reduce) {
    .sd-home-panels [data-desktop-shell],
    .sd-home-panels [data-desktop-shell] *,
    .sd-home-panels .sd-footer,
    .sd-home-panels .sd-floating-actions { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}




@media (min-width: 1100px) {
    html.ds-theme body.sd-home-panels.sd-focused-body {
        --rd-header-h: 64px;
        --ds-header-h: 64px;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-wrap {
        width: 100% !important;
        max-width: none !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-header__bar {
        grid-template-columns: minmax(180px, 1fr) minmax(320px, 560px) minmax(180px, 1fr);
        gap: 24px;
        height: 64px;
        min-height: 64px;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        font-size: 19px;
        gap: 9px;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-search {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: 560px;
        margin: 0;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-search input {
        height: 40px;
        padding-left: 40px;
        padding-right: 42px;
        border-radius: 8px;
        font-size: 14px;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-search__icon { left: 14px; font-size: 14px; }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-search button { width: 32px; height: 32px; font-size: 14px; }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-header__tools {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-user-link {
        min-height: 38px;
        padding: 0 16px;
        font-size: 13px;
        border-radius: 8px;
    }
}

@media (min-width: 1100px) {
    html.ds-theme body.sd-home-panels > .ds-panel-nav-tooltip {
        position: fixed;
        z-index: 1100;
        max-width: calc(100vw - 88px);
        padding: 9px 13px;
        border-radius: 7px;
        background: var(--ds-navy-deep, #082a66);
        color: #fff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .16);
        font-size: 13px;
        font-weight: 650;
        line-height: 1.4;
        white-space: nowrap;
        pointer-events: auto;
    }
    html.ds-theme body.sd-home-panels > .ds-panel-nav-tooltip::before {
        content: '';
        position: absolute;
        left: -5px;
        top: calc(50% - 5px);
        width: 10px;
        height: 10px;
        background: inherit;
        transform: rotate(45deg);
    }
}
html.ds-theme body.sd-home-panels > .ds-panel-nav-tooltip[hidden] { display: none !important; }


/* Focused public content. Header, side panels and their motion keep their own layout. */
html.ds-theme body.sd-focused-body .sd-main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html.ds-theme body.sd-focused-body .ds-desktop-center {
    container-name: none;
    container-type: normal;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

html.ds-theme body.sd-focused-body .ds-focused-standalone {
    width: 100%;
    min-width: 0;
    padding: 0;
}

html.ds-theme body.sd-focused-body .ds-content-frame {
    --ds-content-max: 1280px;
    container-name: ds-home-content ds-focused-content;
    container-type: inline-size;
    display: grid;
    align-content: start;
    gap: 16px;
    box-sizing: border-box;
    width: min(100%, var(--ds-content-max)) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    transform: none;
    /* Actual sidebar rectangles drive the frame on every motion frame. */
    transition: none !important;
    animation: none !important;
}

html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind="article"] { --ds-content-max: 1040px; }
html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind="task"] { --ds-content-max: 1280px; }
html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind="form"] { --ds-content-max: 560px; }

html.ds-theme body.sd-focused-body .ds-content-frame > * { min-width: 0; }

/* A visible content surface separates the center from the surrounding page gutters. */
html.ds-theme body.sd-focused-body.sd-home-panels .ds-content-frame {
    padding: 20px;
    border: 1px solid #cbd8e8;
    border-radius: 16px;
    background: #eef3f9;
    box-shadow: 0 4px 18px rgba(18, 49, 92, .06);
}

/* Preserve the tool directory's three columns inside the newly padded surface. */
@container ds-focused-content (min-width: 860px) {
    html.ds-theme body.sd-focused-body.sd-home-panels .sd-tool-page { --sd-tool-hub-columns: 3; }
}

@media (min-width: 1100px) {
    html.ds-theme body.sd-focused-body .ds-content-frame.is-content-positioned {
        width: var(--ds-content-width) !important;
        margin-left: var(--ds-content-inset) !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 1099px) {
    html.ds-theme body.sd-focused-body .sd-main {
        width: calc(100% - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    html.ds-theme body.sd-focused-body .ds-content-frame {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 12px;
    }
    html.ds-theme body.sd-focused-body.sd-home-panels .ds-content-frame {
        padding: 12px;
        border-radius: 14px;
    }
    html.ds-theme body.sd-focused-body .ds-focused-standalone > .ds-content-frame[data-content-kind="form"] {
        width: min(100%, 560px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    html.ds-theme body.sd-focused-body .ds-content-frame :is(input, select, textarea) { font-size: 16px; }
    /* Only known viewport toasts are portalled; native dialogs keep their app scope. */
    html.ds-theme body.sd-focused-body > :is(.sd-stock-toast, .sd-news__toast, .hm-toast,
        .sd-tool-toast, .sd-investment-toast, .sd-watch-toast)[data-content-overlay] {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (max-width: 479px) {
    html.ds-theme body.sd-focused-body.sd-home-panels .ds-content-frame {
        padding: 10px;
        border-radius: 12px;
    }
}

/* Page content responds to its reading frame, independently of the screen rails. */
html.ds-theme body.sd-focused-body .ds-content-frame {
  --ds-focused-shell-width:100%;
  --ds-focused-shell-max:none;
  --ds-focused-reading-max:760px;
  --ds-focused-space:16px;
  --ds-focused-space-compact:12px;
  --ds-focused-policy-padding-start:4px;
  --ds-focused-policy-padding-end:32px;
  --ds-focused-policy-padding-compact:18px;
}
html.ds-theme body.sd-focused-body .ds-content-frame > :is(section, article, main) { min-width:0; width:var(--ds-focused-shell-width); }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-blog-page__container,.sd-news-page__container,.sd-futures__container,.sd-member-shell,.sd-investment-shell,.sd-about-page__container,.sd-privacy-page__container,.sd-terms-page__container,.sd-cookie-page__container) { width:var(--ds-focused-shell-width); max-width:var(--ds-focused-shell-max); margin-inline:0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-about-page,.sd-privacy-page,.sd-terms-page,.sd-cookie-page) { padding:var(--ds-focused-policy-padding-start) 0 var(--ds-focused-policy-padding-end); }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-about-page__container,.sd-privacy-page__container,.sd-terms-page__container,.sd-cookie-page__container) { padding-inline:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-hero__banner { min-height:0 !important; padding:20px !important; margin-bottom:16px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-hero__banner h1 { font-size:26px !important; line-height:1.35; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-stock-heading h1,.sd-stock-hero h1) { font-size:26px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-news__row,.sd-news-archive-list,.sd-insight-archive) { min-width:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news__row { padding-block:14px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news__title { font-size:15px; line-height:1.6; }

/* Lists stay readable; article side material follows the main text. */
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-news-detail__row,.sd-blog-layout--article,.sd-blog-detail-top,.sd-blog-layout--reports,.sd-v2-insight-layout) { display:grid; grid-template-columns:minmax(0,1fr) !important; gap:16px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-blog-sidebar,.sd-v2-insight-sidebar) { position:static; width:100%; min-width:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-v2-insight-toc.ds-card { position:static; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news-featured { grid-template-columns:160px minmax(0,1fr) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news-featured__quote { grid-column:1/-1; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-detail__hero { grid-template-columns:minmax(0,1fr) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-report-hero-visual { min-height:180px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-article.sd-blog-article { grid-template-columns:minmax(0,1fr) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.ds-toc,.sd-blog-rail) { position:static; width:100%; grid-column:auto; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-toc { display:flex; flex-wrap:wrap; gap:4px 12px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-toc strong { width:100%; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured { align-items:start; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent { grid-template-columns:minmax(0,1fr); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop { display:grid; grid-template-columns:76px minmax(0,1fr); gap:4px 12px; padding:10px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop :is(img,.sd-rd-report-tile) { grid-row:1/3; width:76px; height:70px; border-radius:6px; object-fit:cover; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop .ds-kicker { display:none; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop strong { font-size:14px; line-height:1.55; min-height:0; padding:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop .ds-lead { padding:0; font-size:11px; }
html.ds-theme body.sd-focused-body .ds-content-frame .hm-detail { grid-template-columns:minmax(0,1fr); }
html.ds-theme body.sd-focused-body .ds-content-frame .hm-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-fg-page { min-height:0; padding:4px 0 32px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-fg-hero { grid-template-columns:minmax(0,1fr) 300px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-fg-guide-grid { grid-template-columns:minmax(0,1fr); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures__grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures-card { min-height:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-chart-canvas-wrap { height:320px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-focused-details > summary { cursor:pointer; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-focused-details > summary::after { content:'펼치기'; margin-left:auto; color:#61738b; font-size:12px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-focused-details[open] > summary::after { content:'접기'; }

@container ds-focused-content (max-width:899px) {
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures__grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
html.ds-theme body.sd-focused-body .ds-content-frame :is(.ds-post-prose,.sd-market-insight__content) { font-size:16px; line-height:1.9; overflow-wrap:anywhere; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.ds-post-prose img,.sd-market-insight__content img) { max-width:100%; height:auto; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-blog-detail__title,.sd-market-insight__title) { font-size:26px; line-height:1.4; }

/* Stock/chart pages get the full task frame; secondary information stays below. */
html.ds-theme body.sd-focused-body .ds-content-frame .sd-stock-layout { grid-template-columns:minmax(0,1fr); gap:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-stock-secondary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-stock-secondary > .sd-stock-card { margin:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-stock-help { grid-column:1/-1; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-stage.gn-trader-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-stage__chart { grid-column:1/-1; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-quote { grid-template-columns:minmax(0,1fr) auto; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-ohlc { grid-column:1/-1; padding:9px 0 0; border-left:0; border-top:1px solid #e5edf7; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-investment-workspace { grid-template-columns:minmax(0,1fr); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-investment-aside { position:static; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-table-wrap,.sd-investment-portfolio-table,.sd-futures-table-wrap) { max-width:100%; overflow-x:auto; }
html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind=form] .sd-member-auth__wrap { width:var(--ds-focused-shell-width); max-width:var(--ds-focused-shell-max); margin:0; }
html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind=form] .sd-member-auth__panel { width:var(--ds-focused-shell-width); max-width:var(--ds-focused-shell-max); }

@container ds-focused-content (max-width:879px) {
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-stats { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-investment-layout,.sd-analysis-hero-split,.sd-watch-layout) { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-analysis-kpis,.sd-investment-status-strip,.sd-investment-watchlist,.sd-member-summary-grid) { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-cta { min-height:0 !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-hero-banner { min-height:120px !important; }
}
@container ds-focused-content (max-width:759px) {
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-fg-hero { grid-template-columns:minmax(0,1fr); }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-fg-strip,.sd-fg-factor-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-stats { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .hm-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-two-col,.sd-blog-featured,.sd-blog-featured__cards,.sd-insight-featured,.sd-v2-news-related) { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-market-insight__mini-grid { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-news-hero,.sd-blog-hero,.sd-futures-hero) { padding:16px; }
}
@container ds-focused-content (max-width:599px) {
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-chart-canvas-wrap { height:250px; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures-card > svg { display:none; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures__grid { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-summary { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-fg-factor-grid,.sd-fg-risk-links) { grid-template-columns:minmax(0,1fr); }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-stats { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-stock-results,.sd-stock-secondary,.sd-analysis-stage.gn-trader-grid,.sd-analysis-stage .gn-plan-cols,.sd-investment-field-row,.sd-investment-search,.sd-investment-tabs,.sd-member-summary-grid,.sd-investment-market-list) { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-stage__chart { grid-column:auto; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-stock-metrics,.sd-analysis-ohlc,.sd-investment-summary-grid) { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-news-featured { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-news-row,.sd-insight-card) { grid-template-columns:88px minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-stock-section-head,.sd-investment-head__actions,.sd-rd-news-date) { flex-wrap:wrap; }
  html.ds-theme body.sd-focused-body .ds-content-frame .ds-hero__banner h1 { font-size:23px; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-blog-detail__title,.sd-market-insight__title) { font-size:23px; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-about-page__card,.sd-privacy-page__card,.sd-terms-page__card,.sd-cookie-page__card) { padding:var(--ds-focused-policy-padding-compact); }
}

/* 2026-10: outer work surface and reading measure are independent. */
html.ds-theme body.sd-focused-body .ds-content-frame :is(.ds-post-prose,.sd-about-page__card,.sd-privacy-page__card,.sd-terms-page__card,.sd-cookie-page__card) { width:var(--ds-focused-shell-width); max-width:var(--ds-focused-reading-max); margin-inline:auto; box-sizing:border-box; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-about-page__card,.sd-privacy-page__card,.sd-terms-page__card,.sd-cookie-page__card) { font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-wrap { min-width:0; max-width:100%; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-page,.sd-investment-page,.sd-watch-page,.sd-search-page,.sd-rd--live-news .ds-page) { padding-top:0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-shell,.sd-investment-shell) { padding:0; border:0; background:transparent; box-shadow:none; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-page-head,.sd-investment-head,.sd-stock-heading) { margin-bottom:var(--ds-focused-space); gap:var(--ds-focused-space-compact); }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-page-head p,.sd-investment-head p,.sd-stock-heading p) { font-size:15px; line-height:1.6; margin-block:8px 0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-panel,.sd-investment-panel,.sd-watch-panel) { padding:var(--ds-focused-space); border-radius:10px; box-shadow:none; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-head-actions,.sd-member-action-row,.sd-investment-toolbar,.sd-investment-head__actions) { flex-wrap:wrap; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-muted,.sd-member-panel p,.sd-watch-panel p) { line-height:1.65; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide { margin-block:var(--ds-focused-space-compact); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide li { padding:var(--ds-focused-space-compact); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-summary { margin-block:var(--ds-focused-space-compact); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-hero { padding:16px !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-report-time { white-space:nowrap; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news:not(.sd-news--compact) .sd-news__filters { margin-top:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news:not(.sd-news--compact) .sd-news__title { font-size:17px; line-height:1.55; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news__notice { font-size:14px; line-height:1.65; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news__member-tools { margin-block:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__container,.sd-bank-overseas__container,.sd-dividend-domestic__container,.sd-dividend-overseas__container) { width:100%; max-width:none; margin:0; padding:0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__section,.sd-bank-overseas__section,.sd-dividend-domestic__section,.sd-dividend-overseas__section) { padding:16px; margin-bottom:16px; border-radius:10px; box-shadow:none; min-width:0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__nav,.sd-bank-overseas__nav,.sd-dividend-domestic__nav,.sd-dividend-overseas__nav) { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-bank-overseas__table-wrap,.sd-dividend-domestic__table-wrap,.sd-dividend-overseas__table-wrap) { max-width:100%; overflow-x:auto; margin-inline:0; border-radius:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table,.sd-bank-overseas__table,.sd-dividend-domestic__table,.sd-dividend-overseas__table) { font-size:14px; line-height:1.6; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__input,.sd-bank-overseas__input,.sd-dividend-domestic__input,.sd-dividend-overseas__input) { max-width:100%; min-width:0; min-height:44px; box-sizing:border-box; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__btn,.sd-bank-overseas__btn,.sd-dividend-domestic__btn,.sd-dividend-overseas__btn) { min-height:44px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__sim-row,.sd-bank-overseas__sim-row,.sd-dividend-domestic__sim-row,.sd-dividend-overseas__sim-row) { flex-wrap:wrap; gap:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__intro,.sd-bank-overseas__intro,.sd-dividend-domestic__intro,.sd-dividend-overseas__intro) { font-size:15px; line-height:1.65; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__result,.sd-bank-overseas__result,.sd-dividend-domestic__result,.sd-dividend-overseas__result) { max-width:100%; overflow-x:auto; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__page-title,.sd-bank-overseas__page-title,.sd-dividend-domestic__page-title,.sd-dividend-overseas__page-title) { font-size:26px; line-height:1.35; margin-bottom:12px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__sort-tabs,.sd-bank-overseas__sort-tabs,.sd-dividend-domestic__sort-tabs,.sd-dividend-overseas__sort-tabs) { display:flex; flex-wrap:wrap; gap:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__scenario-tabs,.sd-bank-overseas__scenario-tabs,.sd-dividend-domestic__scenario-tabs,.sd-dividend-overseas__scenario-tabs) { display:flex; flex-wrap:wrap; gap:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-dividend-page { padding:0; background:transparent; }

@container ds-focused-content (max-width:599px) {
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-panel,.sd-investment-panel,.sd-watch-panel) { padding:var(--ds-focused-space-compact); }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__section,.sd-bank-overseas__section,.sd-dividend-domestic__section,.sd-dividend-overseas__section) { padding:12px; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__nav,.sd-bank-overseas__nav,.sd-dividend-domestic__nav,.sd-dividend-overseas__nav) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__nav,.sd-bank-overseas__nav,.sd-dividend-domestic__nav,.sd-dividend-overseas__nav) a { text-align:center; padding:10px 6px; }
 html.ds-theme body.sd-focused-body .ds-content-frame .sd-news:not(.sd-news--compact) .sd-news__title { font-size:16px; }
 html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide li { min-width:0; padding:10px; }
}

html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:12px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-head h1 { margin:0; font-size:26px; line-height:1.35; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-head p { margin:8px 0 0; font-size:15px; line-height:1.6; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-head a { text-decoration:none; min-height:44px; padding:10px 20px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-guide { padding:12px 16px; border:1px solid #d7e3f1; border-radius:10px; background:white; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-guide summary { cursor:pointer; font-size:15px; font-weight:650; }
@container ds-focused-content (max-width:599px) {
 html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}

/* Numeric comparison tables retain column headings; only labelled stock rows use cards. */
@container ds-focused-content (max-width:599px) {
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) table { display:table; min-width:360px; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) thead { display:table-header-group; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) tbody { display:table-row-group; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) tr { display:table-row; border:0; padding:0; box-shadow:none; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) td { display:table-cell; padding:10px; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) td::before { display:none; }
}

@container ds-focused-content (max-width:599px) {
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):not(:has(td:not([data-label]))) :is(table,tbody) { display:block; width:100%; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):not(:has(td:not([data-label]))) tr { width:100%; box-sizing:border-box; }
}

html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 12px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item > :is(span,strong) { grid-column:1; min-width:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item > span { overflow-wrap:anywhere; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item > strong { white-space:normal; word-break:keep-all; overflow-wrap:normal; text-align:left; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item .sd-member-mini-btn { grid-column:2; grid-row:1 / span 2; min-width:52px; min-height:44px; white-space:nowrap; }

/* Reading and archive pages: use the available frame, keep prose readable. */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh {
  --bg-page: #f3f6fb;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-soft-blue: #eff6ff;
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --line-200: #e2e8f0;
  --line-300: #cbd5e1;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-900: #0f2557;
  --up-red: #e11d48;
  --up-bg: #fff1f2;
  --down-blue: #2563eb;
  --down-bg: #eff6ff;
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --prose-size: 16.5px;
  --reading-ink: #0f172a;
  --reading-muted: #64748b;
  --reading-line: #dbe4f0;
  --reading-gap: 16px;
  container: ds-reading-page / inline-size;
  min-width: 0;
  padding: 4px 0 28px !important;
  color: var(--ink-900);
  overflow-wrap: anywhere;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh a {
  text-decoration: none;
  color: inherit;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.ds-wrap,.sd-blog-page__container,.sd-news-page__container,.sd-market-insight__container) {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  padding-inline: 0 !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero) {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 0 12px !important;
  margin: 0 0 12px !important;
  border: 0;
  border-bottom: 1px solid var(--reading-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero)::before,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero)::after { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero) > .ds-kicker { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.ds-title,.sd-market-insight__title) {
  margin: 0;
  color: var(--reading-ink) !important;
  font-size: 26px !important;
  line-height: 1.4;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-lead {
  margin: 6px 0 0;
  color: var(--reading-muted);
  font-size: 15px !important;
  line-height: 1.7;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero) :is(h1,.ds-title,.sd-market-insight__title) {
  color: var(--reading-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero) .ds-lead {
  color: var(--reading-muted) !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-toolbar,.ds-page-head,.sd-rd-news-date) {
  gap: 8px 16px;
  margin: 0 0 16px;
  padding: 0;
  min-width: 0;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-toolbar form,.sd-rd-date-jump,.sd-rd-news-date form) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-toolbar input[type=search] {
  width: min(100%, 240px);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .txt-up { color: var(--up-red) !important; font-weight: 800; font-style: normal; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .txt-down { color: var(--down-blue) !important; font-weight: 800; font-style: normal; }

/* ==========================================================================
   BLOG / REPORT ARCHIVE (blog/index.php) - NEW HTML STRUCTURE
   ========================================================================== */

/* 1. Archive Header & KPI Stat Grid */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f172a 0%, #172554 58%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  align-items: center;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.24);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__titleRow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__title {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__count {
  font-size: 13px;
  font-weight: 800;
  color: #93c5fd;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__desc {
  margin: 0 !important;
  font-size: 13.5px !important;
  color: #cbd5e1 !important;
  line-height: 1.55 !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  min-height: 70px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  text-decoration: none !important;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard:hover,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard.is-active {
  background: rgba(37, 99, 235, 0.52);
  border-color: #60a5fa;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard__label {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 700;
  line-height: 1.35;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard__val {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  margin-top: 4px;
}

/* 2. Spotlight Grid: Left Lead Report Card + Right Top 5 Ranking Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .spotlight-Grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.98fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__visual {
  position: relative;
  background: linear-gradient(145deg, #0b1936 0%, #1d4ed8 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  min-height: 220px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__ribbon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__chartBox {
  margin: auto 0;
  padding: 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__chartTicker {
  font-size: 11.5px;
  color: #93c5fd;
  font-weight: 800;
  margin-bottom: 3px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__chartPrice {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__visualFoot {
  font-size: 11px;
  color: #e2e8f0;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .badge-Group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-Badge {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-Badge--nasdaq {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-Badge--kospi {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-Badge--world {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-Pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 23px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--ink-800);
  font-size: 11.5px;
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__title {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em;
  color: var(--ink-900) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__title a {
  color: var(--ink-900) !important;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__title a:hover {
  color: var(--brand-700) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__bullets {
  margin: 0;
  list-style: none;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__bullets li {
  position: relative;
  padding-left: 12px;
  font-size: 12.5px;
  color: var(--ink-800);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-600);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__Metrics {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .metric-Chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 11.5px;
  color: var(--ink-600);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .metric-Chip strong {
  color: var(--brand-700);
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .btn-Primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: 8px;
  background: var(--brand-600);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .btn-Primary:hover {
  background: var(--brand-700);
}

/* Right Ranking Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Card {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-200);
  margin-bottom: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Card__title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  color: var(--ink-900) !important;
  white-space: nowrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Tabs {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: #f1f5f9;
  gap: 2px;
  flex-shrink: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Tab {
  min-height: 24px !important;
  height: 24px !important;
  padding: 0 8px !important;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-600);
  white-space: nowrap;
  cursor: pointer;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Tab.is-active {
  background: #ffffff;
  color: var(--brand-700);
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-List {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  flex: 1;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-List[hidden] {
  display: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid #eef2f7;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item:hover {
  border-color: #93c5fd;
  background: var(--bg-soft-blue);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item__num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item__meta {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 700;
  white-space: nowrap;
}

/* 3. Filter & Search Toolbar */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .filter-Toolbar {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  padding: 13px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .filter-Toolbar__rowTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--line-200);
  color: var(--ink-600) !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBtn em {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-400);
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBtn.is-active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #ffffff !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBtn.is-active em {
  color: #93c5fd;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .search-AndSort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 320px;
  justify-content: flex-end;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .search-Box {
  position: relative;
  flex: 1 1 200px;
  max-width: 280px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .search-Box input {
  width: 100%;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px 0 32px !important;
  border-radius: 8px !important;
  border: 1px solid var(--line-300) !important;
  background: #f8fafc !important;
  font-size: 12.5px !important;
  color: var(--ink-900);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .search-Box svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-400);
  pointer-events: none;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sort-Group {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sort-Btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 9px !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-600) !important;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sort-Btn.is-active {
  background: #ffffff;
  color: var(--brand-700) !important;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .view-Toggle {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .view-ToggleBtn {
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 9px !important;
  border: 0;
  background: transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .view-ToggleBtn.is-active {
  background: #ffffff;
  color: var(--ink-900);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .filter-Toolbar__rowBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid #eef2f7;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-QuickList {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-QuickList__label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-500);
  margin-right: 3px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-Chip {
  height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line-200);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-600) !important;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-Chip:hover,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-Chip.is-active {
  border-color: #93c5fd;
  color: var(--brand-700) !important;
  background: var(--bg-soft-blue);
  font-weight: 800;
}

/* 4. Report Archive Card Grid (Equal-Height 2-Column Bento & 1-Column List Mode) */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Grid.is-list-mode {
  grid-template-columns: minmax(0, 1fr);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #d5e0ee;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow: var(--shadow-md);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__linkWrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 16px 18px;
  gap: 10px;
  text-decoration: none !important;
  color: inherit !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__time {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-500);
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 12px;
  align-items: start;
  flex: 1;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__title {
  margin: 0 0 6px !important;
  font-size: 16.5px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em;
  color: var(--ink-900) !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card:hover .report-Card__title {
  color: var(--brand-700) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__summary {
  margin: 0 !important;
  font-size: 13px !important;
  color: var(--ink-600) !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb {
  width: 108px;
  height: 82px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border: 1px solid var(--line-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
  flex-shrink: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb strong {
  font-size: 12px;
  font-weight: 900;
  color: #93c5fd;
  padding: 0 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb span {
  font-size: 10.5px;
  color: #e2e8f0;
  margin-top: 2px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid #eef2f7;
  margin-top: auto;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-500);
}


/* ==========================================================================
   POST DETAIL PAGE (post.php) - NEW HTML STRUCTURE
   ========================================================================== */

html.ds-theme body .sd-reading-refresh.sd-reading-refresh .breadcrumb-Bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-500);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .breadcrumb-Bar__links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .breadcrumb-Bar__links a {
  color: var(--ink-600) !important;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .breadcrumb-Bar__links a:hover {
  color: var(--brand-700) !important;
}

/* Article Header Card + Target Stock Snapshot Strip */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 16px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__top {
  padding: 20px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__title {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.36 !important;
  letter-spacing: -0.025em;
  color: var(--ink-900) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__subtitle {
  margin: 0 !important;
  font-size: 14.5px !important;
  color: var(--ink-600) !important;
  line-height: 1.6 !important;
  font-weight: 600;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__metaRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-MetaList {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-Actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .btn-Tool {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 10px !important;
  border-radius: 7px;
  border: 1px solid var(--line-300);
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-800) !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .btn-Tool:hover {
  border-color: var(--brand-600);
  color: var(--brand-700) !important;
  background: var(--bg-soft-blue);
}

/* Integrated Stock Snapshot Strip */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip {
  background: linear-gradient(90deg, #f8fafc 0%, #eff6ff 100%);
  border-top: 1px solid #dbeafe;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-Avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-900);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__name strong {
  display: block;
  font-size: 14.5px;
  font-weight: 900;
  color: var(--ink-900);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__name span {
  font-size: 11.5px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .snapshot-Metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .snapshot-Metric span {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .snapshot-Metric strong {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--ink-900);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 2-Column Asymmetric Article Workspace */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-Workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 16px;
  align-items: start;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-MainCol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* 3-Line Executive Summary Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #93c5fd;
  border-left: 4px solid var(--brand-600);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__title {
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #1e3a8a !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 14px;
  color: var(--ink-800);
  line-height: 1.58;
  font-weight: 600;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand-600);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Article Body Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-BodyCard {
  border-radius: var(--radius-xl) !important;
  background: var(--bg-surface) !important;
  border: 1px solid #cbd5e1 !important;
  padding: 24px 26px !important;
  box-shadow: var(--shadow-sm) !important;
  font-size: var(--prose-size);
  line-height: 1.84;
  color: var(--ink-800);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-BodyCard .ds-post-prose {
  max-width: none !important;
  font-size: var(--prose-size) !important;
  line-height: 1.84 !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .prose-Heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px !important;
  font-weight: 900 !important;
  color: var(--ink-900) !important;
  margin: 26px 0 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid var(--line-200) !important;
  scroll-margin-top: 84px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .prose-Heading__num {
  padding: 2px 8px;
  border-radius: 6px;
  background: #0f172a;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 900;
}

/* Sources Box */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-600) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox__list a:hover {
  text-decoration: underline !important;
}

/* Reader Vote Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-FeedbackCard {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-FeedbackCard__copy strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink-900);
  margin-bottom: 2px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-FeedbackCard__copy span {
  font-size: 12.5px;
  color: var(--ink-500);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .vote-BtnGroup {
  display: flex;
  gap: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .vote-PillBtn {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 999px;
  border: 1px solid var(--line-300);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .vote-PillBtn:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
  background: var(--bg-soft-blue);
}

/* Sticky Right Sidebar Rail */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-StickyRail {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-Widget {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  padding: 15px 16px;
  box-shadow: var(--shadow-sm);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-Widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-Widget__title {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  color: var(--ink-900) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-List {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-Link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-600) !important;
  background: #f8fafc;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-Link.is-active,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-Link:hover {
  background: var(--bg-soft-blue);
  color: var(--brand-700) !important;
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-Link__num {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedItem {
  display: block;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedItem:hover {
  border-color: #93c5fd;
  background: var(--bg-soft-blue);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedItem strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.42;
  margin-bottom: 3px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedItem span {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockItem:hover {
  border-color: #93c5fd;
  background: var(--bg-soft-blue);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockItem strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-900);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockItem small {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-ToolLinks {
  display: grid;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-ToolBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-800) !important;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-ToolBtn:hover {
  border-color: var(--brand-600);
  color: var(--brand-700) !important;
  background: var(--bg-soft-blue);
}


/* ==========================================================================
   DATE-BASED NEWS & INSIGHT ARCHIVE RULES (PRESERVED)
   ========================================================================== */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row,.sd-insight-card,.sd-insight-featured,.sd-news-featured) {
  display: grid; grid-template-columns: minmax(0,1fr) !important; min-width: 0; gap: 8px;
  padding: 14px 0 !important; border: 0; border-bottom: 1px solid var(--reading-line);
  border-radius: 0; background: transparent; box-shadow: none;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row,.sd-insight-card,.sd-insight-featured,.sd-news-featured) > :is(.ds-thumb,.sd-insight-card__thumb) { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row strong,.sd-insight-card strong,.sd-insight-featured__title,.sd-news-featured strong) { color: var(--reading-ink); font-size: 17px !important; line-height: 1.6; -webkit-line-clamp: unset; overflow: visible; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row p,.sd-insight-card p,.sd-insight-featured p,.sd-news-featured p) { color: var(--reading-muted); font-size: 15px !important; line-height: 1.75; margin: 6px 0; -webkit-line-clamp: unset; overflow: visible; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row time,.sd-insight-card time) { color: var(--reading-muted); font-size: 13px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-section-heading,.sd-news-detail__section-head) { margin: 16px 0 8px; padding: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-section-heading .ds-kicker { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-section-heading h2,.sd-news-detail__section-head h2) { font-size: 19px; line-height: 1.5; margin: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-insight-cards { grid-template-columns: minmax(0,1fr); gap: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; padding: 8px 0; background: transparent; border: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__label { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__days { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__day { display: inline-flex; align-items: center; gap: 5px; width: auto; min-height: 38px; padding: 6px 9px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__day strong { font-size: 16px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__day span { font-size: 13px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-date-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; align-items: center; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-reading-archive-extra { margin: 20px 0 0; border-top: 1px solid var(--reading-line); padding-top: 8px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-reading-archive-extra > summary { padding: 8px 0; font-size: 15px; cursor: pointer; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-hero .ds-lead { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-news-date h2 { font-size: 21px; margin: 0; line-height: 1.5; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-news-date :is(p,.ds-kicker) { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-totals { gap: 8px 16px; padding: 10px 0; margin: 0 0 8px; background: transparent; border: 0; font-size: 14px; flex-wrap: wrap; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-detail__row { display: grid; grid-template-columns: minmax(0,1fr) !important; gap: 20px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card { display: block !important; padding: 16px 0 !important; margin: 0; border: 0; border-bottom: 1px solid var(--reading-line); border-radius: 0; box-shadow: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card > .ds-thumb { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card__title,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card__title a { font-size: 17px !important; line-height: 1.6 !important; margin: 8px 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card__body { color: var(--reading-ink); font-size: 15px !important; line-height: 1.8 !important; margin: 8px 0 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-detail__quote { margin: 20px 0; padding: 16px !important; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-detail__quote-text { font-size: 16px; line-height: 1.8; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-insight-layout { display: grid; grid-template-columns: minmax(0,1fr) !important; gap: 20px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-market-insight__summary-card,.sd-market-insight__movers,.sd-market-insight__watch,.sd-market-insight__risk-box) { padding: 16px !important; margin-top: 16px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__block-title { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-market-insight__summary,.sd-market-insight__mini-card p,.sd-market-insight__watch li,.sd-market-insight__risk) { font-size: 16px; line-height: 1.8; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mini-grid { display: grid; grid-template-columns: minmax(0,1fr) !important; gap: 12px; margin-top: 16px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mini-card { padding: 16px; min-width: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mini-card h4 { font-size: 18px; margin: 0 0 8px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mover-item { padding: 12px 0; gap: 8px; flex-wrap: wrap; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mover-main { min-width: 0; flex-wrap: wrap; gap: 8px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mover-main strong { font-size: 16px; overflow-wrap: anywhere; }

@container ds-reading-page (min-width: 720px) {
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-detail__row { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 24px; }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mini-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

@container ds-reading-page (max-width: 780px) {
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .spotlight-Grid,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-Workspace {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-StickyRail {
    position: static;
  }
}

@media (max-width: 767px) {
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 16px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__title {
    font-size: 20px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .spotlight-Grid,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Grid,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-Workspace {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__visual {
    min-height: 150px;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__main {
    grid-template-columns: minmax(0, 1fr) 88px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb {
    width: 88px !important;
    height: 72px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__top,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-BodyCard {
    padding: 16px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__title {
    font-size: 20px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-toolbar,.sd-rd-news-date) { align-items: flex-start; }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-toolbar form { width: 100%; }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-toolbar input[type=search] { flex: 1; width: 0; }
}

/* Public mobile header. Load after the shared and page styles. */
html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-head,
html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-account,
html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-home,
html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts,
html.ds-theme body .sd-header.ds-header.navbar .ds-search-close,
html.ds-theme body .sd-header.ds-header.navbar .ds-nav-icon,
html.ds-theme body .sd-header.ds-header.navbar .ds-header-backdrop {
    display: none;
}

@media (max-width: 1099px) {
    html.ds-theme body,
    html.ds-theme body.sd-rd {
        --ds-mobile-safe-top: env(safe-area-inset-top, 0px);
        --ds-mobile-header-h: calc(60px + var(--ds-mobile-safe-top));
        --ds-header-h: var(--ds-mobile-header-h);
        --rd-header-h: var(--ds-mobile-header-h);
    }

    html.ds-theme body .sd-header.ds-header.navbar {
        height: var(--ds-mobile-header-h);
        min-height: var(--ds-mobile-header-h);
        max-height: var(--ds-mobile-header-h);
        padding: var(--ds-mobile-safe-top) 0 0 !important;
        box-sizing: border-box;
        overflow: visible !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: inset 0 -1px 0 #dce5ef !important;
        backdrop-filter: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-wrap {
        width: 100% !important;
        max-width: none !important;
        padding: 0 12px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-header__bar {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px;
        height: 60px;
        min-height: 60px;
        position: static;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        min-width: 0;
        gap: 7px;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: -.04em;
        white-space: nowrap;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-logo span {
        flex: 0 0 18px;
        width: 18px;
        height: 22px;
        border-radius: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath fill='%232564d5' d='M1 13h4v8H1zM7 7h4v14H7zM13 1h4v20h-4z'/%3E%3C/svg%3E") center / 18px 22px no-repeat;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-header__tools {
        display: flex;
        grid-column: 3;
        grid-row: 1;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        gap: 6px;
        min-width: 0;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-icon-btn,
    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        height: 44px;
        border-radius: 8px;
        border: 1px solid transparent;
        font-size: 14px;
        line-height: 1;
        box-sizing: border-box;
        color: #18345c !important;
        background: transparent;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-icon-btn {
        flex: 0 0 44px;
        width: 44px;
        padding: 0;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-icon-btn i {
        font-size: 22px;
        line-height: 1;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-search-toggle {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-menu-toggle {
        display: inline-flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-header-watch {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="guest"],
    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="admin"] {
        min-width: 60px;
        padding: 0 10px;
        background: #edf3ff;
        color: #16498f !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="guest"] span {
        display: inline;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="guest"] i {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="member"] {
        flex: 0 0 44px;
        width: 44px;
        padding: 0;
        background: #edf3ff;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="member"] span {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="member"] i {
        font-size: 22px;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted,
    html.ds-theme body .sd-header.ds-header.navbar.is-nav-open,
    html.ds-theme body .sd-header.ds-header.navbar.is-search-open {
        z-index: 1080;
    }

    html.ds-theme body .sd-header.ds-header.navbar > .ds-header-backdrop {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        appearance: none;
        background: rgba(18, 35, 59, .42);
        opacity: 0;
        transition: opacity 220ms ease-out;
        z-index: 30;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted > .ds-header-backdrop:not([hidden]),
    html.ds-theme body .sd-header.ds-header.navbar.is-search-open > .ds-header-backdrop:not([hidden]) {
        display: block;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-open > .ds-header-backdrop:not([hidden]),
    html.ds-theme body .sd-header.ds-header.navbar.is-search-open > .ds-header-backdrop:not([hidden]) {
        opacity: 1;
    }

    html.ds-theme body .sd-header.ds-header.navbar > .ds-header-backdrop[hidden] {
        display: none !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted .ds-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        position: fixed;
        inset: 0 auto 0 0;
        width: min(336px, calc(100vw - 48px));
        max-width: calc(100vw - 48px);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        box-sizing: border-box;
        margin: 0;
        padding: max(12px, env(safe-area-inset-top, 0px)) 12px calc(16px + env(safe-area-inset-bottom, 0px));
        gap: 2px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        border: 0;
        border-radius: 0 12px 12px 0;
        background: #fff;
        box-shadow: 8px 0 36px rgba(18, 35, 59, .18);
        transform: translateX(-100%);
        transition: transform 260ms cubic-bezier(.22, 1, .36, 1);
        will-change: transform;
        z-index: 40;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted.is-nav-open .ds-nav {
        transform: translateX(0);
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav::-webkit-scrollbar {
        display: block;
        width: 6px;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav::-webkit-scrollbar-thumb {
        background: #b9c8da;
        border-radius: 6px;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 auto;
        gap: 8px;
        padding: 0 0 8px 8px;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-head strong {
        font-size: 18px;
        font-weight: 750;
        line-height: 1.4;
        color: #182b49;
    }

    html.ds-theme body .sd-header.ds-header.navbar [data-ds-nav-close] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: #f1f5fa;
        color: #18345c;
        font-size: 20px;
        line-height: 1;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav > a,
    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts > a {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: 10px;
        min-height: 44px;
        width: 100%;
        padding: 10px 12px;
        margin: 0;
        border-radius: 8px;
        color: #293e5e !important;
        font-size: 15px;
        font-weight: 650;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: keep-all;
        max-height: none;
        overflow: visible;
        text-decoration: none !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav a i {
        display: inline-block;
        flex: 0 0 20px;
        width: 20px;
        font-size: 19px;
        line-height: 1;
        text-align: center;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav-label {
        min-width: 0;
        line-height: 1.5;
        word-break: keep-all;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav > a:hover,
    html.ds-theme body .sd-header.ds-header.navbar .ds-nav > a.is-active,
    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts > a:hover {
        background: #edf3ff;
        color: #1764c7 !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-account {
        display: flex;
        flex: 0 0 auto;
        gap: 8px;
        padding: 10px 0 12px;
        margin-bottom: 6px;
        border-top: 1px solid #e2e9f2;
        border-bottom: 1px solid #e2e9f2;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-account > a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        gap: 6px;
        min-width: 0;
        min-height: 44px;
        padding: 8px;
        border: 1px solid #dce5ef;
        border-radius: 8px;
        background: #f6f9fd;
        font-size: 14px;
        font-weight: 650;
        color: #18345c !important;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
        text-decoration: none !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts {
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        gap: 2px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e2e9f2;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts > strong {
        padding: 0 12px 4px;
        font-size: 13px;
        line-height: 1.5;
        color: #52647c;
        font-weight: 650;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-search-open #sdHeaderSearch.ds-search {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px 44px;
        align-items: start;
        gap: 8px;
        position: fixed;
        top: var(--ds-mobile-header-h);
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        min-width: 0;
        max-height: calc(100vh - var(--ds-mobile-header-h));
        max-height: calc(100dvh - var(--ds-mobile-header-h));
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 0;
        border-radius: 0 0 12px 12px;
        background: #fff;
        box-shadow: 0 10px 32px rgba(18, 35, 59, .16);
        z-index: 40;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > input {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        height: 44px;
        padding: 0 10px 0 36px;
        border: 1px solid #cdd9e7;
        border-radius: 8px;
        background: #f8faff;
        color: #182b49;
        font-size: 16px;
        line-height: 1.5;
        box-sizing: border-box;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > .ds-search__icon {
        position: absolute;
        top: 34px;
        left: 24px;
        width: 18px;
        transform: translateY(-50%);
        color: #63799a;
        font-size: 16px;
        line-height: 1;
        pointer-events: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: static;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        grid-row: 1;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        margin: 0;
        font-size: 18px;
        line-height: 1;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > button[type="submit"] {
        grid-column: 2;
        background: #1e5fce;
        color: #fff;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > [data-ds-search-close] {
        grid-column: 3;
        background: #f1f5fa;
        color: #18345c;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__panel {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-height: min(420px, calc(100dvh - var(--ds-mobile-header-h) - 92px));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        border: 1px solid #dce5ef;
        border-radius: 8px;
        background: #fff;
        box-shadow: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__suggestions {
        max-height: none;
        overflow: visible;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__panel .ds-chip {
        max-width: 100%;
        min-height: 44px;
        padding: 8px 12px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: keep-all;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__option {
        min-height: 44px;
        padding: 10px 8px;
        gap: 8px;
        font-size: 14px;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__option span,
    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__panel small {
        font-size: 12px;
        line-height: 1.5;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__status,
    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__all {
        padding: 10px 8px;
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    html.ds-theme body.is-header-overlay-open {
        overscroll-behavior: none;
    }

    html.ds-theme body.sd-home-panels .ds-mobile-bottom-nav span {
        font-size: 12px;
        line-height: 1.4;
        white-space: nowrap;
    }

    html.ds-theme body .sd-header.ds-header.navbar a:focus-visible,
    html.ds-theme body .sd-header.ds-header.navbar button:focus-visible,
    html.ds-theme body .sd-header.ds-header.navbar input:focus-visible {
        outline: 3px solid #94b7fa;
        outline-offset: 2px;
    }
}

@media (max-width: 1099px) and (prefers-reduced-motion: reduce) {
    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted .ds-nav,
    html.ds-theme body .sd-header.ds-header.navbar > .ds-header-backdrop {
        transition: none;
    }
}

