/**
 * Shanghai Shipping Exchange — Freight Indices section (new design)
 * Scope: body.sse-indices only — does not modify legacy allen.css / indices_list.css
 */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-regular.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-medium.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/dm-sans-semibold.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-bold.ttf") format("truetype");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-regular.ttf") format("truetype");
}

:root {
  --sse-navy: #0b1f3a;
  --sse-navy-mid: #12325c;
  --sse-ocean: #1a5f8a;
  --sse-teal: #2a8f8f;
  --sse-gold: #c4a052;
  --sse-gold-soft: #e8d5a3;
  --sse-bg: #eef3f8;
  --sse-surface: #ffffff;
  --sse-surface-alt: #f7fafc;
  --sse-border: #d4dee8;
  --sse-text: #1a2d42;
  --sse-text-muted: #5c7086;
  --sse-link: #1a5f8a;
  --sse-link-hover: #0e4568;
  --sse-accent: #e67e22;
  --sse-radius: 6px;
  --sse-shadow: 0 2px 12px rgba(11, 31, 58, 0.08);
  --sse-shadow-lg: 0 8px 28px rgba(11, 31, 58, 0.12);
  --sse-font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --sse-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sse-width: 1200px;
  --sse-sidebar-width: 248px;
  --sse-main-gap: 16px;
}

/* ── Base ── */
body.sse-indices {
  width: var(--sse-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 24px;
  box-sizing: border-box;
  font: 13px/1.65 var(--sse-font);
  color: var(--sse-text);
  background: var(--sse-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(26, 95, 138, 0.14), transparent 55%),
    linear-gradient(180deg, #e4edf5 0%, var(--sse-bg) 120px);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

body.sse-indices::after {
  content: "";
  display: table;
  clear: both;
  width: 100%;
}

body.sse-indices a:link,
body.sse-indices a:visited {
  color: var(--sse-link);
  text-decoration: none;
  transition: color 0.15s ease;
}

body.sse-indices a:hover {
  color: var(--sse-link-hover);
  text-decoration: underline;
}

body.sse-indices table {
  border-collapse: collapse;
}

/* ── Header banner ── */
body.sse-indices #logo {
  width: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, var(--sse-navy) 0%, var(--sse-navy-mid) 42%, var(--sse-ocean) 100%);
  box-shadow: var(--sse-shadow-lg);
  position: relative;
  overflow: hidden;
}

body.sse-indices #logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(196, 160, 82, 0.06) 50%, transparent 100%),
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.025) 18px,
      rgba(255, 255, 255, 0.025) 19px
    );
  pointer-events: none;
}

body.sse-indices .sse-indices-banner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
  padding: 36px 40px 32px;
  box-sizing: border-box;
}

body.sse-indices .sse-indices-banner__title {
  margin: 0;
  font-family: var(--sse-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.sse-indices .sse-indices-banner__subtitle {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sse-gold-soft);
}

/* ── Top navigation ── */
body.sse-indices #menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  min-height: 44px;
  padding: 8px 14px;
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--sse-navy-mid) 0%, var(--sse-navy) 100%);
  border-bottom: 3px solid var(--sse-gold);
  box-shadow: var(--sse-shadow);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

body.sse-indices #menu.whitezi,
body.sse-indices #menu a {
  color: #f0f4f8 !important;
}

body.sse-indices #menu a {
  padding: 6px 14px;
  border-radius: 4px;
  line-height: 1.4;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

body.sse-indices #menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sse-gold-soft) !important;
  text-decoration: none !important;
}

body.sse-indices #menu .sse-menu-logo {
  padding: 0;
}

body.sse-indices #menu .sse-menu-logo:hover {
  background: transparent;
}

body.sse-indices #menu .sse-menu-logo img {
  vertical-align: middle;
  border-radius: 3px;
}

/* ── Main: sidebar + content ── */
body.sse-indices .sse-indices-main {
  display: flex;
  align-items: flex-start;
  gap: var(--sse-main-gap);
  width: 100%;
  margin-top: var(--sse-main-gap);
  clear: both;
}

body.sse-indices .sse-indices-sidebar {
  flex: 0 0 var(--sse-sidebar-width);
  width: var(--sse-sidebar-width);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.sse-indices .sse-indices-sidebar-menu {
  background: var(--sse-surface);
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  box-shadow: var(--sse-shadow);
  overflow: hidden;
}

/* Sidebar panelists iframe card (legacy mtitlb + new sidebar-menu h4) */
body.sse-indices .sse-indices-sidebar-menu h4,
body.sse-indices .sse-indices-sidebar h4,
body.sse-indices .sse-indices-sidebar .mtitlb {
  margin: 0;
  padding: 14px 16px;
  font-family: var(--sse-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, var(--sse-navy-mid), var(--sse-ocean));
  border-bottom: 2px solid var(--sse-gold);
}

body.sse-indices .sse-indices-sidebar .mtitlb::before {
  content: "Panelists";
}

body.sse-indices .sse-indices-panelists-body,
body.sse-indices .sse-indices-sidebar .m_b,
body.sse-indices .sse-indices-sidebar .m_b02 {
  float: none;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 8px 10px 12px;
  text-align: center;
  background: var(--sse-surface);
  border: none;
  box-sizing: border-box;
}

body.sse-indices .sse-indices-panelists-frame,
body.sse-indices .sse-indices-sidebar .m_b02 > div:first-child {
  width: 110px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

body.sse-indices .sse-indices-panelists-frame iframe,
body.sse-indices .sse-indices-sidebar .m_b iframe {
  display: block;
  width: 110px;
  max-width: 100%;
  margin: 0 auto;
  border: none;
}

body.sse-indices .sse-indices-sidebar .m_d {
  display: none;
}

body.sse-indices .sse-indices-sidebar .more_m,
body.sse-indices .sse-indices-panelists-body .more_m {
  padding: 8px 0 4px;
  line-height: 1.4;
  font-size: 12px;
  text-align: center;
}

body.sse-indices .sse-indices-sidebar .more_m a,
body.sse-indices .sse-indices-panelists-body .more_m a {
  font-weight: 600;
  color: var(--sse-ocean) !important;
  text-decoration: none !important;
}

body.sse-indices .sse-indices-sidebar .more_m a:hover,
body.sse-indices .sse-indices-panelists-body .more_m a:hover {
  color: var(--sse-link-hover) !important;
  text-decoration: underline !important;
}

body.sse-indices .sse-indices-sidebar-menu .nav,
body.sse-indices .sse-indices-sidebar .nav {
  margin: 0;
  padding: 8px 0 12px;
  list-style: none;
}

body.sse-indices .sse-indices-sidebar-menu .nav > li,
body.sse-indices .sse-indices-sidebar .nav > li {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  font-size: 13px;
}

body.sse-indices .sse-indices-sidebar-menu .nav > li:not(:has(a)),
body.sse-indices .sse-indices-sidebar .nav > li:not(:has(a)) {
  padding: 10px 16px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sse-text-muted);
}

body.sse-indices .sse-indices-sidebar-menu .nav > li a,
body.sse-indices .sse-indices-sidebar .nav > li a {
  display: block;
  padding: 8px 16px 8px 28px;
  color: var(--sse-text);
  text-decoration: none !important;
  border: none;
  margin: 0;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6' viewBox='0 0 6 6'%3E%3Ccircle cx='3' cy='3' r='2' fill='%231a5f8a'/%3E%3C/svg%3E") no-repeat 14px 13px;
}

body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="cbcfi"],
body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="cbofi"],
body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="cbgfi"],
body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="gcspi_ca"],
body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="gcspi_port"],
body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="gcspi_main"],
body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="brtvi"],
body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="brcvi"],
body.sse-indices .sse-indices-sidebar-menu .nav > li a[href*="srfinew"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="cbcfi"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="cbofi"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="cbgfi"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="gcspi_ca"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="gcspi_port"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="gcspi_main"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="brtvi"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="brcvi"],
body.sse-indices .sse-indices-sidebar .nav > li a[href*="srfinew"] {
  padding-left: 40px;
  background-position: 26px 13px;
  font-size: 12px;
}

body.sse-indices .sse-indices-sidebar-menu .nav > li a:hover,
body.sse-indices .sse-indices-sidebar .nav > li a:hover {
  background-color: var(--sse-surface-alt);
  color: var(--sse-ocean);
  text-decoration: none !important;
}

body.sse-indices .sse-indices-sidebar-menu .nav > li.active a,
body.sse-indices .sse-indices-sidebar .nav > li.active a {
  font-weight: 600;
  color: var(--sse-navy);
  background-color: rgba(26, 95, 138, 0.08);
  border-left-color: var(--sse-gold);
}

body.sse-indices .sse-indices-sidebar-menu .icon-chevron-right,
body.sse-indices .sse-indices-sidebar .icon-chevron-right {
  display: none;
}

/* ── Content panel ── */
body.sse-indices .sse-indices-content {
  flex: 1;
  min-width: 0;
  padding: 20px 24px 24px;
  box-sizing: border-box;
  background: var(--sse-surface);
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  box-shadow: var(--sse-shadow);
  overflow: hidden;
}

body.sse-indices .sse-indices-content::after {
  content: "";
  display: table;
  clear: both;
}

/* ── Login widget (sidebar, like homepage) ── */
body.sse-indices .sse-indices-sidebar .login01 {
  float: none;
  width: 100%;
  margin: 0;
  padding: 14px 12px 16px;
  box-sizing: border-box;
  background: var(--sse-surface);
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  box-shadow: var(--sse-shadow);
  font-size: 12px;
}

body.sse-indices .login01 {
  font-size: 12px;
}

body.sse-indices .login01 table {
  width: 100%;
}

body.sse-indices .login01 td {
  padding: 3px 0;
  vertical-align: middle;
}

body.sse-indices .sse-indices-sidebar .login01 .input2 {
  max-width: 100%;
}

body.sse-indices .login01 .input2 {
  width: 100%;
  max-width: 130px;
  padding: 4px 8px;
  border: 1px solid var(--sse-border);
  border-radius: 4px;
  font: 12px var(--sse-font);
  box-sizing: border-box;
}

body.sse-indices .login01 .input3,
body.sse-indices .login01 #indexCHK {
  width: 45px;
  max-width: 45px;
  min-width: 0;
  padding-left: 4px;
  padding-right: 4px;
  vertical-align: middle;
}

body.sse-indices .login01 tr:has(#indexCHK) td:last-child {
  white-space: nowrap;
}

body.sse-indices .login01 tr:has(#indexCHK) td:last-child a {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}


/* ── Index toolbar tabs & buttons ── */
body.sse-indices .indsea_back {
  margin: 0 0 16px;
  padding: 0;
  background: none;
}

body.sse-indices .sse-indices-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  overflow: hidden;
  background: var(--sse-surface-alt);
}

body.sse-indices .sse-indices-tabs__item {
  display: inline-block;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sse-ocean);
  text-decoration: none !important;
  background: var(--sse-surface);
  border-right: 1px solid var(--sse-border);
  transition: background 0.15s ease, color 0.15s ease;
}

body.sse-indices .sse-indices-tabs__item:last-child {
  border-right: none;
}

body.sse-indices a.sse-indices-tabs__item:hover {
  color: var(--sse-navy);
  background: var(--sse-surface-alt);
  text-decoration: none !important;
}

body.sse-indices .sse-indices-tabs__item--active {
  color: #fff;
  background: linear-gradient(180deg, var(--sse-ocean) 0%, var(--sse-navy-mid) 100%);
  cursor: default;
}

body.sse-indices .sse-indices-btn {
  display: inline-block;
  min-width: 88px;
  height: 32px;
  padding: 0 18px;
  border: none;
  border-radius: 4px;
  font: 600 13px/32px var(--sse-font);
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

body.sse-indices .sse-indices-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--sse-ocean) 0%, var(--sse-navy-mid) 100%);
  box-shadow: 0 2px 6px rgba(11, 31, 58, 0.15);
}

body.sse-indices .sse-indices-btn--primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

body.sse-indices .sse-indices-btn--secondary {
  color: var(--sse-navy);
  background: linear-gradient(180deg, #fff 0%, var(--sse-surface-alt) 100%);
  border: 1px solid var(--sse-border);
  line-height: 30px;
}

body.sse-indices .sse-indices-btn--secondary:hover {
  border-color: var(--sse-ocean);
  color: var(--sse-ocean);
}

body.sse-indices .sse-indices-btn--outline {
  color: var(--sse-ocean);
  background: transparent;
  border: 1px solid var(--sse-ocean);
  line-height: 30px;
}

body.sse-indices .sse-indices-btn--outline:hover {
  color: #fff;
  background: var(--sse-ocean);
}

body.sse-indices .sse-indices-btn:active {
  transform: translateY(0);
}

body.sse-indices .sse-indices-sidebar .login01 .sse-indices-btn {
  display: block;
  width: 100%;
  max-width: none;
  margin: 6px auto 0;
}

body.sse-indices #fSelLine .sse-indices-btn,
body.sse-indices .ind_adsea .sse-indices-btn {
  margin: 4px 6px 4px 0;
}

body.sse-indices #fSelLine td[align="center"] .sse-indices-btn {
  margin: 8px 6px;
}

body.sse-indices #divIndexDate,
body.sse-indices .indsea_y.indsea_d,
body.sse-indices .ind_adsea {
  margin: 0 0 16px;
  padding: 16px 20px;
  background: var(--sse-surface-alt);
  border: 1px solid var(--sse-border);
  border-left: 4px solid var(--sse-ocean);
  border-radius: var(--sse-radius);
}

body.sse-indices .seatitl {
  font-weight: 600;
  color: var(--sse-navy);
}

body.sse-indices .seainput {
  padding: 6px 10px;
  border: 1px solid var(--sse-border);
  border-radius: 4px;
  font: 13px var(--sse-font);
}

body.sse-indices .sse-date-field .sse-date-input {
  min-width: 120px;
  padding: 5px 10px;
  color: var(--sse-text);
  background: var(--sse-surface);
}

body.sse-indices .sse-date-field .sse-date-input:focus {
  outline: none;
  border-color: var(--sse-ocean);
  box-shadow: 0 0 0 2px rgba(26, 95, 138, 0.15);
}

/* ── Index data tables ── */
body.sse-indices table.indiceslist,
body.sse-indices .indiceslist {
  width: 100%;
  max-width: 100%;
  margin: 12px 0 16px;
  float: none;
  display: table;
  background: var(--sse-surface);
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  overflow: hidden;
  box-shadow: var(--sse-shadow);
}

body.sse-indices .indiceslist .listtitle {
  padding: 14px 16px;
  font-family: var(--sse-serif);
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, var(--sse-navy-mid), var(--sse-ocean));
  border: none;
  height: auto;
  width: auto;
  text-indent: 0;
}

body.sse-indices .indiceslist .list_head {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  background: var(--sse-teal);
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: auto;
}

body.sse-indices .indiceslist .list_right {
  padding: 8px 12px;
  font-size: 12px;
  text-align: left;
  text-indent: 0;
  background: var(--sse-surface-alt);
  border: 1px solid var(--sse-border);
  height: auto;
}

body.sse-indices .indiceslist .ind_td {
  padding: 8px 10px;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid var(--sse-border);
  height: auto;
}

body.sse-indices .indiceslist .list_bottom {
  padding: 10px 16px;
  font-size: 12px;
  text-align: left;
  background: var(--sse-surface-alt);
  border-top: 1px solid var(--sse-border);
  height: auto;
  width: auto;
}

body.sse-indices .indiceslist .list_memo,
body.sse-indices .indiceslist .list_info {
  padding: 8px 12px;
  font-size: 12px;
  border: 1px solid var(--sse-border);
  background: #fff;
}

body.sse-indices .STYLE1 {
  font-weight: 600;
  color: var(--sse-accent);
}

body.sse-indices .idx1,
body.sse-indices .idx2,
body.sse-indices .idx3,
body.sse-indices .idx4,
body.sse-indices .idx5 {
  font-weight: 600;
  color: var(--sse-ocean);
}

body.sse-indices .list_head .idx1,
body.sse-indices .list_right .idx1 {
  color: var(--sse-text);
}

/* ── Index chart image ── */
body.sse-indices .indicesimg,
body.sse-indices .mdir15.indicesimg {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 0;
  text-align: center;
}

body.sse-indices .indicesimg img {
  max-width: 100%;
  height: auto;
  border-radius: var(--sse-radius);
  border: 1px solid var(--sse-border);
}

/* ── Introduction pages ── */
body.sse-indices .intrb01 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  font-family: var(--sse-serif);
  font-size: 26px;
  color: var(--sse-navy);
  border-bottom: 2px solid var(--sse-gold);
}

body.sse-indices .intrb {
  margin: 0;
  padding: 0;
}

body.sse-indices .abouttitl .nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

body.sse-indices .abouttitl .nav li {
  margin: 0;
  padding: 0;
}

body.sse-indices a.intronav {
  display: inline-block;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sse-ocean) !important;
  text-decoration: none !important;
  background: var(--sse-surface-alt);
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  transition: background 0.15s ease, color 0.15s ease;
}

body.sse-indices .abouttitl li.active a.intronav,
body.sse-indices a.intronav:hover {
  color: #fff !important;
  background: var(--sse-ocean);
  border-color: var(--sse-ocean);
  text-decoration: none !important;
}

body.sse-indices .abouttt iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 600px;
  height: auto;
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  background: #fff;
}

body.sse-indices .aboutbott {
  display: none;
}

/* ── FAQ ── */
body.sse-indices .fqabb {
  font-size: 13px;
  line-height: 1.7;
}

body.sse-indices .fqabb > .q1:first-child,
body.sse-indices .fqabb > p,
body.sse-indices .fqabb {
  font-family: var(--sse-serif);
  font-size: 22px;
  color: var(--sse-navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sse-gold);
}

body.sse-indices .q1 {
  margin: 18px 0 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sse-navy);
  background: var(--sse-surface-alt);
  border-left: 4px solid var(--sse-gold);
  border-radius: 0 var(--sse-radius) var(--sse-radius) 0;
}

body.sse-indices .a1 {
  margin: 0 0 12px;
  padding: 0 4px 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sse-text);
}

body.sse-indices .a1 ul {
  margin: 8px 0;
  padding-left: 20px;
}

body.sse-indices .a1 p {
  margin: 0 0 10px;
}

body.sse-indices .a1 img {
  max-width: 100%;
  height: auto;
  margin: 8px 0;
  border-radius: var(--sse-radius);
  border: 1px solid var(--sse-border);
}

body.sse-indices .a1 table {
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  overflow: hidden;
}

body.sse-indices .a1 table td,
body.sse-indices .a1 table th {
  padding: 6px 10px;
  border: 1px solid var(--sse-border);
  font-size: 12px;
}

/* ── Advance / historical query pages ── */
body.sse-indices .advanced_scroll {
  float: none;
  width: 100%;
  max-height: 520px;
  margin: 12px 0;
  padding: 4px;
  overflow: auto;
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  background: var(--sse-surface);
}

body.sse-indices .adr20 {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* ── Subscription / agreement / misc content blocks ── */
body.sse-indices .indtt01,
body.sse-indices .mdir15 {
  font-size: 13px;
  line-height: 1.7;
}

body.sse-indices .indtt01 h3,
body.sse-indices .mdir15 h3 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sse-ocean);
}

/* ── Batch A: index data, login, modal ── */

/* Index table layout & values */
body.sse-indices table.indiceslist,
body.sse-indices table[width]:not(#bottom) {
  width: 100% !important;
}

body.sse-indices .indiceslist .list_head {
  width: auto !important;
  min-width: 80px;
}

body.sse-indices .indiceslist tr > .list_head:first-child {
  min-width: 180px;
}

body.sse-indices .indiceslist .list_head[rowspan] {
  vertical-align: middle;
}

body.sse-indices .indiceslist .list_head p {
  margin: 4px 0;
}

body.sse-indices .indiceslist .list_right[align="center"],
body.sse-indices .indiceslist td[align="center"].list_right {
  text-align: center !important;
}

body.sse-indices .indiceslist tr > .list_right:not(:first-child) {
  text-align: center;
}

body.sse-indices .indiceslist .list_right strong {
  color: var(--sse-navy);
  font-weight: 700;
}

body.sse-indices .list_bottom1,
body.sse-indices .list_bottom {
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  background: var(--sse-surface-alt);
  border-top: 1px solid var(--sse-border);
  height: auto;
  width: auto;
}

/* Index query table — contact footer (uniform indent) */
body.sse-indices .sse-index-contact {
  display: block;
  padding-left: 2em;
  margin: 0;
  text-indent: 0;
}

body.sse-indices .indiceslist .listtitle {
  line-height: 1.4;
}

body.sse-indices .indiceslist .listtitle a {
  color: var(--sse-gold-soft);
  text-decoration: none;
  margin-left: 8px;
}

body.sse-indices .indiceslist .listtitle a:hover {
  color: #fff;
  text-decoration: underline;
}

body.sse-indices .indiceslist .listtitle img#waitIndexTip {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

body.sse-indices .indiceslist + .indiceslist {
  margin-top: 20px;
}

body.sse-indices table#indiceslist:empty {
  min-height: 100px;
}

body.sse-indices table#indiceslist:empty::before {
  content: "Loading index data…";
  display: block;
  padding: 36px 16px;
  text-align: center;
  color: var(--sse-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.sse-indices .STYLE3 {
  color: var(--sse-accent);
  font-style: italic;
  font-weight: 600;
}

body.sse-indices #fSelLine {
  width: 100%;
  max-width: 480px;
}

body.sse-indices #fSelLine tr {
  height: auto;
}

body.sse-indices #fSelLine td {
  padding: 8px 0;
}

body.sse-indices .sse-indices-content > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: var(--sse-radius);
  border: 1px solid var(--sse-border);
}

body.sse-indices .indiceslist .listtitle img {
  margin: 0 6px;
  vertical-align: middle;
}

body.sse-indices .indicesimg img,
body.sse-indices .sse-indices-content .indicesimg img {
  margin: 10px 0;
}

body.sse-indices .next_up img {
  margin: 20px 0 20px 60px;
}

/* Legacy sidebar alias (same element as .sse-indices-sidebar) */
body.sse-indices .left230.secondmenu {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

body.sse-indices .left230.secondmenu .nav > li:has(a) {
  padding: 0;
}

/* Login widget polish */
body.sse-indices .login01 #loginIndexFront {
  display: none;
}

body.sse-indices #menu a#menuUserAccount {
  font-weight: 600;
  color: var(--sse-gold-soft) !important;
}

body.sse-indices .login01 #indexImgLoginTip {
  display: none;
}

body.sse-indices #menu a#menuUserLogin {
  font-weight: 600;
  color: var(--sse-gold-soft) !important;
}

body.sse-indices .login01 td:first-child {
  color: var(--sse-text-muted);
  font-size: 12px;
  text-align: right;
  padding-right: 8px;
  white-space: nowrap;
}

body.sse-indices .login01 .input2:focus,
body.sse-indices .login01 .input3:focus {
  outline: none;
  border-color: var(--sse-ocean);
  box-shadow: 0 0 0 2px rgba(26, 95, 138, 0.15);
}

body.sse-indices .login01 #indexCHKImg {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  border: 1px solid var(--sse-border);
  border-radius: 3px;
}


/* Change-password modal (ported from sse-home-modal.css) */
body.sse-indices .blocker {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(11, 31, 58, 0.72);
  text-align: center;
}

body.sse-indices .blocker::before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.05em;
}

body.sse-indices .blocker.behind {
  background-color: transparent;
}

body.sse-indices .modal {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  z-index: 1001;
  max-width: 520px;
  box-sizing: border-box;
  width: 90%;
  background: #fff;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(11, 31, 58, 0.25);
  text-align: left;
  overflow: hidden;
}

body.sse-indices .modal a.close-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  display: block;
  width: 28px;
  height: 28px;
  text-indent: -9999px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13' fill='rgba(255,255,255,0.2)'/%3E%3Cpath d='M9 9l10 10M19 9L9 19' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

body.sse-indices .modal a.close-modal:hover {
  opacity: 1;
}

body.sse-indices .login_form.modal {
  border-radius: 8px;
  line-height: 1.5;
  padding: 0;
  font-family: var(--sse-font);
}

body.sse-indices .login_form h3 {
  margin: 0;
  padding: 16px 48px 16px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--sse-navy-mid) 0%, var(--sse-ocean) 100%);
  border-bottom: 2px solid var(--sse-gold);
}

body.sse-indices .login_form.modal p {
  padding: 14px 24px;
  margin: 0;
  border-bottom: 1px solid #e4edf5;
  background: #fff;
  overflow: hidden;
}

body.sse-indices .login_form.modal p:last-child {
  border-bottom: none;
  padding: 16px 24px 20px;
  text-align: center;
}

body.sse-indices .login_form.modal p label {
  float: left;
  text-align: right;
  margin-right: 12px;
  font-weight: 600;
  color: var(--sse-text);
  font-size: 13px;
  width: 140px;
  line-height: 32px;
}

body.sse-indices .login_form.modal p input[type="text"],
body.sse-indices .login_form.modal p input[type="password"] {
  font: 13px/1.4 var(--sse-font);
  padding: 6px 10px;
  border: 1px solid var(--sse-border);
  border-radius: 4px;
  width: 220px;
  box-sizing: border-box;
  color: var(--sse-text);
  background: var(--sse-surface-alt);
}

body.sse-indices .login_form.modal p input:focus {
  outline: none;
  border-color: var(--sse-ocean);
  box-shadow: 0 0 0 2px rgba(26, 95, 138, 0.15);
}

body.sse-indices .login_form.modal #msg {
  color: #c0392b !important;
  font-size: 13px;
  text-align: center;
  padding: 10px 24px;
}

body.sse-indices .login_form.modal input[type="button"] {
  cursor: pointer;
  min-width: 150px;
  height: 36px;
  padding: 0 24px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sse-ocean) 0%, var(--sse-navy-mid) 100%);
  color: #fff;
  font: 600 13px/1 var(--sse-font);
  letter-spacing: 0.03em;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

body.sse-indices .login_form.modal input[type="button"]:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

body.sse-indices .ui-widget-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.5);
  opacity: 1;
  z-index: 999;
}

.ui-widget-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.5);
  opacity: 1;
  z-index: 999;
}

/* Content block layout */
body.sse-indices .mdir15 {
  display: block;
  margin-right: 0;
}

/* ── Batch C: advance query, bulletin, GCSPI ── */

/* Advance query (*advancenew.jsp) */
body.sse-indices .ind_adsea.heig,
body.sse-indices .new_ind_adsea {
  height: auto;
  padding-bottom: 16px;
}

body.sse-indices .ind_adsea td,
body.sse-indices .ind_adsea td[bgcolor] {
  background: var(--sse-surface-alt) !important;
  padding: 8px 10px;
  border-radius: 4px;
}

body.sse-indices .bluett {
  font-weight: 600;
  color: var(--sse-ocean);
  display: inline-block;
  min-width: 2.5em;
}

body.sse-indices .ind_adsea input[type="checkbox"] {
  margin: 0 4px 0 8px;
  accent-color: var(--sse-ocean);
  vertical-align: middle;
}

body.sse-indices select.seainput {
  min-width: 140px;
  padding: 6px 10px;
  border: 1px solid var(--sse-border);
  border-radius: 4px;
  font: 13px var(--sse-font);
  color: var(--sse-text);
  background: var(--sse-surface);
  box-sizing: border-box;
  appearance: auto;
}

body.sse-indices #fSelLine tr,
body.sse-indices #fSelLine td {
  padding: 8px;
  height: auto;
}

body.sse-indices .ind_adsea table,
body.sse-indices table[width="460"] {
  width: 100% !important;
}


body.sse-indices .down20 {
  width: 100%;
  margin-bottom: 12px;
}

body.sse-indices .mr {
  float: none;
  width: 100%;
}

body.sse-indices .onlinetd {
  width: 100% !important;
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  min-height: 280px;
}

body.sse-indices #img_chart_1 {
  min-height: 280px;
  background: var(--sse-surface-alt);
  border-radius: var(--sse-radius);
}

body.sse-indices .advanced_scroll table {
  table-layout: fixed;
  width: 100%;
}

body.sse-indices .advanced_scroll td {
  width: auto !important;
}

body.sse-indices .adr20 tr:nth-child(even) .ind_td {
  background: rgba(26, 95, 138, 0.04);
}

/* Bulletin / Report (bulletinnew.jsp, reportnew.jsp) */
body.sse-indices .next_up {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0 0 12px;
  min-height: auto;
  height: auto;
  background: none;
}

body.sse-indices .next_up > img {
  max-width: 100%;
  height: auto;
  margin: 0 0 12px;
}

body.sse-indices .next_down {
  width: 100%;
  min-height: auto;
  height: auto;
  padding: 0;
  background: none;
  text-align: left;
}

body.sse-indices .next_down ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.sse-indices .next_down li {
  padding: 10px 12px 10px 28px;
  line-height: 1.5;
  color: var(--sse-text);
  border-bottom: 1px solid var(--sse-border);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6' viewBox='0 0 6 6'%3E%3Ccircle cx='3' cy='3' r='2' fill='%231a5f8a'/%3E%3C/svg%3E") no-repeat 12px 16px;
}

body.sse-indices .next_down li a {
  font-weight: 500;
}

body.sse-indices .next_time {
  color: var(--sse-text-muted);
  font-size: 12px;
}

body.sse-indices .next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: auto;
  padding: 16px 0 0;
}

body.sse-indices .next_pre {
  float: none;
  width: auto;
  height: auto;
  line-height: 1.5;
  text-align: right;
  font-size: 13px;
  color: var(--sse-text);
}

body.sse-indices .next_an {
  float: none;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
}

body.sse-indices .next_an a,
body.sse-indices .next_pre a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sse-ocean) !important;
  text-decoration: none !important;
  background: var(--sse-surface);
  border: 1px solid var(--sse-border);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.sse-indices .next_an a:hover,
body.sse-indices .next_pre a:hover {
  color: #fff !important;
  background: var(--sse-ocean);
  border-color: var(--sse-ocean);
  text-decoration: none !important;
}

body.sse-indices .inp {
  width: 40px;
  height: auto;
  margin: 0 4px;
  padding: 5px 6px;
  font: 13px var(--sse-font);
  line-height: 1.4;
  color: var(--sse-text);
  text-align: center;
  background: var(--sse-surface);
  border: 1px solid var(--sse-border);
  border-radius: 4px;
  box-sizing: border-box;
}

body.sse-indices .nextonline {
  margin-top: 8px;
  border-top: 1px solid var(--sse-border);
}

/* Subscription (agreement pages) */
body.sse-indices .indimg {
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 16px;
}

body.sse-indices .indimg img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--sse-radius);
}

body.sse-indices .ind_b {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 20px 24px;
  box-sizing: border-box;
  font-family: var(--sse-serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--sse-navy);
  text-align: center;
  background: var(--sse-surface-alt);
  border: 1px solid var(--sse-border);
  border-left: 4px solid var(--sse-gold);
  border-radius: var(--sse-radius);
}

body.sse-indices .indtt {
  color: var(--sse-text);
  border-top: 1px dashed var(--sse-border);
  padding: 16px 4px 0;
  line-height: 1.7;
  font-size: 13px;
  text-align: justify;
}

body.sse-indices .indtt01 iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 500px;
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  background: #fff;
}

body.sse-indices .input4,
body.sse-indices input[type="submit"] {
  display: inline-block;
  min-width: 140px;
  padding: 8px 20px;
  font: 13px/1.4 var(--sse-font);
  font-weight: 600;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: var(--sse-ocean);
  border: 1px solid var(--sse-ocean);
  border-radius: var(--sse-radius);
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.sse-indices .input4:hover,
body.sse-indices input[type="submit"]:hover:not(:disabled) {
  background: var(--sse-link-hover);
  border-color: var(--sse-link-hover);
}

body.sse-indices input[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* CFSA partners */
body.sse-indices .sse-cfsa {
  padding: 4px 0 12px;
}

body.sse-indices .sse-cfsa__header {
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sse-border);
}

body.sse-indices .sse-cfsa__title {
  margin: 0 0 10px;
  font-family: var(--sse-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--sse-navy);
}

body.sse-indices .sse-cfsa__lead {
  margin: 0;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.65;
  color: var(--sse-text-muted);
}

body.sse-indices .sse-cfsa__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.sse-indices .sse-cfsa-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  overflow: hidden;
  background: var(--sse-surface);
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  box-shadow: var(--sse-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.sse-indices .sse-cfsa-card:hover {
  box-shadow: var(--sse-shadow-lg);
  transform: translateY(-2px);
}

body.sse-indices .sse-cfsa-card__head {
  padding: 16px 18px 14px;
  background: linear-gradient(135deg, var(--sse-navy-mid) 0%, var(--sse-ocean) 100%);
  border-bottom: 2px solid var(--sse-gold);
}

body.sse-indices .sse-cfsa-card__eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sse-gold-soft);
}

body.sse-indices .sse-cfsa-card__name {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

body.sse-indices .sse-cfsa-card__body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 28px 20px;
  background: linear-gradient(180deg, var(--sse-surface-alt) 0%, var(--sse-surface) 100%);
}

body.sse-indices .sse-cfsa-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 88px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  box-sizing: border-box;
}

body.sse-indices .sse-cfsa-card__logo img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 960px) {
  body.sse-indices .sse-cfsa__grid {
    grid-template-columns: 1fr;
  }
}

body.sse-indices .partnertt1,
body.sse-indices .partnertt2 {
  margin: 0 0 0;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  background: linear-gradient(90deg, var(--sse-navy-mid), var(--sse-ocean));
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
}

body.sse-indices .partnertt2 {
  margin-top: 16px;
}

/* Panelists (when pane.css not used) */
body.sse-indices .pan_scfi {
  float: none;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  padding: 12px 20px;
  font-family: var(--sse-serif);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  text-align: left;
  text-indent: 0;
  background: linear-gradient(90deg, var(--sse-navy-mid), var(--sse-ocean));
  border-bottom: 2px solid var(--sse-gold);
  border-radius: var(--sse-radius);
  box-sizing: border-box;
}

body.sse-indices .pantt {
  color: var(--sse-gold-soft);
  font-weight: 600;
}

body.sse-indices .panlogo {
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 76px;
  margin: 0;
  padding: 10px 8px;
  text-align: center;
  background: var(--sse-surface);
  border: 1px solid var(--sse-border);
  border-radius: var(--sse-radius);
  box-shadow: var(--sse-shadow);
  box-sizing: border-box;
}

body.sse-indices .sse-indices-content:has(.panlogo) {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

@media (max-width: 1100px) {
  body.sse-indices .sse-indices-content:has(.panlogo) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.sse-indices .sse-indices-content:has(.panlogo) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  body.sse-indices .sse-indices-content:has(.panlogo) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.sse-indices .panlogo img {
  max-width: 100%;
  height: auto;
}

body.sse-indices .abouttitl {
  margin-bottom: 16px;
}

body.sse-indices .u-hidden {
  display: none !important;
}
