/* /home A: dominant chart, aligned sector column, existing global shell retained. */
body.home-a-active { background: #f4f7fd; color: #142c52; }
.home-a-active [hidden] { display: none !important; }
.home-a-active #sevenForwardDesktopPanel { display: none !important; }
.home-a-active [data-home-a-legacy-header] { display: none !important; }
.home-a-desktop-content { max-width: 1600px; margin: 0 auto; padding: 28px 32px 44px !important; }
.home-a-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.home-a-pagehead p { margin: 0 0 5px; color: #6281b1; font-size: 10px; font-weight: 750; letter-spacing: .18em; }
.home-a-pagehead h1 { margin: 0; color: #102848; font-size: 30px; line-height: 1.25; letter-spacing: -.04em; font-weight: 850; }
.home-a-pagehead > span { color: #6c82a0; font-size: 12px; padding-bottom: 3px; }
.home-a-sourcebar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-bottom: 20px; }
.home-a-source-tabs { display: flex; padding: 4px; gap: 4px; border: 1px solid #dce6f5; border-radius: 11px; background: #eaf1fc; }
.home-a-source-tabs button { border: 0; background: transparent; border-radius: 8px; min-height: 38px; padding: 8px 18px; color: #5c7192; font-size: 13px; font-weight: 700; cursor: pointer; }
.home-a-source-tabs button[aria-pressed="true"] { color: #1559ca; background: #fff; box-shadow: 0 2px 7px #355f9d12; }
.home-a-source-note { color: #7187a5; font-size: 11px; }
.home-a-source-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-a-refresh { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 8px 13px; flex-shrink: 0; color: #2262c3; background: #fff; border: 1px solid #d3e1f5; border-radius: 9px; font-size: 12px; font-weight: 650; cursor: pointer; }
.home-a-refresh:hover { background: #edf4ff; border-color: #9dbff0; }
.home-a-refresh:disabled { opacity: .65; cursor: wait; }
.home-a-data-status { flex-basis: 100%; margin: 0; color: #7187a5; font-size: 11px; line-height: 1.7; }
.home-a-workbench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(265px, 320px); align-items: stretch; gap: 20px; }
.home-a-original-chart, .home-a-selection-chart { grid-column: 1; grid-row: 1; min-width: 0; background: #fff !important; border: 1px solid #dce6f5 !important; border-radius: 14px !important; box-shadow: none !important; overflow: visible !important; }
.home-a-original-chart > div { padding: 23px !important; }
.home-a-active #bossOurMarketDailyChart { min-height: 480px; }
.home-a-selection-chart { padding: 23px; display: flex; flex-direction: column; scroll-margin-top: 82px; }
.home-a-charthead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.home-a-charthead h2 { margin: 0; font-size: 17px; font-weight: 750; color: #233d60; }
.home-a-quote { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 9px 0 0; font-variant-numeric: tabular-nums; }
.home-a-quote strong { color: #102848; font-size: 39px; font-weight: 850; line-height: 1.15; letter-spacing: -.045em; }
.home-a-quote > span { font-weight: 700; font-size: 14px; }
.home-a-up { color: #cb3f59 !important; }
.home-a-down { color: #15846d !important; }
.home-a-neutral { color: #71839b !important; }
.home-a-periods { display: flex; gap: 3px; border: 1px solid #e0e8f6; background: #f3f6fc; padding: 4px; border-radius: 9px; flex-shrink: 0; }
.home-a-periods button { min-height: 32px; padding: 5px 12px; border: 0; background: transparent; color: #6680a3; font-size: 12px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.home-a-periods [aria-pressed="true"] { background: #2364dc; color: #fff; }
.home-a-chart-scope { margin: 12px 0 15px; color: #71829a; font-size: 11px; line-height: 1.8; }
.home-a-inline-chart { height: 480px; width: 100%; min-width: 0; position: relative; background: #fff; border-top: 1px solid #edf2fa; flex: 1 0 480px; }
.home-a-chartfoot { border-top: 1px solid #edf2fa; padding-top: 12px; margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; color: #7083a0; font-size: 10px; line-height: 1.7; }
.home-a-chartfoot button { color: #2265d8; background: none; border: 0; padding: 0; flex-shrink: 0; font: inherit; cursor: pointer; }
.home-a-sectorpanel { grid-column: 2; grid-row: 1; min-width: 0; display: flex; flex-direction: column; padding: 21px 20px !important; background: #fff; border: 1px solid #dce6f5; border-radius: 14px; }
.home-a-sectorpanel > :first-child { margin: 0 0 12px !important; padding: 0 !important; }
.home-a-sectorpanel h2 { color: #213b60; font-size: 17px !important; font-weight: 750; }
.home-a-active #marketCardsWrap, .home-a-active #mobileQuickCards, .home-a-seven-sectorlist { display: flex !important; flex-direction: column; gap: 0 !important; margin: 0 !important; min-width: 0; flex: 1; }
.home-a-active #marketCardsWrap[hidden], .home-a-active #mobileQuickCards[hidden], .home-a-active .home-a-seven-sectorlist[hidden] { display: none !important; }
.home-a-sector-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; align-items: center; gap: 4px 10px; padding: 13px 10px; width: 100%; min-height: 69px; flex: 1; text-align: left; background: transparent; border: 0; border-top: 1px solid #e9eff8; border-radius: 0; transition: background-color 160ms ease, color 160ms ease; cursor: pointer; font-variant-numeric: tabular-nums; }
.home-a-sector-row:first-child { border-top: 0; }
.home-a-sector-row:hover { background: #f6f9ff; }
.home-a-sector-row[aria-pressed="true"] { background: #edf4ff; border-radius: 9px; color: #1c60ce; }
.home-a-sectorname { color: #263f60; font-size: 13px; font-weight: 750; }
.home-a-sector-row strong { font-size: 21px; font-weight: 800; color: #183456; letter-spacing: -.025em; text-align: right; line-height: 1.25; }
.home-a-sector-row small { font-size: 10px; color: #8192aa; }
.home-a-sectorchange { font-size: 11px; font-weight: 650; text-align: right; }
.home-a-main-button { display: block; margin: 12px 0 0; width: 100%; min-height: 38px; border: 1px solid #dbe7fb; border-radius: 8px; color: #2466cc; font-size: 12px; font-weight: 700; background: #f6f9ff; cursor: pointer; }
.home-a-main-button[aria-pressed="true"] { background: #edf4ff; }
.home-a-side-status { margin: 0; min-height: 350px; display: grid; place-content: center; font-size: 12px; color: #7b8da7; }
.home-a-totals { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: 1fr !important; align-items: stretch; gap: 20px !important; width: 100%; margin: 20px 0 !important; }
.home-a-active .home-a-totals > button { border: 1px solid #dce6f5 !important; border-radius: 14px !important; padding: 22px 24px !important; background: #fff !important; box-shadow: none !important; min-height: 166px; }
.home-a-active .home-a-totals > button:hover { border-color: #91b7f0 !important; background: #fbfdff !important; }
.home-a-active #marketDayTurnover, .home-a-active #marketDayVolume { font-size: 32px !important; font-variant-numeric: tabular-nums; }
.home-a-active #marketDayTurnoverMeta, .home-a-active #marketDayVolumeMeta { color: #7183a0 !important; font-size: 11px !important; line-height: 1.8; font-weight: 500 !important; }
.home-a-active #aqMarketDayTurnoverNote, .home-a-active #aqMarketDayVolumeNote { display: none; }
.home-a-history-hint { display: block; margin-top: 12px; color: #296bcf; font-size: 11px; font-weight: 600; line-height: 1.6; }
.home-a-estimate-note { display: block; margin-top: 5px; color: #8796ad; font-size: 10px; line-height: 1.6; }
.home-a-previous { display: block; margin-top: 7px; min-height: 16px; color: #7385a0; font-size: 10px; line-height: 1.6; }
.home-a-active button:focus-visible { outline: 2px solid #2b6be4; outline-offset: 3px; }
.home-a-active #homeASelectionChart .klinecharts-pro-period-bar { flex-wrap: wrap; }
@media (min-width: 768px) { .home-a-mobile-main { display: none; } }
@media (min-width: 768px) and (max-width: 1100px) {
  .home-a-desktop-content { padding: 24px 20px 36px !important; }
  .home-a-workbench { grid-template-columns: minmax(0, 1fr) 245px; gap: 14px; }
  .home-a-sectorpanel { padding: 18px 13px !important; }
  .home-a-original-chart > div, .home-a-selection-chart { padding: 18px !important; }
  .home-a-quote strong { font-size: 33px; }
  .home-a-charthead { flex-wrap: wrap; }
  .home-a-sector-row strong { font-size: 19px; }
}
@media (max-width: 767px) {
  .home-a-active .home-a-desktop-content { display: none; }
  .home-a-mobile-main { padding: 22px 16px 110px !important; background: #f4f7fd; }
  .home-a-pagehead { margin-bottom: 18px; }
  html[data-csbot-mobile-polish="true"] body.home-a-active main.home-a-mobile-main > .home-a-pagehead,
  html[data-csbot-mobile-polish="true"] body.home-a-active main.home-a-mobile-main > .home-a-sourcebar { padding: 0 !important; }
  .home-a-pagehead h1 { font-size: 25px; }
  .home-a-pagehead p { font-size: 9px; }
  .home-a-sourcebar { display: block; margin: 0 0 16px !important; }
  .home-a-source-tabs { width: 100%; padding: 3px; }
  .home-a-source-tabs button { flex: 1; min-height: 39px; padding: 8px 6px; font-size: 12px; }
  .home-a-source-actions { margin-top: 8px; gap: 8px; }
  .home-a-source-note { display: block; text-align: left; font-size: 10px; margin: 0; }
  .home-a-refresh { min-height: 36px; padding: 7px 10px; font-size: 11px; }
  .home-a-data-status { margin-top: 8px; font-size: 10px; }
  .home-a-active #mobileMarketStatus { margin-bottom: 12px !important; min-height: 0; }
  .home-a-active #mobileOurMarketPanel, .home-a-selection-chart { border: 1px solid #dce6f5 !important; border-radius: 14px !important; padding: 18px 14px !important; margin: 0 0 16px !important; box-shadow: none !important; background: #fff !important; }
  .home-a-active #mobileOurMarketPanel > :first-child { gap: 8px; }
  .home-a-active #mobileOurMarketHeadlineValue { font-size: 30px !important; }
  .home-a-active #mobileOurMarketPreview { height: 400px !important; min-height: 400px !important; }
  .home-a-charthead { gap: 10px; flex-wrap: wrap; }
  .home-a-charthead h2 { font-size: 15px; }
  .home-a-quote { gap: 10px; margin-top: 8px; }
  .home-a-quote strong { font-size: 31px; }
  .home-a-quote > span { font-size: 12px; }
  .home-a-periods { margin-left: auto; }
  .home-a-periods button { padding: 5px 10px; font-size: 11px; }
  .home-a-chart-scope { font-size: 10px; margin: 11px 0; line-height: 1.7; }
  .home-a-inline-chart { height: 400px; min-height: 400px; flex-basis: 400px; }
  .home-a-chartfoot { font-size: 9px; line-height: 1.8; }
  .home-a-active #mobileMarketDaySummary { margin: 0 0 16px !important; border: 1px solid #dce6f5; border-radius: 14px; box-shadow: none; }
  .home-a-active #mobileMarketDaySummary > :first-child { padding: 14px; }
  .home-a-active #mobileMarketDaySummary > :nth-child(2) { align-items: stretch; padding: 16px 14px; }
  .home-a-active #mobileMarketDaySummary > :nth-child(2) > button { display: flex; flex-direction: column; align-items: flex-start; }
  .home-a-active #mobileMarketDayTurnover, .home-a-active #mobileMarketDayVolume { font-size: clamp(19px, 5.5vw, 24px) !important; min-height: 30px; }
  .home-a-active #mobileMarketDayDetailCta { font-size: 10px; }
  .home-a-history-hint { margin-top: auto; padding-top: 10px; font-size: 9px; }
  .home-a-estimate-note { font-size: 8px; }
  .home-a-mobile-main .home-a-sectorpanel { display: flex; margin: 0 0 16px !important; padding: 18px 15px !important; border-radius: 14px; }
  .home-a-sectorpanel h2 { font-size: 16px !important; }
  .home-a-sector-row { min-height: 72px; padding: 13px 8px; }
  .home-a-sectorname { font-size: 13px; }
  .home-a-sector-row strong { font-size: 22px; }
  .home-a-sector-row small { font-size: 10px; }
  .home-a-sectorchange { font-size: 11px; }
}
@media (max-width: 365px) {
  .home-a-mobile-main { padding-left: 12px !important; padding-right: 12px !important; }
  .home-a-periods { padding: 3px; }
  .home-a-periods button { padding: 5px 8px; }
  .home-a-quote strong { font-size: 29px; }
  .home-a-history-hint { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { .home-a-active *, .home-a-active *::before, .home-a-active *::after { transition: none !important; scroll-behavior: auto !important; } }
