/* Jaisandar 189 · unified market exports + QAZAQ index chart + explicit chart modes */
body.home[data-jai-rubric="market"] .jai-unified-png,
body.home[data-jai-rubric="market"] .visual-download-button,
body.home[data-jai-rubric="market"] .market-173-png{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:42px!important;min-width:145px!important;padding:8px 13px!important;border:1px solid #006666!important;border-radius:12px!important;background:#006666!important;color:#fff!important;box-shadow:0 8px 20px rgba(0,102,102,.17)!important;font-weight:900!important;cursor:pointer!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important}
body.home[data-jai-rubric="market"] .jai-unified-png:hover,body.home[data-jai-rubric="market"] .visual-download-button:hover{background:#005858!important;border-color:#005858!important;transform:translateY(-1px)!important;box-shadow:0 11px 24px rgba(0,102,102,.24)!important}
body.home[data-jai-rubric="market"] .visual-download-button>i,body.home[data-jai-rubric="market"] .jai-unified-png>i{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:8px!important;background:#fff!important;color:#006666!important;font-style:normal!important;font-size:17px!important;font-weight:1000!important}
body.home[data-jai-rubric="market"] .visual-download-button b,body.home[data-jai-rubric="market"] .jai-unified-png b{color:inherit!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important}
body.home[data-jai-rubric="market"] .visual-download-button.loading{opacity:.72!important}.visual-download-button.success{background:#147a55!important;border-color:#147a55!important}.visual-download-button.error{background:#a9434d!important;border-color:#a9434d!important}
.market-export-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:12px!important}.market-export-heading .market-source{margin:4px 0 0!important}.market-export-heading>div{min-width:0}.market-export-heading h2,.market-export-heading h3{margin:0!important}
.qazaq-head{grid-template-columns:170px minmax(0,1fr) auto!important}.qazaq-index-logo-card{width:160px!important;height:64px!important;padding:6px!important;border-radius:14px!important;background:#fff!important}.qazaq-index-logo-card img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;padding:0!important}.qazaq-index-head-actions{display:flex;align-items:center;gap:12px}.qazaq-index-head-actions .qazaq-period-result{min-width:102px}.qazaq-index-head-actions .visual-download-button{box-shadow:none!important}
.qazaq-index-chart-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:10px}.qazaq-index-chart-title span{display:block;color:#74837f;font-size:11px;font-weight:850;letter-spacing:.09em}.qazaq-index-chart-title h3{margin:3px 0 0;font-size:1rem}.qazaq-index-chart-title a{font-size:12px;font-weight:800;color:#006666}.qazaq-index-chart-card .qazaq-chart{display:block!important;width:100%!important;height:360px!important;margin-top:8px!important}.qazaq-index-chart-card .qazaq-chart svg{height:100%!important}
.jai-chart-controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 12px!important;background:#f7faf9!important;border-bottom:1px solid #e7eeeb!important}.jai-chart-period-group{display:flex;flex-wrap:wrap;gap:6px}.jai-chart-mode-group{display:flex;gap:7px;margin-left:auto;padding-left:10px;border-left:1px solid #d9e4e0}.jai-chart-mode-group .jai-chart-mode{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:38px!important;padding:0 13px!important;border:2px solid #9ebcb4!important;border-radius:10px!important;background:#fff!important;color:#1b4b40!important;font-weight:900!important}.jai-chart-mode-group .jai-chart-mode span{font-size:18px!important;line-height:1!important}.jai-chart-mode-group .jai-chart-mode b{font-size:12px!important}.jai-chart-mode-group .jai-chart-mode.active{background:#006666!important;border-color:#006666!important;color:#fff!important;box-shadow:0 6px 16px rgba(0,102,102,.18)!important}
.stock-dialog-actions .stock-dialog-download.visual-download-button{min-width:145px!important;height:40px!important;min-height:40px!important;padding:7px 12px!important}.stock-dialog-actions .stock-dialog-download.visual-download-button>span:first-child{display:grid!important;place-items:center!important;width:26px!important;height:26px!important;border-radius:8px!important;background:#fff!important;color:#006666!important;font-size:16px!important}.stock-dialog-actions .stock-dialog-download.visual-download-button>b{font-size:12px!important}.stock-dialog-actions .stock-dialog-close{min-height:40px!important}
@media(max-width:760px){.market-export-heading{align-items:stretch!important;flex-direction:column!important}.market-export-heading .visual-download-button{width:100%!important}.qazaq-head{grid-template-columns:110px minmax(0,1fr)!important}.qazaq-index-logo-card{width:104px!important;height:52px!important}.qazaq-index-head-actions{grid-column:1/-1;width:100%;justify-content:space-between}.qazaq-index-head-actions .visual-download-button{min-width:136px!important}.qazaq-index-chart-title{align-items:flex-start;flex-direction:column}.qazaq-index-chart-card .qazaq-chart{height:300px!important}.jai-chart-controls{align-items:stretch!important;flex-direction:column!important}.jai-chart-mode-group{width:100%;margin-left:0;padding-left:0;padding-top:8px;border-left:0;border-top:1px solid #d9e4e0}.jai-chart-mode-group .jai-chart-mode{flex:1!important;justify-content:center!important}.stock-dialog-actions .stock-dialog-download.visual-download-button{min-width:128px!important}.stock-dialog-actions .stock-dialog-download.visual-download-button>b{font-size:11px!important}}

body.home[data-jai-rubric="market"] .qazaq-mini-brand{display:inline-flex!important;align-items:center!important;gap:10px!important;margin-bottom:6px!important;color:#007171!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}body.home[data-jai-rubric="market"] .qazaq-mini-brand img{width:56px!important;height:28px!important;max-width:none!important;object-fit:contain!important;display:block!important}body.home[data-jai-rubric="market"] .market-block-heading .qazaq-mini-brand+h3{margin-top:4px!important}
/* Jaisandar 192 · compact market exports, full-fit AIX marks, dividend PNG */
.visual-download-button,.jai-unified-png{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:42px!important;min-width:145px!important;padding:8px 13px!important;border:1px solid #006666!important;border-radius:12px!important;background:#006666!important;color:#fff!important;box-shadow:0 8px 20px rgba(0,102,102,.17)!important;font-weight:900!important;cursor:pointer!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;text-decoration:none!important}
.visual-download-button:hover,.jai-unified-png:hover{background:#005858!important;border-color:#005858!important;transform:translateY(-1px)!important;box-shadow:0 11px 24px rgba(0,102,102,.24)!important}
.visual-download-button>i,.jai-unified-png>i{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:8px!important;background:#fff!important;color:#006666!important;font-style:normal!important;font-size:17px!important;font-weight:1000!important}
.visual-download-button>span>b,.jai-unified-png>span>b,.visual-download-button>b,.jai-unified-png>b{color:inherit!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important}
.visual-download-button.loading{opacity:.72!important}.visual-download-button.success{background:#147a55!important;border-color:#147a55!important}.visual-download-button.error{background:#a9434d!important;border-color:#a9434d!important}

.market-compact-export-row{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;min-height:48px!important;margin:0 0 12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.qazaq-compact-export-row{justify-content:space-between!important}
.qazaq-inline-aix{display:flex!important;align-items:center!important;justify-content:center!important;width:86px!important;height:46px!important;padding:7px 10px!important;border:1px solid rgba(24,62,56,.10)!important;border-radius:12px!important;background:#fff!important}
.qazaq-inline-aix img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:scale(.68)!important;transform-origin:center!important}
.qazaq-index-chart-brand{display:flex!important;align-items:center!important;gap:10px!important}.qazaq-index-chart-brand>img{width:68px!important;height:36px!important;object-fit:contain!important;transform:scale(.68)!important;transform-origin:center!important}

/* AIX logo must always fit fully, never crop or stretch. */
.nav-aix-logo img,.nav-qazaq-logo img,.qazaq-compact-logo img,.qazaq-mini-brand img,.qazaq-index-logo-card img,.qazaq-heatmap-logo{object-fit:contain!important;object-position:center!important;max-width:100%!important;max-height:100%!important;transform:scale(.68)!important;transform-origin:center!important}
.qazaq-compact-logo,.nav-aix-logo,.qazaq-index-logo-card{overflow:visible!important}

/* Remove old large green banner feel in heatmaps/index views. */
.qazaq-heatmap-panel>.heatmap-window-head,.qazaq-index-panel>.qazaq-head,.heatmap-window>.heatmap-window-head{display:none!important}
.qazaq-heatmap-panel,.qazaq-index-panel,.heatmap-window{padding-top:2px!important}

.jai-chart-controls{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}.jai-chart-controls .jai-chart-png{margin-left:auto!important;min-width:145px!important}
.jai-chart-period-group{display:flex!important;gap:6px!important;flex-wrap:wrap!important}.jai-chart-period-group button{min-height:38px!important;border:1px solid #cbdad5!important;border-radius:10px!important;background:#fff!important;color:#31544b!important;padding:0 11px!important;font-weight:850!important}.jai-chart-period-group button.active{background:#e4f3ee!important;border-color:#6ea895!important;color:#075f50!important}

.dividend-panel-export{display:flex!important;justify-content:flex-end!important;margin:0 0 12px!important}.dividend-analysis-head-export{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important}.dividend-analysis-head-export>div{min-width:0!important}.dividend-analysis-head-export small{display:block!important;margin-top:4px!important}.dividend-analysis-head-export .visual-download-button{flex:0 0 auto!important}

@media(max-width:760px){
  .market-compact-export-row{min-height:44px!important}.qazaq-inline-aix{width:74px!important;height:40px!important;padding:5px 8px!important}.market-compact-export-row .visual-download-button{min-width:132px!important}
  .jai-chart-controls{align-items:stretch!important}.jai-chart-controls .jai-chart-png{width:100%!important;margin-left:0!important}.dividend-analysis-head-export{flex-direction:column!important;align-items:stretch!important}.dividend-analysis-head-export .visual-download-button,.dividend-panel-export .visual-download-button{width:100%!important}
}

/* Jaisandar 193 · chart export/action bar polish */
.jai-chart-controls{position:relative!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 10px!important;padding:10px 12px!important;border:1px solid #dfe8e5!important;border-radius:14px!important;background:#f8fbfa!important;box-shadow:0 5px 16px rgba(13,60,52,.05)!important}
.jai-chart-action-group{display:flex!important;align-items:center!important;gap:7px!important;margin-left:auto!important}
.jai-chart-share{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:42px!important;padding:8px 13px!important;border:1px solid #bfd3ce!important;border-radius:12px!important;background:#fff!important;color:#174c42!important;font-weight:900!important;cursor:pointer!important}
.jai-chart-share:hover{border-color:#006666!important;color:#006666!important;background:#f3fbf9!important}
.jai-chart-share>i{font-style:normal!important;font-size:16px!important}.jai-chart-share>b{font-size:12px!important;white-space:nowrap!important}
.jai-chart-controls .jai-chart-png{margin-left:0!important}
.qazaq-compact-logo img,.qazaq-mini-brand img,.qazaq-index-logo-card img,.qazaq-inline-aix img,.qazaq-index-chart-brand>img,.nav-aix-logo img,.nav-qazaq-logo img{transform:scale(.68)!important}
.qazaq-compact-logo,.qazaq-index-logo-card,.qazaq-inline-aix,.nav-aix-logo{padding:8px 12px!important}
@media(max-width:760px){.jai-chart-action-group{width:100%!important;margin-left:0!important}.jai-chart-action-group>*{flex:1!important}.jai-chart-share{min-width:0!important}.qazaq-compact-logo img,.qazaq-mini-brand img,.qazaq-index-logo-card img,.qazaq-inline-aix img,.qazaq-index-chart-brand>img,.nav-aix-logo img,.nav-qazaq-logo img{transform:scale(.62)!important}}

/* Jaisandar 196 · crisp AIX logo fit with softer padding, no clipped edges */
.qazaq-compact-logo,
.qazaq-index-logo-card,
.qazaq-inline-aix,
.nav-aix-logo,
.nav-qazaq-logo,
.qazaq-index-chart-brand > img,
.qazaq-mini-brand{
  overflow: visible !important;
}
.qazaq-compact-logo img,
.qazaq-index-logo-card img,
.qazaq-inline-aix img,
.qazaq-index-chart-brand>img,
.nav-aix-logo img,
.nav-qazaq-logo img,
.qazaq-mini-brand img,
.qazaq-heatmap-logo{
  transform:none!important;
  width:auto!important;
  height:auto!important;
  max-width:84%!important;
  max-height:84%!important;
  object-fit:contain!important;
  object-position:center!important;
  image-rendering:auto!important;
  filter:none!important;
}
.qazaq-inline-aix{width:92px!important;height:50px!important;padding:9px 12px!important}
.qazaq-compact-logo,.qazaq-index-logo-card,.nav-aix-logo{padding:9px 13px!important}
.qazaq-mini-brand img{max-width:52px!important;max-height:24px!important}
.qazaq-index-chart-brand>img{max-width:62px!important;max-height:30px!important}
@media(max-width:760px){
  .qazaq-inline-aix{width:82px!important;height:46px!important;padding:8px 10px!important}
  .qazaq-mini-brand img{max-width:46px!important;max-height:22px!important}
  .qazaq-index-chart-brand>img{max-width:56px!important;max-height:28px!important}
}

/* Jaisandar 198 · AIX logo should never be clipped inside rounded icon shells */
.market-subtab>i.nav-aix-logo,
.nav-aix-logo,
.qazaq-compact-logo,
.qazaq-index-logo-card,
.qazaq-inline-aix,
.qazaq-index-chart-brand,
.qazaq-mini-brand{
  overflow: visible !important;
}
.market-subtab>i.nav-aix-logo,
.nav-aix-logo,
.qazaq-compact-logo,
.qazaq-index-logo-card,
.qazaq-inline-aix{
  border-radius: 10px !important;
  padding: 8px 12px !important;
  background: #fff !important;
}
.market-subtab>i.nav-aix-logo img,
.nav-aix-logo img,
.qazaq-compact-logo img,
.qazaq-index-logo-card img,
.qazaq-inline-aix img,
.qazaq-index-chart-brand>img,
.qazaq-mini-brand img{
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.market-subtab>i.nav-aix-logo{width:70px!important;height:44px!important;flex:0 0 70px!important}
.nav-aix-logo{width:70px!important;height:44px!important;flex:0 0 70px!important}
.qazaq-compact-logo,.qazaq-index-logo-card,.qazaq-inline-aix{width:76px!important;height:48px!important}
.qazaq-index-chart-brand>img{width:58px!important;height:28px!important}
.qazaq-mini-brand img{width:52px!important;height:24px!important}
@media(max-width:780px){
  .market-subtab>i.nav-aix-logo,.nav-aix-logo{width:58px!important;height:40px!important;flex-basis:58px!important;padding:7px 10px!important}
  .qazaq-compact-logo,.qazaq-index-logo-card,.qazaq-inline-aix{width:68px!important;height:44px!important;padding:7px 10px!important}
  .qazaq-index-chart-brand>img{width:52px!important;height:26px!important}
  .qazaq-mini-brand img{width:46px!important;height:22px!important}
}

/* Jaisandar 261 — Video infographic lives beside the market rubric rail from initial HTML. */
@media (min-width:1000px){
  body.home[data-jai-rubric="market"] .market-workspace-static:not([hidden]){
    display:grid!important;
    grid-template-columns:238px minmax(0,1fr)!important;
    column-gap:18px!important;
    row-gap:0!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    margin:24px 0 24px!important;
  }
  body.home[data-jai-rubric="market"] .market-workspace-static>.market-subtabs:not([hidden]){
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    width:238px!important;
    min-width:238px!important;
    max-width:238px!important;
    margin:0!important;
    padding:9px!important;
    position:relative!important;
    top:0!important;
    bottom:auto!important;
    align-self:start!important;
    transform:none!important;
  }
  body.home[data-jai-rubric="market"] .market-workspace-static>.market-workspace-content{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }
  body.home[data-jai-rubric="market"] .market-workspace-static>.market-workspace-content>.market-videoinfo-window:not([hidden]){
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-top:18px!important;
    box-sizing:border-box!important;
  }
}


/* 321 · NASDAQ / LSE international listings */
.foreign-equities-window{display:grid;gap:18px;padding:20px 0 28px}
.foreign-equities-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.foreign-equities-head h2{margin:3px 0 4px;font-size:clamp(25px,3vw,38px);line-height:1}
.foreign-equities-head p{margin:0;color:#62727c;font-weight:700}
.foreign-period-toolbar{align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.foreign-period-label{font-size:13px;color:#60717b;font-weight:800}.foreign-period-label b{color:#0a2435}
.foreign-equity-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.foreign-equity-group{min-width:0;padding:16px;border:1px solid rgba(0,102,102,.13);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 14px 35px rgba(18,53,67,.06)}
.foreign-equity-group .market-block-heading{margin-bottom:12px;align-items:flex-end}
.foreign-equity-group .market-block-heading h3{margin:5px 0 0;font-size:20px}.foreign-equity-group .market-block-heading small{max-width:180px;text-align:right}
.foreign-exchange-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:#eef4f5;color:#26383f;font-size:11px;font-weight:900;letter-spacing:.08em}
.foreign-equity-list{display:grid;gap:9px}
.foreign-stock-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px;border-radius:16px;background:#f7faf9;border:1px solid transparent;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.foreign-stock-row:hover,.foreign-stock-row:focus-visible{transform:translateY(-2px);border-color:rgba(0,102,102,.25);box-shadow:0 10px 24px rgba(12,57,67,.08);outline:none}
.foreign-stock-logo{width:42px;height:42px;border-radius:12px;background:#fff;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(9,48,61,.08)}
.foreign-stock-logo img{width:34px;height:34px;object-fit:contain}.foreign-stock-logo b{font-size:17px}
.foreign-stock-company{min-width:0;display:grid;gap:2px}.foreign-stock-company strong{font-size:16px;letter-spacing:.02em;color:#15232d!important}.foreign-stock-company small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#738089!important;font-size:11px;font-weight:700}
.foreign-stock-market{font-size:10px;font-weight:900;color:#65757e!important;background:#fff;border:1px solid rgba(9,48,61,.08);border-radius:999px;padding:5px 7px;white-space:nowrap}
.foreign-stock-quote{display:grid;justify-items:end;gap:5px;white-space:nowrap}.foreign-stock-quote>strong{font-size:15px;font-weight:900;line-height:1;color:#12212b!important}.foreign-stock-quote .stock-period-change{margin:0!important;font-size:12px!important;font-weight:900!important;line-height:1!important;background:none!important;padding:0!important;white-space:nowrap}.foreign-stock-row.is-up .foreign-stock-quote .stock-period-change{color:#07875b!important}.foreign-stock-row.is-down .foreign-stock-quote .stock-period-change{color:#d33b52!important}.foreign-stock-row.is-flat .foreign-stock-quote .stock-period-change{color:#697981!important}
@media(max-width:1100px){.foreign-equity-groups{grid-template-columns:1fr 1fr}.foreign-equity-group:last-child{grid-column:1/-1}}
@media(max-width:780px){.foreign-equities-window{padding:10px 0 22px}.foreign-equity-groups{grid-template-columns:1fr}.foreign-equity-group:last-child{grid-column:auto}.foreign-stock-row{grid-template-columns:44px minmax(0,1fr) auto}.foreign-stock-market{display:none}.foreign-period-toolbar .period-tabs{overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding-bottom:3px}.foreign-period-toolbar .period-button{flex:0 0 auto}.foreign-equity-group .market-block-heading small{max-width:150px}}


/* 323 · one stock across multiple exchanges */
.cross-market-window{display:grid;gap:12px;padding:10px 0 24px}
.cross-market-window[hidden]{display:none!important}
body.home:not([data-jai-rubric="market"]) .cross-market-window{display:none!important}
body.home[data-jai-rubric="market"]:not([data-jai-market-view="cross"]) .cross-market-window{display:none!important}
.cross-market-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.cross-market-head h2{margin:3px 0 4px;font-size:clamp(25px,3vw,38px);line-height:1}
.cross-market-head p{margin:0;color:#62727c;font-weight:700}
.cross-market-toolbar{display:grid;gap:10px}.cross-market-control-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cross-market-mode-tabs{justify-content:flex-end}
.cross-market-company-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cross-market-company-tab{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid rgba(0,102,102,.14);border-radius:18px;background:rgba(255,255,255,.92);cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.cross-market-company-tab:hover,.cross-market-company-tab:focus-visible{transform:translateY(-1px);border-color:rgba(0,102,102,.28);box-shadow:0 10px 24px rgba(12,57,67,.07);outline:none}
.cross-market-company-tab.active{border-color:rgba(0,102,102,.42);background:linear-gradient(180deg,#ffffff 0%,#f1f8f6 100%);box-shadow:0 12px 26px rgba(12,57,67,.08)}
.cross-market-company-tab img,.cross-market-company-tab i{width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#fff;border:1px solid rgba(9,48,61,.08);display:grid;place-items:center;object-fit:contain;font-style:normal;font-weight:900;color:#30424b}
.cross-market-company-tab span{min-width:0;display:grid;gap:2px;text-align:left}.cross-market-company-tab b{font-size:15px;line-height:1.1}.cross-market-company-tab small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#738089;font-size:11px;font-weight:700}
.cross-market-period-tabs{justify-content:flex-start}
.cross-market-summary-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border:1px solid rgba(0,102,102,.13);border-radius:18px;background:linear-gradient(140deg,#ffffff 0%,#f6fbfa 100%);box-shadow:0 10px 26px rgba(18,53,67,.045)}
.cross-market-summary-brand span{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;background:#eef4f5;color:#26383f;font-size:11px;font-weight:900;letter-spacing:.08em}
.cross-market-summary-brand h3{margin:6px 0 2px;font-size:clamp(21px,2.1vw,30px);line-height:1.05}
.cross-market-summary-brand p{margin:0;color:#6b7a83;font-size:13px;font-weight:700}
.cross-market-summary-meta{display:grid;justify-items:end;gap:3px;white-space:nowrap}.cross-market-summary-meta strong{font-size:25px;line-height:1}.cross-market-summary-meta small{color:#6a7983;font-size:12px;font-weight:900}
.cross-market-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.cross-market-card{padding:14px;border-radius:18px;border:1px solid rgba(0,102,102,.12);background:#fff;box-shadow:0 10px 24px rgba(12,57,67,.045);cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.cross-market-card:hover,.cross-market-card:focus-visible{transform:translateY(-2px);border-color:rgba(0,102,102,.25);box-shadow:0 16px 34px rgba(12,57,67,.08);outline:none}
.cross-market-card-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px}
.cross-market-card-logo{width:42px;height:42px;border-radius:12px;background:#fff;border:1px solid rgba(9,48,61,.08);display:grid;place-items:center;overflow:hidden}.cross-market-card-logo img{width:34px;height:34px;object-fit:contain}.cross-market-card-logo b{font-size:17px}
.cross-market-card-company{min-width:0;display:grid;gap:2px}.cross-market-card-company strong{font-size:17px;line-height:1.1;color:#12212b}.cross-market-card-company small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#738089;font-size:11px;font-weight:700}
.cross-market-card-badge{font-size:10px;font-weight:900;color:#65757e;background:#f4f8f8;border:1px solid rgba(9,48,61,.08);border-radius:999px;padding:5px 7px;white-space:nowrap}
.cross-market-card-metrics{display:grid;grid-template-columns:1fr auto;align-items:end;gap:14px;margin-top:12px}.cross-market-card-metrics span{display:block;color:#72808a;font-size:10px;font-weight:800}.cross-market-card-metrics>div>strong{display:block;margin-top:4px;font-size:18px;line-height:1.05;color:#12212b}.cross-market-card-metrics .cross-market-change{margin:4px 0 0!important;font-size:18px!important;text-align:right;background:none!important;padding:0!important}.cross-market-card-metrics .cross-market-change.positive{color:#07875b!important}.cross-market-card-metrics .cross-market-change.negative{color:#d33b52!important}.cross-market-card-metrics .cross-market-change.neutral{color:#6d7b84!important}
.cross-market-chart-card{padding:14px 16px;border-radius:20px;border:1px solid rgba(0,102,102,.12);background:#fff;box-shadow:0 12px 30px rgba(18,53,67,.05)}
.cross-market-chart-card header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.cross-market-chart-card span{display:block;color:#6b7b84;font-size:11px;font-weight:900;letter-spacing:.08em}.cross-market-chart-card h3{margin:4px 0 0;font-size:24px;line-height:1}.cross-market-chart-card header small{color:#6a7983;font-size:13px;font-weight:900}
.cross-market-chart{height:320px;border:1px solid #eef2f1;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdfc);overflow:hidden}.cross-market-chart svg{display:block;width:100%;height:100%}.cross-market-empty{display:grid;place-items:center;height:100%;color:#7a878f;font-size:14px;font-weight:800}
.cross-grid-line{stroke:#e8ecec;stroke-width:1}.cross-grid-label,.cross-axis-label,.cross-end-label{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:11px;font-weight:800}.cross-grid-label,.cross-axis-label{fill:#7c8991}.cross-axis-line{stroke:#d4dbdb;stroke-width:1}.cross-zero-line{stroke:#bcc8c8;stroke-width:1.2;stroke-dasharray:6 7}.cross-end-label{paint-order:stroke;stroke:#fffdf7;stroke-width:3}
.cross-market-legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.cross-market-legend-item{display:flex!important;align-items:center;gap:7px;padding:7px 9px;border-radius:14px;background:#f6f9f9;border:1px solid #e8eeee}.cross-market-line-dot{width:9px!important;height:9px!important;border-radius:50%;display:block;flex:0 0 9px}.cross-exchange-logo{width:58px;height:26px;display:grid!important;place-items:center;padding:3px 6px;border-radius:8px;background:#fff;border:1px solid #e4eaea;overflow:hidden}.cross-exchange-logo img{max-width:48px;max-height:18px;object-fit:contain}.cross-exchange-logo b{font-size:9px!important;letter-spacing:.04em;color:#1b2a32}.cross-market-legend-item>strong{font-size:11px;color:#1c2a32}.cross-market-legend-item>small{font-size:10px;color:#6f7c85;font-weight:800}.cross-market-legend-item.no-history{opacity:.58}
@media(max-width:1100px){.cross-market-company-tabs{grid-template-columns:1fr 1fr}.cross-market-summary-card{align-items:flex-start;flex-direction:column}.cross-market-summary-meta{justify-items:start}}
@media(max-width:780px){.cross-market-window{padding:6px 0 20px}.cross-market-company-tabs{grid-template-columns:1fr}.cross-market-toolbar{gap:8px}.cross-market-control-row{display:grid;gap:8px}.cross-market-period-tabs,.cross-market-mode-tabs{overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding-bottom:3px;justify-content:flex-start}.cross-market-period-tabs .period-button,.cross-market-mode-tabs .period-button{flex:0 0 auto}.cross-market-card-metrics{grid-template-columns:1fr auto}.cross-market-card-metrics .cross-market-change{text-align:right}.cross-market-chart{height:285px}.cross-market-head,.cross-market-summary-card,.cross-market-chart-card header{align-items:flex-start;flex-direction:column}.cross-market-summary-meta{justify-items:start}.cross-market-legend{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.cross-market-legend-item{flex:0 0 auto}}

/* 327 · external/official cross-listing charts; no hand-drawn SVG */
.cross-market-official-card{padding:14px 16px;border-radius:20px;border:1px solid rgba(0,102,102,.12);background:#fff;box-shadow:0 12px 30px rgba(18,53,67,.05)}
.cross-market-official-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:10px}.cross-market-official-head span{display:block;color:#6b7b84;font-size:11px;font-weight:900;letter-spacing:.08em}.cross-market-official-head h3{margin:4px 0 0;font-size:24px;line-height:1}.cross-market-official-link{font-size:12px;font-weight:900;color:#006666;text-decoration:none}.cross-market-official-link:hover{text-decoration:underline}
.cross-market-exchange-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}.cross-market-exchange-tab{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #dfe8e7;border-radius:14px;background:#f7faf9;cursor:pointer;color:#17242c}.cross-market-exchange-tab.active{border-color:rgba(0,102,102,.45);background:#edf7f5;box-shadow:0 5px 16px rgba(0,102,102,.08)}.cross-market-exchange-tab>span:last-child{display:grid;gap:1px;text-align:left}.cross-market-exchange-tab>span:last-child>b{font-size:12px}.cross-market-exchange-tab>span:last-child>small{font-size:10px;color:#738089;font-weight:800}
.cross-market-official-frame{height:520px;border:1px solid #e8eeee;border-radius:16px;overflow:hidden;background:#fff}.cross-market-provider-frame{display:block;width:100%;height:100%;border:0;background:#fff}.cross-market-official-note{margin:10px 2px 0;color:#6f7d85;font-size:11px;font-weight:700}.cross-market-card.active{border-color:rgba(0,102,102,.42);box-shadow:0 12px 26px rgba(0,102,102,.09)}
@media(max-width:780px){.cross-market-official-head{align-items:flex-start;flex-direction:column}.cross-market-exchange-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.cross-market-exchange-tab{flex:0 0 auto}.cross-market-official-frame{height:430px}}

/* 328 · cross-listing: market data first + real monthly comparison. */
.cross-market-cards-priority{order:3;margin-top:2px}
.cross-market-card-status{display:block;margin-top:10px;padding-top:9px;border-top:1px solid #edf2f1;color:#7a878f;font-size:10px;font-weight:800;letter-spacing:.01em}
.cross-market-monthly-card{padding:16px;border:1px solid rgba(0,102,102,.12);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(18,53,67,.05)}
.cross-market-monthly-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}
.cross-market-monthly-head>div>span{display:block;color:#006666;font-size:10px;font-weight:950;letter-spacing:.12em}
.cross-market-monthly-head h3{margin:4px 0 5px;font-size:24px;line-height:1.05;color:#17242c}
.cross-market-monthly-head p{margin:0;color:#6b7982;font-size:12px;font-weight:700;max-width:760px}
.cross-market-monthly-head>strong{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#f2f7f6;color:#3d555d;font-size:11px;font-weight:900}
.cross-market-monthly-chart{height:330px;border:1px solid #e9efee;border-radius:16px;background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%);overflow:hidden}
.cross-market-monthly-table-wrap{margin-top:12px;overflow:auto;border:1px solid #e9efee;border-radius:14px;background:#fff}
.cross-market-monthly-table{width:100%;min-width:620px;border-collapse:collapse;font-variant-numeric:tabular-nums}
.cross-market-monthly-table th,.cross-market-monthly-table td{padding:10px 12px;border-bottom:1px solid #edf1f0;text-align:right;font-size:12px}
.cross-market-monthly-table thead th{position:sticky;top:0;z-index:1;background:#f7faf9;color:#4a5d65;font-weight:900}
.cross-market-monthly-table thead th:first-child,.cross-market-monthly-table tbody th{text-align:left}
.cross-market-monthly-table thead th b{display:block;color:#18272f;font-size:12px}.cross-market-monthly-table thead th small{display:block;margin-top:2px;color:#7a878f;font-size:9px;font-weight:800}
.cross-market-monthly-table tbody th{white-space:nowrap;color:#263940;font-weight:900;background:#fcfdfd}
.cross-market-monthly-table tbody td{font-weight:900}.cross-market-monthly-table tbody td.positive{color:#07875b}.cross-market-monthly-table tbody td.negative{color:#d33b52}.cross-market-monthly-table tbody td.neutral{color:#7a878f}
.cross-market-monthly-table tr:last-child th,.cross-market-monthly-table tr:last-child td{border-bottom:0}
.cross-monthly-empty{text-align:center!important;color:#7a878f!important;font-weight:800!important;padding:22px!important}
.cross-market-monthly-note{margin:10px 2px 0;color:#708089;font-size:10px;font-weight:700;line-height:1.45}
/* Selected-market data is intentionally placed immediately after company tabs. */
.cross-market-toolbar{order:1}.cross-market-cards{order:2}.cross-market-summary-card{order:3}.cross-market-base-card{order:4}.cross-market-monthly-card{order:5}.cross-market-official-card{order:6}.cross-market-window>.market-source{order:7}.cross-market-head{order:0}
@media(max-width:780px){
  .cross-market-window{gap:9px}
  .cross-market-cards{grid-template-columns:1fr!important;gap:9px}
  .cross-market-card{padding:12px}
  .cross-market-summary-card{padding:10px 12px}
  .cross-market-monthly-card{padding:11px;border-radius:16px}
  .cross-market-monthly-head{align-items:flex-start;flex-direction:column;gap:8px}
  .cross-market-monthly-head h3{font-size:21px}.cross-market-monthly-head p{font-size:11px}
  .cross-market-monthly-chart{height:280px}
  .cross-market-monthly-table-wrap{margin-top:9px}
  .cross-market-monthly-table{min-width:560px}
  .cross-market-monthly-table th,.cross-market-monthly-table td{padding:9px 10px;font-size:11px}
}

/* 329 · Cross-listing must start at the top of the right workspace. */
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .market-workspace-content > :not([data-cross-market-window]){
  display:none!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .market-workspace-content > [data-cross-market-window]{
  display:grid!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding-top:0!important;
  align-self:start!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head{
  margin-top:0!important;
}

/* 329 · Monthly comparison table: every value is a separate visual cell. */
.cross-market-monthly-table-wrap{
  padding:7px;
  border:1px solid #dfe9e7;
  border-radius:16px;
  background:#f4f8f7;
}
.cross-market-monthly-table{
  border-collapse:separate!important;
  border-spacing:6px!important;
}
.cross-market-monthly-table th,
.cross-market-monthly-table td{
  border:1px solid #dfe8e6!important;
  border-radius:10px;
  background:#fff;
  box-shadow:0 2px 8px rgba(18,53,67,.035);
  padding:10px 12px;
}
.cross-market-monthly-table thead th{
  background:#eef6f4!important;
  border-color:#cfe0dc!important;
}
.cross-market-monthly-table tbody th{
  background:#f8fbfa!important;
  border-color:#dbe7e4!important;
}
.cross-market-monthly-table tbody td.positive{
  background:#edf8f3!important;
  border-color:#cce8da!important;
}
.cross-market-monthly-table tbody td.negative{
  background:#fff1f3!important;
  border-color:#f2d3d9!important;
}
.cross-market-monthly-table tbody td.neutral{
  background:#f8f9f9!important;
  border-color:#e3e8e7!important;
}
.cross-market-monthly-table tr:last-child th,
.cross-market-monthly-table tr:last-child td{
  border-bottom:1px solid #dfe8e6!important;
}
@media(max-width:780px){
  .cross-market-monthly-table-wrap{padding:5px}
  .cross-market-monthly-table{border-spacing:5px!important}
  .cross-market-monthly-table th,.cross-market-monthly-table td{padding:9px 10px}
}


/* 330 · Cross-listing visual refresh + readable light surface. */
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .market-workspace-content{
  background:transparent!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-window{
  background:#eef7f5!important;
  border:1px solid rgba(13,78,78,.12)!important;
  border-radius:28px!important;
  padding:22px!important;
  box-shadow:0 22px 50px rgba(4,48,58,.12)!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head h2{
  color:#0a2f4e!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head p{
  color:#60717f!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head .equities-kicker{
  color:#b57b17!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-company-tab{
  background:#fff!important;
  border-color:#d7e6e2!important;
  box-shadow:0 5px 16px rgba(18,53,67,.045);
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-company-tab.active{
  background:#e3f2ee!important;
  border-color:#92c6b9!important;
  box-shadow:0 8px 20px rgba(0,102,102,.09)!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .visual-download-button{
  background:#fff!important;
  color:#0a4f55!important;
  border-color:#cfe1dd!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-summary-card,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-card,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-base-card,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-monthly-card,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-official-card{
  border-color:#d8e7e3!important;
}
.cross-market-monthly-chart .cross-market-empty{
  min-height:100%;display:grid;place-items:center;text-align:center;padding:24px;color:#61737d;font-weight:800;
}
@media(max-width:780px){
  body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-window{padding:13px!important;border-radius:20px!important;}
}


/* 331 · Real Base 100 cross-listing comparison. Every plotted point comes from a strict close series. */
.cross-market-base-card{padding:16px;border:1px solid rgba(0,102,102,.12);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(18,53,67,.05)}
.cross-market-base-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}
.cross-market-base-head>div>span,.cross-market-raw-head span{display:block;color:#006666;font-size:10px;font-weight:950;letter-spacing:.12em}
.cross-market-base-head h3{margin:4px 0 5px;font-size:26px;line-height:1.05;color:#17242c}.cross-market-base-head p{margin:0;max-width:760px;color:#6b7982;font-size:12px;font-weight:700}
.cross-market-base-periods{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.cross-market-base-periods button{min-height:34px;padding:7px 11px;border:1px solid #d9e6e3;border-radius:999px;background:#f8fbfa;color:#415961;font:900 11px/1 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}.cross-market-base-periods button.active{border-color:#87bdb1;background:#e3f2ee;color:#075b5b}
.cross-market-base-chart{height:390px;border:1px solid #e5eeec;border-radius:16px;background:#fff;overflow:hidden}.cross-market-base-chart .cross-market-empty{min-height:100%;display:grid;place-items:center;text-align:center;padding:24px;color:#61737d;font-weight:800}
.cross-market-base-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 14px}.cross-market-base-sources>a,.cross-market-base-sources>div{position:relative;display:grid;gap:2px;min-width:0;padding:10px 34px 10px 12px;border:1px solid #dfe9e7;border-radius:12px;background:#f9fbfb;color:#17242c;text-decoration:none}.cross-market-base-sources b{font-size:12px}.cross-market-base-sources span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64757d;font-size:10px;font-weight:800}.cross-market-base-sources small{color:#7b898f;font-size:9px;font-weight:800}.cross-market-base-sources i{position:absolute;right:11px;top:11px;color:#006666;font-style:normal}
.cross-market-raw-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:8px 2px}.cross-market-raw-head h4{margin:3px 0 0;font-size:16px;color:#203139}.cross-market-raw-head small{color:#77868d;font-size:10px;font-weight:800}
.cross-market-raw-table-wrap{overflow:auto;padding:7px;border:1px solid #dfe9e7;border-radius:14px;background:#f4f8f7}.cross-market-raw-table{width:100%;min-width:620px;border-collapse:separate;border-spacing:6px;font-variant-numeric:tabular-nums}.cross-market-raw-table th,.cross-market-raw-table td{padding:9px 11px;border:1px solid #dfe8e6;border-radius:9px;background:#fff;text-align:right;font-size:11px}.cross-market-raw-table thead th{background:#eef6f4;color:#4a5d65;font-weight:900}.cross-market-raw-table thead th:first-child,.cross-market-raw-table tbody th{text-align:left}.cross-market-raw-table thead th b{display:block;color:#18272f;font-size:11px}.cross-market-raw-table thead th small{display:block;margin-top:1px;color:#7a878f;font-size:9px}.cross-market-raw-table tbody th{white-space:nowrap;background:#f8fbfa;color:#263940;font-weight:900}.cross-market-raw-table tbody td{color:#263940;font-weight:850}
.cross-market-base-note{margin:10px 2px 0;color:#708089;font-size:10px;font-weight:700;line-height:1.45}
@media(max-width:780px){.cross-market-base-card{padding:11px;border-radius:16px}.cross-market-base-head{align-items:flex-start;flex-direction:column;gap:8px}.cross-market-base-head h3{font-size:21px}.cross-market-base-head p{font-size:11px}.cross-market-base-periods{justify-content:flex-start;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.cross-market-base-periods button{flex:0 0 auto}.cross-market-base-chart{height:300px}.cross-market-base-sources{grid-template-columns:1fr}.cross-market-raw-table{min-width:560px}}

/* 332 · cross-listing: MAX history, price/change modes and branded PNG actions. */
.cross-market-base-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:760px}
.cross-market-base-modes{display:flex;align-items:center;gap:6px;padding:4px;border:1px solid #d8e6e2;border-radius:999px;background:#f4f8f7}
.cross-market-base-modes button{min-height:34px;padding:7px 12px;border:0;border-radius:999px;background:transparent;color:#4a5f66;font:900 11px/1 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer;white-space:nowrap}
.cross-market-base-modes button.active{background:#0b6767;color:#fff;box-shadow:0 5px 14px rgba(11,103,103,.16)}
.cross-inline-png{min-height:34px!important;padding:6px 10px!important;border-radius:12px!important;box-shadow:none!important;white-space:nowrap}
.cross-inline-png span b{font-size:10px!important;letter-spacing:.01em}
.cross-market-raw-actions,.cross-market-monthly-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.cross-market-monthly-actions>strong{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#f2f7f6;color:#3d555d;font-size:11px;font-weight:900}
.cross-market-base-periods button[data-cross-base-period="max"]{border-style:dashed}
.cross-market-base-periods button[data-cross-base-period="max"].active{border-style:solid;background:#dff1ed;color:#075b5b}
@media(max-width:900px){
  .cross-market-base-head{align-items:flex-start;flex-direction:column}
  .cross-market-base-actions{justify-content:flex-start;max-width:100%;width:100%}
}
@media(max-width:780px){
  .cross-market-base-actions{display:grid;grid-template-columns:1fr;gap:7px}
  .cross-market-base-modes{width:max-content;max-width:100%}
  .cross-market-base-periods{max-width:100%}
  .cross-inline-png{width:max-content!important}
  .cross-market-raw-head{align-items:flex-start;flex-direction:column}
  .cross-market-raw-actions,.cross-market-monthly-actions{justify-content:flex-start;width:100%}
}

/* 333 · unified cross-listing baselines, continuous real-point lines and exchange branding. */
.cross-market-card-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 7px!important}.cross-market-card-badge img{display:block;width:42px;height:18px;object-fit:contain}.cross-market-card-badge em{font-style:normal;font-size:9px;font-weight:950;color:#65757e}
.cross-source-brand{display:flex!important;align-items:center;gap:8px;min-width:0}.cross-source-logo{display:block;width:62px;height:22px;object-fit:contain;flex:0 0 62px}.cross-market-base-sources .cross-source-brand b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cross-market-base-sources .cross-source-provider{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64757d;font-size:10px;font-weight:800}
.cross-table-exchange{display:inline-flex!important;align-items:center;justify-content:flex-end;gap:7px;min-height:22px}.cross-table-exchange img{display:block;width:58px;height:20px;object-fit:contain}.cross-market-raw-table thead th:first-child .cross-table-exchange,.cross-market-monthly-table thead th:first-child .cross-table-exchange{justify-content:flex-start}.cross-market-raw-table thead th small,.cross-market-monthly-table thead th small{margin-top:3px!important}
.cross-market-monthly-table{border-collapse:separate!important;border-spacing:6px!important;background:#f4f8f7!important;padding:7px!important}.cross-market-monthly-table th,.cross-market-monthly-table td{border:1px solid #dfe8e6!important;border-radius:9px!important;background:#fff!important}.cross-market-monthly-table thead th{background:#eef6f4!important}.cross-market-monthly-table tbody th{background:#f8fbfa!important}.cross-market-monthly-table tbody td.positive{background:#eaf7f0!important}.cross-market-monthly-table tbody td.negative{background:#fdeff1!important}.cross-market-monthly-table tbody td.neutral{background:#fff!important}
.cross-inline-png.visual-download-button,.cross-inline-png.jai-unified-png{background:#006666!important;border-color:#006666!important;color:#fff!important}.cross-inline-png.visual-download-button span,.cross-inline-png.visual-download-button b,.cross-inline-png.jai-unified-png span,.cross-inline-png.jai-unified-png b{color:#fff!important}.cross-inline-png.visual-download-button>i,.cross-inline-png.jai-unified-png>i{background:#fff!important;color:#006666!important}
@media(max-width:780px){.cross-market-card-badge img{width:38px}.cross-table-exchange img{width:48px}.cross-source-logo{width:54px;flex-basis:54px}}


/* 335 · user-provided exchange logos, equal-size rectangular contain treatment. */
.cross-market-card-badge{min-height:38px!important;padding:3px 8px 3px 5px!important;gap:7px!important}
.cross-market-card-badge img,.cross-exchange-logo img,.cross-source-logo,.cross-table-exchange img,.cross-legend-logo img{display:block!important;width:48px!important;height:30px!important;max-width:48px!important;max-height:30px!important;flex:0 0 48px!important;border-radius:0!important;object-fit:contain!important;background:transparent!important;border:0!important;padding:0!important;box-sizing:border-box!important}
.cross-exchange-logo{width:56px!important;height:38px!important;flex:0 0 56px!important;padding:4px!important;border-radius:8px!important;background:#fff!important;border:1px solid #dfe8e6!important;overflow:visible!important}
.cross-exchange-logo img{width:48px!important;height:30px!important;max-width:48px!important;max-height:30px!important}
.cross-source-brand{gap:9px!important}.cross-source-logo{width:48px!important;height:30px!important;max-width:48px!important;max-height:30px!important;flex-basis:48px!important}
.cross-table-exchange{gap:8px!important}.cross-table-exchange img{width:48px!important;height:30px!important;max-width:48px!important;max-height:30px!important;flex-basis:48px!important}
.cross-market-base-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 10px;padding:0 2px}
.cross-base-legend-item{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:5px 10px 5px 6px;border:1px solid #e0e9e7;border-radius:14px;background:#f8fbfa;color:#22343b}
.cross-legend-logo{display:grid;place-items:center;width:56px;height:38px;flex:0 0 56px;border-radius:8px;background:#fff;border:1px solid #dfe8e6;overflow:visible;padding:4px;box-sizing:border-box}.cross-legend-logo img{width:48px!important;height:30px!important;object-fit:contain!important}.cross-legend-logo b{font-size:8px;font-weight:950}
.cross-base-legend-item>i{display:block;width:22px;height:4px;border-radius:99px;background:var(--cross-line,#006666);flex:0 0 22px}
.cross-base-legend-item>span:last-child{display:grid;gap:0;line-height:1.05}.cross-base-legend-item>span:last-child b{font-size:11px}.cross-base-legend-item>span:last-child small{font-size:9px;color:#75838a;font-weight:800}
.cross-market-base-chart{height:390px!important}
@media(max-width:780px){.cross-market-base-legend{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.cross-base-legend-item{flex:0 0 auto}.cross-market-base-chart{height:310px!important}.cross-market-card-badge img,.cross-exchange-logo img,.cross-source-logo,.cross-table-exchange img,.cross-legend-logo img{width:44px!important;height:28px!important;max-width:44px!important;max-height:28px!important;flex-basis:44px!important}.cross-exchange-logo,.cross-legend-logo{width:52px!important;height:36px!important;flex-basis:52px!important}}


/* 339 · cross-listing clarity: KASE-style PNG buttons and route arrows for company tabs. */
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head .visual-download-button,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head .jai-unified-png,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-inline-png.visual-download-button,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-inline-png.jai-unified-png{
  background:#006666!important;
  color:#fff!important;
  border-color:#006666!important;
  box-shadow:0 8px 20px rgba(0,102,102,.17)!important;
}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head .visual-download-button:hover,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head .jai-unified-png:hover,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-inline-png.visual-download-button:hover,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-inline-png.jai-unified-png:hover{background:#005858!important;border-color:#005858!important}
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head .visual-download-button>i,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-market-head .jai-unified-png>i,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-inline-png.visual-download-button>i,
body.home[data-jai-rubric="market"][data-jai-market-view="cross"] .cross-inline-png.jai-unified-png>i{background:#fff!important;color:#006666!important}
.cross-market-company-tab{display:flex!important;align-items:center!important;gap:12px!important;min-height:72px!important;padding:10px 14px!important}
.cross-market-company-tab>span{display:grid!important;gap:4px!important;min-width:0!important}
.cross-market-company-tab>span b{display:block!important;line-height:1.02!important}
.cross-market-company-tab>span small{display:block!important;line-height:1.05!important}
.cross-market-company-route{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important;margin-top:2px!important;font-style:normal!important}
.cross-market-company-route strong{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:18px!important;padding:2px 8px!important;border-radius:999px!important;background:#f4f8f7!important;border:1px solid #d9e6e2!important;color:#244149!important;font-size:9px!important;font-weight:950!important;letter-spacing:.05em!important}
.cross-market-company-route i{font-style:normal!important;color:#7a8a91!important;font-size:11px!important;font-weight:950!important;line-height:1!important}
.cross-market-company-tab.active .cross-market-company-route strong{background:#ffffff!important;border-color:#a8d0c5!important;color:#0d5c5c!important}
@media(max-width:780px){
  .cross-market-company-tab{min-height:68px!important;padding:9px 12px!important}
  .cross-market-company-route{gap:4px!important}
  .cross-market-company-route strong{font-size:8px!important;padding:2px 7px!important}
}


/* 340 · uranium compare chart inside NASDAQ/LSE rubric */
.foreign-uranium-compare{display:grid;gap:12px;margin-top:6px}
.foreign-uranium-compare-card{padding:16px 16px 12px}
.uranium-compare-legend{margin:0}
.foreign-uranium-compare-chart{height:410px!important}
@media(max-width:780px){.foreign-uranium-compare-chart{height:320px!important}}

/* 5.9.83 · Uranium comparison controls / export */
.uranium-compare-heading{align-items:flex-start!important}
.uranium-compare-subtitle{display:block;margin-top:5px;color:#758398;font-size:11px;font-weight:750}
.uranium-compare-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:980px}
.uranium-compare-actions .cross-market-base-modes,.uranium-compare-actions .cross-market-base-periods{margin:0}
.uranium-compare-actions [data-uranium-mode].active,.uranium-compare-actions [data-uranium-period].active{background:#182f2a!important;border-color:#182f2a!important;color:#fff!important}
@media(max-width:980px){.uranium-compare-heading{flex-direction:column!important;gap:12px!important}.uranium-compare-actions{margin-left:0;justify-content:flex-start;max-width:100%;width:100%}}
@media(max-width:780px){.uranium-compare-actions{display:grid;grid-template-columns:1fr;gap:7px}.uranium-compare-actions .cross-market-base-modes,.uranium-compare-actions .cross-market-base-periods{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.uranium-compare-actions .cross-market-base-modes::-webkit-scrollbar,.uranium-compare-actions .cross-market-base-periods::-webkit-scrollbar{display:none}.uranium-compare-actions [data-uranium-mode],.uranium-compare-actions [data-uranium-period]{flex:0 0 auto}.uranium-compare-actions [data-uranium-compare-download]{justify-self:start}}

/* 352 · mobile polish for new market rubrics: NASDAQ/LSE, uranium compare, cross-listing. */
@media(max-width:980px){
  .foreign-equities-head,.cross-market-head,.cross-market-base-head,.cross-market-monthly-head,.cross-market-official-head{align-items:flex-start!important;flex-direction:column!important;gap:12px!important}
  .foreign-equities-head .visual-download-button,.cross-market-head .visual-download-button,.cross-market-base-actions,.cross-market-monthly-actions,.cross-market-official-link{width:100%}
  .cross-market-base-actions{display:grid;gap:8px}
}
@media(max-width:780px){
  .foreign-equities-window,.cross-market-window{padding:8px 0 22px!important;gap:10px!important}
  .foreign-equities-head h2,.cross-market-head h2{font-size:clamp(24px,7vw,30px)!important}
  .foreign-equities-head p,.cross-market-head p,.cross-market-base-head p,.cross-market-monthly-head p,.cross-market-official-head p{font-size:13px!important;line-height:1.45!important}
  .foreign-period-toolbar,.cross-market-toolbar,.cross-market-base-actions,.cross-market-monthly-actions,.uranium-compare-actions{display:grid!important;gap:8px!important}
  .foreign-period-label,.cross-market-monthly-actions strong,.cross-market-raw-actions small{font-size:11px!important}
  .foreign-period-toolbar .period-tabs,.cross-market-base-periods,.cross-market-base-modes,.cross-market-company-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;padding-bottom:4px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .foreign-period-toolbar .period-tabs::-webkit-scrollbar,.cross-market-base-periods::-webkit-scrollbar,.cross-market-base-modes::-webkit-scrollbar,.cross-market-company-tabs::-webkit-scrollbar{display:none}
  .foreign-period-toolbar .period-button,.cross-market-base-periods button,.cross-market-base-modes button,.cross-market-company-tab{flex:0 0 auto!important}
  .cross-market-company-tabs{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(240px,84vw)!important}
  .cross-market-company-tab{min-height:74px!important;padding:11px 12px!important;border-radius:18px!important;scroll-snap-align:start}
  .cross-market-company-tab img,.cross-market-company-tab i{width:38px!important;height:38px!important;flex-basis:38px!important}
  .cross-market-company-tab>span b{font-size:15px!important}
  .cross-market-company-tab>span small{font-size:11px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  .cross-market-cards{grid-template-columns:1fr!important;gap:10px!important}
  .cross-market-card{padding:13px!important;border-radius:18px!important}
  .cross-market-card-head{grid-template-columns:42px minmax(0,1fr)!important;align-items:start!important}
  .cross-market-card-badge{grid-column:2/3;justify-self:start;margin-top:2px}
  .cross-market-card-metrics{grid-template-columns:1fr auto!important;gap:10px!important}
  .cross-market-summary-card{padding:14px!important;align-items:flex-start!important}
  .cross-market-summary-meta{justify-items:start!important}
  .cross-market-summary-meta strong{font-size:23px!important}
  .cross-market-base-card,.cross-market-monthly-card,.cross-market-official-card,.foreign-equity-group,.foreign-uranium-compare-card{padding:14px!important;border-radius:18px!important}
  .cross-market-base-head h3,.cross-market-monthly-head h3,.cross-market-official-head h3,.uranium-compare-heading h3{font-size:22px!important}
  .cross-market-base-legend,.uranium-compare-legend{flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;padding:0 0 4px 0!important;scrollbar-width:none}
  .cross-market-base-legend::-webkit-scrollbar,.uranium-compare-legend::-webkit-scrollbar{display:none}
  .cross-base-legend-item{flex:0 0 auto!important;min-height:42px!important;padding:5px 10px 5px 6px!important}
  .cross-market-base-chart,.foreign-uranium-compare-chart{height:300px!important;border-radius:14px!important}
  .cross-market-raw-head{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  .cross-market-raw-actions{width:100%;display:grid!important;gap:8px!important;justify-items:start!important}
  .cross-market-raw-table-wrap,.cross-market-monthly-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .cross-market-raw-table,.cross-market-monthly-table{min-width:620px!important}
  .cross-market-raw-table th,.cross-market-raw-table td,.cross-market-monthly-table th,.cross-market-monthly-table td{font-size:11px!important;padding:10px 8px!important}
  .cross-market-official-link,.visual-download-button.jai-unified-png,.cross-inline-png{justify-content:center!important}
  .foreign-equity-groups{grid-template-columns:1fr!important;gap:10px!important}
  .foreign-equity-group .market-block-heading{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}
  .foreign-equity-group .market-block-heading h3{font-size:19px!important}
  .foreign-equity-group .market-block-heading small{max-width:none!important;text-align:left!important}
  .foreign-stock-row{grid-template-columns:42px minmax(0,1fr) auto!important;gap:9px!important;padding:10px!important;border-radius:15px!important}
  .foreign-stock-logo{width:40px!important;height:40px!important}
  .foreign-stock-logo img{width:32px!important;height:32px!important}
  .foreign-stock-company strong{font-size:15px!important}
  .foreign-stock-company small{font-size:11px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}
  .foreign-stock-quote{align-self:center!important}
  .foreign-stock-quote>strong{font-size:14px!important}
  .foreign-stock-quote .stock-period-change{font-size:11px!important}
  .uranium-compare-heading{gap:10px!important}
  .uranium-compare-actions{width:100%!important}
  .uranium-compare-actions [data-uranium-compare-download]{width:100%;justify-content:center!important}
}
@media(max-width:560px){
  .foreign-period-toolbar .period-button,.cross-market-base-periods button,.cross-market-base-modes button,.uranium-compare-actions [data-uranium-mode],.uranium-compare-actions [data-uranium-period]{min-height:40px!important;padding:0 14px!important;font-size:12px!important}
  .cross-market-company-tabs{grid-auto-columns:minmax(228px,88vw)!important}
  .cross-market-company-route strong{font-size:8px!important}
  .cross-market-summary-brand h3{font-size:22px!important}
  .cross-market-summary-brand p{font-size:12px!important}
  .cross-market-base-chart,.foreign-uranium-compare-chart{height:285px!important}
  .foreign-stock-row{grid-template-columns:40px minmax(0,1fr)!important}
  .foreign-stock-quote{grid-column:2/3;display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
}

.uranium-chart-badges{position:absolute;top:12px;right:12px;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:min(72%,520px);z-index:4;pointer-events:none}.uranium-chart-badge{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:4px 10px 4px 6px;border:1px solid rgba(217,227,224,.96);border-radius:12px;background:rgba(255,255,255,.96);backdrop-filter:blur(4px);box-shadow:0 6px 18px rgba(9,30,28,.06)}.uranium-chart-badge img,.uranium-chart-badge b:first-child{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:8px;background:#fff;object-fit:contain;border:1px solid #e4ece9;color:#163530;font-size:11px}.uranium-chart-badge span{display:grid;gap:1px;line-height:1.04}.uranium-chart-badge span b{font-size:11px;color:#17312c}.uranium-chart-badge span small{font-size:9px;color:#70807b;font-weight:800}.foreign-uranium-compare-chart{position:relative}
@media(max-width:780px){.uranium-chart-badges{top:8px;right:8px;left:8px;max-width:none;justify-content:flex-start}.uranium-chart-badge{min-height:34px;padding:3px 8px 3px 5px}.uranium-chart-badge img,.uranium-chart-badge b:first-child{width:24px;height:24px;flex-basis:24px}.uranium-chart-badge span b{font-size:10px}.uranium-chart-badge span small{font-size:8px}}

/* 428 · NASDAQ/LSE/Uranium block-level Jaisandar PNG export */
.foreign-group-heading{gap:12px}
.foreign-group-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:9px;min-width:0}
.foreign-group-actions>small{display:block}
.foreign-group-png{min-height:34px!important;padding:6px 10px!important;border-radius:10px!important;flex:0 0 auto}
.foreign-group-png>i{font-size:13px!important}.foreign-group-png span b{font-size:10px!important}
.market-foreign-export.visual-download-button,.market-foreign-export.jai-unified-png{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important;box-shadow:0 10px 24px rgba(37,99,235,.22)!important}
.market-foreign-export.visual-download-button:hover,.market-foreign-export.jai-unified-png:hover{background:#1d4ed8!important;border-color:#1d4ed8!important;box-shadow:0 14px 28px rgba(29,78,216,.28)!important}
.market-foreign-export.visual-download-button>i,.market-foreign-export.jai-unified-png>i{background:#fff!important;color:#2563eb!important}
.uranium-compare-download{min-width:150px!important}
@media(max-width:780px){.foreign-group-actions{width:100%;align-items:center;justify-content:space-between}.foreign-group-actions>small{flex:1;max-width:none!important;text-align:left!important}.foreign-group-png{min-width:72px}.market-foreign-export.visual-download-button,.market-foreign-export.jai-unified-png{width:100%;justify-content:center!important}.uranium-compare-download{min-width:0!important}}
