/* India market explorer: scoped styles, with no chart-library dependency. */
.market-demand { --market-green: #00f35b; --market-cyan: #7adbea; --market-muted: #adc4bd; padding: 20px 24px 52px; color: #edf6f0; }
.market-demand__inner { max-width: 1180px; margin: auto; }
.market-demand__heading { text-align: center; margin: 0 auto 26px; }
.market-demand__eyebrow { color: #75dfa3; font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 12px; }
.market-demand h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.market-demand h2 em { color: var(--market-green); font: italic 1.2em 'Instrument Serif', Georgia, serif; }
.market-demand__intro { max-width: 720px; margin: 15px auto 0; color: var(--market-muted); font-size: 13px; line-height: 1.8; }
.market-explorer { border: 1px solid #487d685e; border-radius: 22px; overflow: hidden; background: linear-gradient(125deg, #162c27, #111c1e 65%); }
.market-explorer__top { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); }
.market-chart { min-width: 0; padding: 24px 24px 18px; }
.market-chart__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.market-chart h3, .market-mini h3 { font-size: 14px; font-weight: 500; margin: 0; }
.market-switch { display: flex; background: #0b1718; border: 1px solid #6eac8f30; padding: 3px; border-radius: 8px; }
.market-switch button { border: 0; border-radius: 5px; padding: 8px 10px; background: transparent; color: #b6cbc3; font: 500 10px 'Poppins', sans-serif; min-height: 36px; cursor: pointer; }
.market-switch button[aria-pressed=true] { background: #284c3e; color: #edfff4; }
.market-chart__readout { display: flex; align-items: baseline; gap: 9px; margin: 14px 0 0; flex-wrap: wrap; }
.market-chart__value { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.25; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #f1fff6; }
.market-chart__unit { font-size: 11px; color: var(--market-muted); }
.market-chart__currency-unit { color: var(--theme-accent, var(--market-green)); font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; line-height: 1.3; }
.market-chart__period { margin-left: auto; font-size: 10px; color: #80edab; }
.market-chart__period[data-forecast=true] { color: var(--market-cyan); }
.market-chart__plot { position: relative; margin-top: 12px; cursor: crosshair; touch-action: pan-y; }
.market-chart__plot svg { width: 100%; height: auto; display: block; overflow: visible; }
.market-grid-line { stroke: #85b49b1f; stroke-width: 1; }
.market-axis-label { font: 11px 'Poppins', sans-serif; fill: #91aaa2; }
.market-area { fill: url(#market-area-fill); }
.market-line { fill: none; stroke: var(--market-green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.market-line--forecast { stroke: var(--market-cyan); stroke-dasharray: 6 7; }
.market-point { stroke: #142822; stroke-width: 3; fill: #7bdb9a; }
.market-point[data-forecast=true] { fill: var(--market-cyan); }
.market-crosshair { stroke: #c4ffdb60; stroke-dasharray: 3 5; }
.market-active-halo { fill: #00f35b1a; stroke: #00f35b5c; }
.market-active-dot { fill: #e9fff2; stroke: #00f35b; stroke-width: 3; }
.market-forecast-zone { fill: #6fe2ee05; }
.market-forecast-label { font: 9px 'Poppins', sans-serif; letter-spacing: .1em; fill: #89c4cc; }
.market-chart__tooltip { position: absolute; left: clamp(64px, var(--tip-x, 51%), calc(100% - 64px)); top: var(--tip-y, 33%); transform: translate(-50%, calc(-100% - 16px)); padding: 7px 10px; min-width: 104px; border: 1px solid #6ce8a56b; border-radius: 7px; background: #0c1818f5; box-shadow: 0 4px 16px #0004; pointer-events: none; text-align: center; font-size: 10px; white-space: nowrap; }
.market-chart__tooltip strong { display: block; color: #effff5; font-weight: 500; }
.market-chart__tooltip[data-placement=below] { transform: translate(-50%, 16px); }
.market-chart__tooltip span { color: #a5c5b8; font-size: 9px; }
.market-years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 4px; }
.market-years button { background: transparent; border: 1px solid transparent; color: #b0c4bc; border-radius: 8px; padding: 9px 3px; min-width: 0; cursor: pointer; font-family: inherit; text-align: center; }
.market-years button strong { display: block; font-size: 12px; font-weight: 500; }
.market-years button span { display: block; margin-top: 5px; font-size: 9px; line-height: 1.4; }
.market-years button[aria-pressed=true] { color: #caffe0; border-color: #00f35b55; background: #00f35b09; }
.market-years button:hover { background: #c0ffd009; }
.market-chart__tooltip { transition: left 240ms ease-out, top 240ms ease-out, transform 240ms ease-out; }
.market-active-dot, .market-active-halo { transition: cx 240ms ease-out, cy 240ms ease-out; }
.market-point { transition: cy 400ms cubic-bezier(.22,1,.36,1); }
.market-line, .market-area { transition: d 400ms cubic-bezier(.22,1,.36,1); }
.market-years button, .market-switch button { transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.market-chart__legend { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 15px; font-size: 9px; color: #a4bdb3; }
.market-chart__legend > span { display: inline-flex; align-items: center; gap: 5px; }
.market-chart__legend i { width: 17px; border-top: 2px solid var(--market-green); }
.market-chart__legend .forecast-key { border-color: var(--market-cyan); border-top-style: dashed; }
.market-chart__legend p { margin: 0 0 0 auto; font-size: 9px; }
.market-event { display: flex; flex-direction: column; gap: 13px; min-width: 0; padding: 27px 25px; border-left: 1px solid #78ae9829; background: #040d0d24; }
.market-event__topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.market-event__year { color: #00f35b; font-size: 38px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.market-event__type { font-size: 9px; padding: 5px 8px; border: 1px solid #67bda83b; border-radius: 5px; color: #bfdacd; }
.market-event__date { color: #8dab9f; font-size: 10px; margin: 0; }
.market-event h3 { font-size: 19px; line-height: 1.4; margin: 0; letter-spacing: -.02em; font-weight: 500; }
.market-event__description, .market-event__impact p { color: #bfd1c9; font-size: 11px; line-height: 1.8; margin: 0; }
.market-event__impact { border-left: 2px solid #00f35b; padding: 0 0 0 12px; }
.market-event__impact > span { display: block; margin-bottom: 5px; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #78dfa1; }
.market-event__visual { display: grid; place-items: center; flex: 1; min-height: 135px; margin: 0; padding: 4px 0; }
.market-event__visual img { display: block; width: 100%; height: auto; max-width: 360px; max-height: 190px; object-fit: contain; }
.market-event__skill { display: flex; gap: 9px; align-items: center; margin-top: 0; padding-top: 7px; color: #dcf5e4; font-size: 10px; }
.market-event__skill img { width: 24px; height: 24px; object-fit: contain; }
.market-event__source { color: #9abdac; font-size: 9px; text-underline-offset: 3px; align-self: flex-start; }
.market-event__source:hover { color: #d0ffe1; }
.market-support { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.market-mini { min-width: 0; border: 1px solid #62857342; border-radius: 16px; background: #142220; padding: 20px; }
.market-mini__eyebrow { color: #80b09b; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 7px; }
.market-mini__intro { color: #a5beb2; font-size: 10px; line-height: 1.7; margin: 8px 0 14px; }
.market-salary__range { color: #e4f7eb; margin: 11px 0 1px; font-size: clamp(22px, 2.2vw, 29px); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.market-salary__range small { font-size: 11px; font-weight: 400; letter-spacing: 0; color: #afc6ba; }
.market-salary__experience { color: #7fdca2; font-size: 10px; margin: 0 0 10px; }
.market-salary__bands { display: grid; gap: 4px; }
.market-salary__bands button { display: grid; grid-template-columns: 53px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 35px; padding: 4px 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #b0c5bb; font: 400 9px 'Poppins', sans-serif; cursor: pointer; text-align: left; }
.market-salary__bands button[aria-pressed=true] { background: #00f35b09; border-color: #00f35b39; color: #deffe9; }
.market-salary__track { position: relative; height: 5px; border-radius: 4px; background: #95baaa15; }
.market-salary__track i { display: block; position: absolute; left: var(--range-start); width: var(--range-width); height: 5px; background: #65b285; border-radius: 4px; }
.market-salary__bands button[aria-pressed=true] i { background: #00f35b; box-shadow: 0 0 10px #00f35b30; }
.market-mini__note { color: #9fb8ac; font-size: 9px; line-height: 1.7; margin: 12px 0 0; }
.market-mini__note a { color: #b6d5c4; text-underline-offset: 3px; }
.market-companies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 17px 0 14px; }
.market-companies a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 66px; padding: 9px 3px; border: 1px solid #eff8f1; border-radius: 9px; background: #f0f6f2; color: #192f27; font-size: 9px; font-weight: 500; text-decoration: none; transition: transform .18s, border-color .18s; }
.market-companies a:hover { transform: translateY(-3px); border-color: #00f35b; }
.market-companies img { width: 28px; height: 25px; object-fit: contain; }
.market-companies .market-company-wordmark { width: 62px; height: 36px; }
.market-hiring__value { font-size: 46px; line-height: 1.15; letter-spacing: -.05em; margin: 14px 0 0; font-weight: 600; color: #00f35b; }
.market-hiring__value span { font-size: .57em; }
.market-hiring__comparison { display: grid; gap: 10px; margin-top: 17px; }
.market-hiring__comparison > div { display: grid; grid-template-columns: 31px minmax(0, 1fr) 38px; align-items: center; gap: 10px; font-size: 9px; color: #aac4b6; }
.market-hiring__comparison i { height: 8px; width: var(--bar-width); border-radius: 3px; background: #00f35b; }
.market-hiring__comparison > div:first-child i { background: #628b79; }
.market-hiring__comparison b { font-size: 10px; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.market-demand__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0 18px; }
.market-demand__footer p { max-width: 700px; margin: 0; font-size: 12px; line-height: 1.8; color: #b3c8be; }
.market-demand__footer .course-cta { flex: 0 0 auto; }
.market-sources { border-top: 1px solid #75ae9029; padding-top: 12px; color: #94afa1; font-size: 10px; }
.market-sources summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; min-height: 36px; list-style: none; }
.market-sources summary::-webkit-details-marker { display: none; }
.market-sources summary span:last-child { color: #b7d4c3; }
.market-sources summary span:last-child::after { content: ' +'; color: #74e7a4; }
.market-sources[open] summary span:last-child::after { content: ' −'; }
.market-sources__body { padding: 14px 0 3px; font-size: 10px; line-height: 1.8; }
.market-sources__table-wrap { overflow-x: auto; }
.market-sources table { width: 100%; border-collapse: collapse; font-size: 11px; color: #c1d5c8; }
.market-sources th, .market-sources td { padding: 9px 10px; border-bottom: 1px solid #9abcab20; text-align: left; }
.market-sources th { font-weight: 500; color: #e0f6e7; }
.market-sources ul { padding-left: 17px; }
.market-sources a { color: #add5c0; text-underline-offset: 3px; }
.market-demand :is(button, a, summary):focus-visible { outline: 2px solid #92edb6; outline-offset: 4px; }
.market-demand__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.market-demand [hidden] { display: none !important; }
@media (min-width: 1650px) { .market-demand__inner { max-width: 1320px; } }
@media (max-width: 1000px) {
  .market-explorer__top { grid-template-columns: minmax(0, 1.5fr) minmax(245px, 1fr); }
  .market-chart, .market-event { padding: 20px; }
  .market-mini { padding: 17px; }
  .market-salary__range { font-size: 23px; }
  .market-demand__footer p { max-width: 60%; }
}
@media (max-width: 760px) {
  .market-demand { padding: 18px 20px 32px; }
  .market-explorer__top { grid-template-columns: minmax(0, 1fr); }
  .market-event { border-left: 0; border-top: 1px solid #78ae9829; gap: 11px; }
  .market-event__year { font-size: 30px; }
  .market-event__skill { margin-top: 0; }
  .market-event__visual { min-height: 0; }
  .market-event__visual img { max-height: 145px; }
  .market-support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-mini:last-child { grid-column: 1 / -1; }
  .market-demand__footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .market-demand__footer p { max-width: none; }
  .market-demand__footer .course-cta { width: 100%; max-width: 100%; min-height: 48px; padding: 14px 18px; text-align: center; }
  .market-sources summary { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
  .market-demand { padding-inline: 16px; }
  .market-demand__intro { font-size: 12px; }
  .market-chart { padding: 18px 13px 15px; }
  .market-chart__toolbar { gap: 12px; }
  .market-switch { width: 100%; }
  .market-switch button { flex: 1; min-height: 44px; }
  .market-chart__value { font-size: 31px; }
  .market-chart__period { font-size: 9px; }
  .market-chart__plot svg { min-height: 160px; }
  .market-axis-label { font-size: 17px; }
  .market-forecast-label { font-size: 13px; }
  .market-chart__legend p { margin-left: 0; width: 100%; }
  .market-years button { padding-inline: 1px; min-height: 55px; }
  .market-years button span { font-size: 8px; }
  .market-support { grid-template-columns: minmax(0, 1fr); }
  .market-salary__bands button { min-height: 44px; }
  .market-mini__note, .market-mini__intro { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .market-demand *, .market-demand *::before, .market-demand *::after { transition: none !important; animation: none !important; scroll-behavior: auto; } }
