/* FXClassicTrader V12: compact language selection and a complete footer row. */
.site-header .nav-shell { gap: 18px; }
.site-header .nav-cta { margin-left: 0; margin-inline-start: 0; }
.site-header .mobile-menu { flex: 0 0 44px; margin-left: 0; margin-inline-start: 0; }
.site-header .mobile-menu summary { width: 44px; height: 44px; }
html[lang="ar"] .site-header .nav-cta,
html[lang="ar"] .site-header .mobile-menu { margin-left: 0; margin-inline-start: 0; }
.fct-language-picker { position: relative; display: inline-block; flex: 0 0 auto; margin: 0; font-family: inherit; }
.fct-language-current { display: flex; align-items: center; gap: 8px; min-height: 44px; max-width: 208px; margin: 0; padding: 9px 11px; border: 1px solid #5c573e; border-radius: 9px; color: #f0dfbd; background: #0b1c2d; font-size: 13px; font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.fct-language-current::-webkit-details-marker { display: none; }
.fct-language-current::marker { content: ""; }
.fct-language-current bdi { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fct-language-code { display: none; }
.fct-language-picker .fct-language-flag { display: block; flex: 0 0 24px; width: 24px; height: 18px; max-width: 24px; margin: 0; object-fit: contain; border: 0; border-radius: 2px; }
.fct-language-chevron { display: block; flex: 0 0 12px; margin-inline-start: auto; }
.fct-language-picker[open] .fct-language-chevron { transform: rotate(180deg); }
.fct-language-current:hover,
.fct-language-picker[open] > .fct-language-current { border-color: #ddb86f; color: #fff; }
.fct-language-panel { box-sizing: border-box; position: absolute; z-index: 120; inset-inline-end: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 32px)); max-height: min(520px, calc(100dvh - 105px)); overflow-y: auto; overscroll-behavior: contain; padding: 14px; border: 1px solid #5c573e; border-radius: 12px; color: #dceaf6; background: #07121f; box-shadow: 0 20px 50px #0006; text-align: start; }
.fct-language-picker:not([open]) > .fct-language-panel { display: none; }
html[lang="ar"] .fct-language-panel { right: auto; left: 0; }
.fct-language-panel > .fct-language-heading { margin: 0 0 10px; color: #f0dfbd; font-size: 13px; font-weight: 700; }
.fct-language-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.fct-language-picker .fct-language-options > a.fct-language-option { display: flex; align-items: center; gap: 8px; min-height: 46px; margin: 0; padding: 9px 8px; border: 1px solid transparent; border-radius: 8px; color: #dceaf6; font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; text-align: start; white-space: normal; }
.fct-language-option bdi { min-width: 0; overflow-wrap: anywhere; }
.fct-language-picker .fct-language-options > a:hover { background: #12324d; border-color: #516273; }
.fct-language-picker .fct-language-options > a.active { background: #302b20; border-color: #6f592a; color: #f0dfbd; }
.fct-language-current:focus-visible,
.fct-language-option:focus-visible,
.fct-language-row a:focus-visible { outline: 2px solid #ddb86f; outline-offset: 3px; }
.fct-language-footer { box-sizing: border-box; width: calc(100% - 32px); max-width: 1180px; margin: 24px auto 0; padding: 20px 0 10px; border-top: 1px solid #ffffff20; }
.fct-language-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 7px; }
.fct-language-footer .fct-language-row > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 9px; border: 1px solid transparent; border-radius: 7px; color: #c9d9e8; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.fct-language-footer .fct-language-row > a:hover { color: #fff; background: #12324d; }
.fct-language-footer .fct-language-row > a.active { color: #f0dfbd; background: #302b20; border-color: #6f592a; }
html[lang="ar"] .fct-language-picker bdi[dir="rtl"],
html[lang="ar"] .fct-language-row bdi[dir="rtl"] { direction: rtl; unicode-bidi: isolate; }
html[lang="id"] h1, html[lang="id"] h2, html[lang="id"] h3 { overflow-wrap: break-word; text-wrap: balance; }
/* Report rules are scoped so the main site retains its original presentation. */
body:has(> .report-toolbar) { box-sizing: border-box; margin: 0; padding: 12px; color: #182334; background: #fff; font-family: Tahoma, Arial, sans-serif; }
.report-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px; margin-block-end: 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #f1f5f9; font: 14px/1.5 Tahoma, Arial, sans-serif; text-align: start; }
.report-toolbar a { color: #124c88; font-weight: 600; text-decoration: none; }
.report-toolbar .fct-report-back { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.report-toolbar .fct-report-languages { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.report-toolbar .fct-report-languages > a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 9px; border: 1px solid transparent; border-radius: 6px; }
.report-toolbar .fct-report-languages > a:hover { background: #e0eaf5; }
.report-toolbar .fct-report-languages > a[aria-current="page"] { color: #fff; background: #124c88; border-color: #124c88; font-weight: 700; }
.report-toolbar a:focus-visible { outline: 2px solid #124c88; outline-offset: 2px; }
.report-scroll { overflow: auto; max-width: 100%; padding-block: 8px; }
.report-scroll table { min-width: 820px; margin-inline: auto; }
.report-toolbar ~ div img { max-width: 100%; height: auto; }
.fct-report-legend { max-width: 820px; margin: 12px auto; color: #142c3f; font: 13px/1.5 Tahoma, Arial, sans-serif; }
@media (max-width: 1440px) {
  .site-header .fct-language-picker { margin-inline-start: auto; }
}
@media (max-width: 760px) {
  .site-header .nav-shell { gap: 10px; }
  .fct-language-current { gap: 6px; padding-inline: 8px; }
  .fct-language-current bdi { display: none; }
  .fct-language-code { display: inline; font-size: 12px; }
  .fct-language-panel { position: fixed; top: 76px; left: 12px; right: 12px; width: auto; max-height: calc(100dvh - 90px); }
  html[lang="ar"] .fct-language-panel { left: 12px; right: 12px; }
  .fct-language-row { gap: 4px; }
  .fct-language-footer .fct-language-row > a { padding: 8px; font-size: 12px; }
}
@media (max-width: 360px) {
  .site-header .nav-shell { width: calc(100% - 24px); gap: 7px; }
  .site-header .brand { gap: 7px; font-size: 14px; }
  .site-header .brand-mark { width: 32px; height: 32px; }
  .fct-language-current { gap: 5px; padding-inline: 6px; }
  .fct-language-code { font-size: 11px; }
}
@media print {
  .report-toolbar, .fct-report-legend { display: none; }
  .report-scroll { overflow: visible; }
}
