/* integ2 (17 Oct 2026, owner report): home-page fixes. Loaded by the home page only, so the
   other pages keep their stylesheets byte for byte. */

/* (a) From 960px the rail's "Closing soon" sits beside the feed: the hero's "Closing this week"
   would list the same forms twice on one screen, so it gives way there. Tablets (760-959px,
   the rail below the feed) keep it. */
@media (min-width: 960px) {
  .rx-copy > .cw { display: none; }
  /* without it the copy is shorter than the radar: the two columns meet in the middle */
  :root:not(.ret) .rx-in > .rx-copy { align-self: center; }
}

/* (b) a row standing for others of the same board and title: "+2 more" */
.same-more { font-weight: 600; color: var(--ink-2); }
.cw-m .same-more { font-weight: 600; }

/* (c) Browse by field and All exams: one compact row of chips under the tabs */
.home-main > .fields-row { margin-top: 12px; }
.fields-row { display: flex; align-items: center; gap: 8px 12px; min-width: 0; }
.fr-h { flex: none; font: var(--eyebrow); letter-spacing: .02em; color: var(--ink-3); }
.fields-row ul { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.fields-row a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.fields-row a:hover { border-color: var(--brand); color: var(--brand); }
.fields-row a .ico { width: 16px; height: 16px; color: var(--brand); }
.fields-row .fr-all { border-color: transparent; background: var(--brand-tint); color: var(--brand); }
.fields-row .fr-all .ico { width: 14px; height: 14px; }
@media (max-width: 959px) {
  /* one line that scrolls sideways, so the first job keeps its place on the screen */
  .fields-row { display: block; }
  .fr-h { display: block; margin: 0 0 6px; }
  .fields-row ul { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .fields-row ul::-webkit-scrollbar { display: none; }
  .fields-row li { flex: none; }
}
@media (min-width: 960px) {
  /* one line beside the label on a laptop: the chips drop their icons */
  .fields-row ul { flex-wrap: nowrap; gap: 6px; }
  .fields-row a { min-height: 34px; padding: 0 12px; font-size: .8125rem; }
  .fields-row li:not(:last-child) a .ico { display: none; }
}
@media print { .fields-row { display: none; } }

/* (d) after an insert the group's heading comes again; it shows exactly when an insert before
   it shows: closing soon (dc-c) and "verify the notice" (dc-v) on phones, the For-you prompt
   (dc-f) on phones and for a returning reader from 1024px, never with a saved profile */
.feed .list > .day-cont { display: none; list-style: none; }
.feed .list > .day-cont .day-h { padding: 6px 2px 0; }
@media (max-width: 599px) {
  .feed .list > .day-cont.dc-c, .feed .list > .day-cont.dc-v, :root:not(.fy-slot) .feed .list > .day-cont.dc-f { display: block; }
}
@media (min-width: 1024px) {
  :root.ret:not(.fy-slot) .feed .list > .day-cont.dc-f { display: block; }
}
.dens-compact .feed .list > .day-cont { display: none !important; }

/* Visual milestone 2: search-led introduction and clearer reading hierarchy.
   Scoped to Home; compact mode and interaction hooks retain their existing behavior. */
.p-latest .rx { padding-block: 28px 24px; background: linear-gradient(120deg, var(--hero-bg), var(--page) 78%); border-bottom: 1px solid var(--rule); }
.p-latest .rx-in { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
.p-latest .rx-h { max-width: 18ch; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 650; line-height: 1.12; letter-spacing: -.035em; margin: 16px 0; text-wrap: balance; }
.p-latest .rx-h span { display: block; }
.p-latest .rx-lede { max-width: 48ch; font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }
.p-latest .rx-search { max-width: 660px; border-radius: 12px; box-shadow: var(--shadow-1); padding: 6px 6px 6px 16px; }
.p-latest .rx-search input { font-size: 1rem; }
.p-latest .rx-search button { border-radius: 8px; }
.p-latest .rx-kicker { border: 1px solid var(--rule); background: var(--surface); padding: 5px 10px; font-size: .8125rem; }
.p-latest .rx-stats { margin-top: 14px; }
.p-latest .rx-pop { margin-top: 12px; }
.p-latest .rx-pop a { background: transparent; border-color: var(--rule); border-radius: 8px; font-size: .8125rem; }
.p-latest .rx-scene { width: 260px; }
.p-latest .sc-radar { box-shadow: 0 12px 40px -24px rgb(10 34 28 / .35); }
.p-latest .sc-log { font-size: .8125rem; box-shadow: none; }
.p-latest .home { padding-top: 24px; }
.p-latest .home-grid { gap: 32px; }
.p-latest .tabs-row { border-radius: 12px; box-shadow: none; }
.p-latest .sec-head .h-sec { font-size: 1.125rem; letter-spacing: -.015em; }
.p-latest .fields-row a { font-weight: 500; }
:root:not(.dens-compact) .p-latest .jr.card { padding: 20px; gap: 6px 16px; border-radius: 14px; }
:root:not(.dens-compact) .p-latest .jr.card .jr-title { font-size: 1.1875rem; line-height: 1.45; margin: 4px 0 0; font-weight: 600; letter-spacing: -.015em; }
:root:not(.dens-compact) .p-latest .jr.card .jr-title a { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
:root:not(.dens-compact) .p-latest .jr.card .jr-eye, :root:not(.dens-compact) .p-latest .jr.card .jr-due, :root:not(.dens-compact) .p-latest .jr.card .jr-kind { font-size: .875rem; }
:root:not(.dens-compact) .p-latest .jr.card .jr-facts { max-height: none; margin-top: 8px; gap: 6px; }
:root:not(.dens-compact) .p-latest .jr.card .jr-facts > span { border-radius: 6px; font-weight: 500; }
:root:not(.dens-compact) .p-latest .jr.card .bm { margin-top: 0; }
.p-latest .feed .list { gap: 14px; }
@media (min-width: 760px) {
 :root:not(.dens-compact) .p-latest .jr.card { grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: "lead eye bm" "lead title bm" ". due due" ". facts facts"; }
 :root:not(.dens-compact) .p-latest .jr.card .jr-due, :root:not(.dens-compact) .p-latest .jr.card .jr-kind { justify-content: flex-start; }
}
@media (min-width: 760px) and (max-width: 959px) {
 .p-latest .rx-in { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
 .p-latest .rx-scene { width: 240px; }
}
@media (max-width: 759px) {
 .p-latest .rx-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .p-latest .rx { padding-block: 20px 16px; }
 .p-latest .rx-h { font-size: 2rem; line-height: 1.18; margin: 0 0 16px; }
 .p-latest .rx-h:lang(hi) { font-size: 1.875rem; line-height: 1.4; }
 .p-latest .rx-search { padding: 4px 4px 4px 12px; }
 .p-latest .rx-pop { margin-top: 8px; }
 .p-latest .home { padding-top: 16px; }
 .p-latest .home-grid { gap: 0; }
 :root:not(.dens-compact) .p-latest .jr.card { padding: 16px; gap: 4px 12px; }
 :root:not(.dens-compact) .p-latest .jr.card .jr-title { font-size: 1.125rem; margin-top: 8px; }
 .p-latest .filters-l { display: inline; }
 .p-latest .filters summary { gap: 6px; padding-inline: 10px; }
}

/* Milestone 3: every notice type is visible on phones, with a named filter control.
   Categories remain available in the existing filter sheet; no route or hook changes. */
@media (max-width: 759px) {
 .p-latest .tabs-row { display: block; padding: 8px; isolation: isolate; }
 .p-latest .ftabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; overflow: visible; padding: 0; mask-image: none; -webkit-mask-image: none; }
 .p-latest .ftabs a { flex-direction: column; justify-content: center; gap: 1px; min-height: 52px; padding: 5px 3px; font-size: .8125rem; border-radius: 8px; }
 .p-latest .ftabs .tab-n { font-size: .75rem; font-weight: 400; }
 .p-latest .filters { position: absolute; right: 8px; bottom: 8px; width: calc((100% - 24px)/3); }
 .p-latest .filters summary { min-height: 52px; width: 100%; justify-content: center; border-radius: 8px; font-size: .8125rem; padding: 5px; }
 .p-latest .filters-l { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
 .p-latest .fields-row { display: none; }
 .p-latest .rx-strip { display: none; }
 .p-latest .rx-pop { overflow: visible; }
 .p-latest .rx-pop > div { flex-wrap: wrap; overflow: visible; }
 .p-latest .rx-pop { display: block; }
 .p-latest .rx-pop > span { display: none; }
 .p-latest .rx-pop a { min-height: 36px; }
 .p-latest .rx-stats { font-size: .8125rem; gap: 8px 12px; }
 .p-latest .rx-h { font-size: clamp(1.75rem,7.5vw,2rem); }
}
@media (min-width:760px) and (max-width:959px) {
 .p-latest .rx-copy > .cw { display: none; }
 .p-latest .rx-in { grid-template-rows: auto; row-gap: 12px; }
}

/* State is a first-class choice; native GET submission preserves every other filter. */
.p-latest .tabs-row { flex-wrap: wrap; gap: 8px; }
.p-latest .ftabs { flex-basis: 100%; }
.quick-state { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; padding: 4px 8px; }
.quick-state label { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: .875rem; }
.quick-state label .ico { width: 16px; height: 16px; color: var(--brand); }
.quick-state select { min-height: 44px; max-width: 270px; min-width: 0; flex: 1; border: 1px solid var(--rule); border-radius: 8px; background-color: var(--surface); color: var(--ink); padding: 8px 38px 8px 12px; font: inherit; font-size: .875rem; }
.quick-state-go { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); color: var(--brand); cursor: pointer; }
.quick-state-go .ico { width: 18px; height: 18px; }
@media (max-width:759px) {
 .p-latest .ftabs-pill { display: none; }
 .p-latest .ftabs.has-pill a[aria-current="page"] { background: var(--brand-tint); }
 .p-latest .filters { top: 64px; bottom: auto; }
 .p-latest .quick-state { margin-top: 8px; padding: 8px 0 0; border-top: 1px solid var(--rule); }
 .quick-state label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
 .quick-state select { max-width: none; }
}

@media (min-width:760px) {
 .p-latest .rx { padding-block: 24px; }
 .p-latest .rx-scene .vc-hero { display: none; }
 .p-latest .rx-h { font-size: clamp(2rem,3vw,2.75rem); margin-block: 12px; }
 .p-latest .rx-lede { margin-bottom: 16px; }
 .p-latest .rx-pop > span { display: none; }
}

/* Reuse the existing search visibility observer for the mobile header shortcut too.
   Keep an already-open search dismissible while the user scrolls back to the hero. */
.js:not(.srch-open) .p-latest:not(.srch-off) .srch-btn { display: none; }

/* Search and results lead; secondary discovery lives in Exams, Filters and Profile.
   Keep the existing data, controls and personalization hooks intact. */
.p-latest .rx { background: linear-gradient(115deg,var(--hero-bg),var(--page) 72%); }
.p-latest .rx-in { grid-template-columns: minmax(0,1fr) 220px; align-items: center; }
.p-latest .rx-scene { width: 220px; }
.p-latest .rx-scene .sc-log, .p-latest .rx-scene .sc-all { display: none !important; }
.p-latest .rx-kicker { border: 0; background: none; padding: 0; border-radius: 0; color: var(--ink-2); }
.p-latest .rx-h { margin-block: 12px; }
.p-latest .rx-lede { margin-bottom: 16px; }
.p-latest .rx-pop, .p-latest .fields-row { display: none; }
.p-latest .home { padding-top: 16px; }
.p-latest .home-main > * { margin-top: 16px; }
.p-latest .home-main > .tabs-row { margin-top: 0; }
.p-latest .tabs-row { border-radius: 0; box-shadow: none; background: var(--page); padding-block: 8px 12px; border-bottom: 1px solid var(--rule); }
.p-latest .tabs-row::after { display: none; }
.p-latest .quick-state { padding-inline: 0; }
.p-latest .home-main > .closing-sec.cs-mid { display: none; }
/* The deadline shortcut retains its accessible name and link, without a second card. */
.p-latest .cl-chip, :root.ret .p-latest .cl-chip { min-height: 44px; padding: 8px 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: .875rem; }
.p-latest .cl-chip .tear { display: none; }
/* An optional profile prompt must not compete with the job list. */
.p-latest .home-main > #fy .fy-setup { padding: 8px 0; border: 0; background: none; box-shadow: none; border-radius: 0; gap: 12px; min-height: 44px; }
.p-latest .home-main > #fy .fy-icon, .p-latest .home-main > #fy .fy-setup-t p { display: none; }
.p-latest .home-main > #fy .fy-setup .h-sec { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.p-latest .home-main > #fy .fy-setup .btn { background: none; color: var(--brand); border: 0; box-shadow: none; min-height: 44px; padding: 8px 0 8px 12px; font-size: .875rem; }
.p-latest .feed > .sec-head { margin-bottom: 12px; }
:root:not(.dens-compact) .p-latest .jr.card { box-shadow: none; border-color: var(--rule); }
@media (min-width:760px) {
 .p-latest .rx { padding-block: 24px; }
 .p-latest .rx-in { gap: 48px; }
 .p-latest .rx-h { font-size: clamp(2rem,3vw,2.75rem); }
 .p-latest .rx-scene { justify-self: end; }
 .p-latest .rx-scene[data-scene="board"] .sc-stage { min-height: 220px; }
}
@media (max-width:759px) {
 .p-latest .rx-in { grid-template-columns: minmax(0,1fr); }
 .p-latest .rx { padding-block: 18px; }
 .p-latest .rx-h { margin: 0 0 16px; font-size: clamp(1.625rem,7.2vw,1.875rem); }
 .p-latest .rx-h:lang(hi) { font-size: 1.75rem; line-height: 1.35; }
 .p-latest .rx-stats { margin-bottom: 0; }
 .p-latest .tabs-row { padding: 8px 0 12px; }
 .p-latest .filters { right: 0; width: calc((100% - 8px)/3); }
 .p-latest .quick-state { margin-top: 8px; padding-top: 12px; }
 .p-latest .home-main > * { margin-top: 12px; }
 .p-latest .feed .list { gap: 10px; }
}
.p-latest .home-main > #fy .fy-setup { display: flex; align-items: center; justify-content: space-between; }
.p-latest .home-main > #fy .fy-setup-t { flex: 1; min-width: 0; }
/* Personalized matches lead only after the user has saved eligibility details.
   Setup remains reachable through Profile and the contextual prompt within the feed. */
:root:not(.fy-slot) .p-latest .home-main > #fy { display: block; }
@media (min-width:760px) {
 .p-latest .rx-lede { display: none; }
 .p-latest .rx { padding-block: 20px; }
 .p-latest .rx-h { margin-bottom: 20px; }
}
@media (max-width:759px) {
 /* On phones the title states the task; job information takes the remaining space. */
 .p-latest .rx-h span { display: none; }
 .p-latest .ftabs a { min-height: 44px; }
 .p-latest .filters { top: 56px; }
 .p-latest .filters summary { min-height: 44px; }
 :root:not(.dens-compact) .p-latest .jr.card { grid-template-columns: minmax(0,1fr) 44px; grid-template-areas: "eye bm" "title title" "due due" "facts facts"; padding: 12px 16px; gap: 4px 10px; }
 :root:not(.dens-compact) .p-latest .jr.card .jr-lead { display: none; }
 :root:not(.dens-compact) .p-latest .jr.card .jr-title { margin: 0; }
 :root:not(.dens-compact) .p-latest .jr.card .jr-due { margin-top: 4px; }
 :root:not(.dens-compact) .p-latest .jr.card .jr-dl > .sr { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
 :root:not(.dens-compact) .p-latest .jr.card .jr-facts { margin-top: 4px; }
}
@media (max-width:759px) {
 .p-latest .ftabs a, .p-latest .ftabs .tab-n { line-height: 1.25; }
 .p-latest .tabs-row { padding-bottom: 8px; }
 .p-latest .quick-state { padding-top: 8px; margin-top: 4px; }
}
/* The personalized-results state must never reveal the setup prompt. */
:root.fy-slot .p-latest .home-main > #fy #fy-setup { display: none; }
/* Hindi rows carry a translated summary as well as the official title. Give that
   summary an explicit area so it cannot create implicit columns at narrow widths. */
@media (max-width:759px) {
 :root:not(.dens-compact) .p-latest .jr.card:has(.hi-meta) { grid-template-areas: "eye bm" "title title" "meta meta" "due due" "facts facts"; }
}
@media (min-width:760px) {
 :root:not(.dens-compact) .p-latest .jr.card:has(.hi-meta) { grid-template-areas: "lead eye bm" "lead title bm" ". meta meta" ". due due" ". facts facts"; }
}
@media (max-width:759px) {
 /* The two-row phone controls scroll away, leaving room to read job details. */
 :root .p-latest .tabs-row { position: relative; top: auto; }
 .p-latest #feed.tabs-row { scroll-margin-top: 12px; }
}

/* Align discovery with the results column and let job titles breathe. */
@media (min-width:960px) {
 .p-latest .rx-in { grid-template-columns: minmax(0,1fr) 310px; gap: 32px; }
 .p-latest .rx-scene { justify-self: center; }
 .p-latest .rx-search { max-width: none; }
 .p-latest .rx-h { max-width: none; }
 .p-latest .home-rail > :first-child { margin-top: 8px; }
 .p-latest .rail-sticky { padding: 20px; box-shadow: none; border-radius: 16px; }
 .p-latest .rail-sticky .cal-row { gap: 16px; padding-block: 12px; }
 .p-latest .rail-sticky .tear { width: 72px; height: 86px; }
 .p-latest .rail-sticky .tear-pg b { font-size: 2rem; }
}
.p-latest .tabs-row { border-inline: 0; border-top: 0; }
.p-latest .day-h { color: var(--ink-2); font-weight: 500; }
/* Compact remains denser than cards but keeps the full job title readable. */
:root.dens-compact .p-latest .feed .list { border-radius: 14px; box-shadow: none; }
:root.dens-compact .p-latest .feed .jr.card {
 grid-template-columns: minmax(0,1fr) 76px 44px;
 grid-template-areas: "eye cd bm" "title cd bm";
 min-height: 84px; padding: 12px 12px 12px 20px; gap: 4px 12px;
 background: var(--surface);
}
:root.dens-compact .p-latest .feed .jr-lead,
:root.dens-compact .p-latest .feed .jr-facts { display: none; }
:root.dens-compact .p-latest .feed .jr-eye { font-size: .75rem; font-weight: 500; color: var(--ink-2); }
:root.dens-compact .p-latest .feed .jr-title { font-size: 1rem; line-height: 1.45; font-weight: 600; }
:root.dens-compact .p-latest .feed .jr-title a { display: block; overflow: visible; white-space: normal; -webkit-line-clamp: unset; line-clamp: unset; }
:root.dens-compact .p-latest .feed .jr.card:has(.hi-meta) { grid-template-areas: "eye cd bm" "title cd bm" "meta meta meta"; }
:root.dens-compact .p-latest .feed .jr.card:hover { background: var(--raised); }
.p-latest .jr.card:focus-within { border-color: var(--brand); }
@media (max-width:759px) {
 :root.dens-compact .p-latest .feed .jr.card {
  grid-template-columns: minmax(0,1fr) 44px;
  grid-template-areas: "eye bm" "title title" "due due";
  padding: 12px 16px; gap: 2px 8px;
 }
 :root.dens-compact .p-latest .feed .jr.card:has(.hi-meta) { grid-template-areas: "eye bm" "title title" "meta meta" "due due"; }
 :root.dens-compact .p-latest .feed .jr-cd { width: auto; text-align: left; margin-top: 6px; font-size: .8125rem; }
 :root.dens-compact .p-latest .feed .bm { align-self: start; }
 .p-latest .rx-stats { gap: 6px 14px; line-height: 1.6; }
}

@media (max-width:759px) {
 :root.dens-compact .p-latest .feed .jr-cd { display: none; }
 :root.dens-compact .p-latest .feed .jr-due,
 :root.dens-compact .p-latest .feed .jr-kind {
  position: static; grid-area: due; width: auto; height: auto; overflow: visible;
  clip: auto; white-space: normal; margin-top: 6px; font-size: .8125rem;
 }
 :root.dens-compact .p-latest .feed .jr-due { justify-content: flex-start; }
}

/* Saved profiles: suggestions are readable cards, not fixed 36px pills. */
:root.yx-slot .p-latest #yourexams:not([hidden]),
.p-latest .yx:not([hidden]) { height: auto; max-width: none; overflow: visible; }
.p-latest .yx-head { height: auto; min-height: 28px; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.p-latest .yx-h { white-space: normal; overflow: visible; line-height: 1.4; }
.p-latest .yx-sug .yx-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: auto; gap: 10px; margin: 0; padding: 2px 0 6px; overflow: visible; }
.p-latest .yx-sug .yx-chip, .p-latest .yx-sug .yx-chip.is-long {
 height: auto; min-height: 92px; padding: 12px; border-radius: 12px; box-shadow: none;
 grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; align-content: center; gap: 6px 10px;
}
.p-latest .yx-sug .yx-n, .p-latest .yx-sug .yx-chip.is-long .yx-n {
 display: block; font-size: 1rem; line-height: 1.35; white-space: normal; overflow: visible;
}
.p-latest .yx-sug .yx-n a { overflow: visible; }
.p-latest .yx-sug .yx-c, .p-latest .yx-sug .yx-chip.is-long .yx-c {
 display: block; font-size: .8125rem; line-height: 1.45; white-space: normal; overflow: visible;
}
.p-latest .yx-sug .yx-fb {
 min-height: 44px; height: auto; padding: 8px 10px; border: 1px solid var(--rule-2);
 border-radius: 8px; background: var(--surface); color: var(--brand); font-size: .8125rem;
}
.p-latest .yx-sug .yx-fb:hover, .p-latest .yx-sug .yx-fb.is-on { background: var(--brand-tint); }
.p-latest #yourexams { scroll-margin-top: calc(var(--top-h) + 16px); }
.p-latest #fy.fy-ready { margin-top: 20px; }
.p-latest #fy-list { padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; }
.p-latest #fy-list .sec-head { align-items: center; margin-bottom: 12px; }
.p-latest #fy-edit { min-height: 44px; display: inline-flex; align-items: center; }
.p-latest #fy-sum:empty, .p-latest #fy-rows:empty { display: none; }
.p-latest #fy-empty { padding: 0; border: 0; background: none; line-height: 1.6; }
.p-latest #fy-list .fy-chips { margin-block: 12px; }
.p-latest #fy-list .fy-exams { margin-block: 8px; }
@media (min-width:760px) and (max-width:1199px) {
 .p-latest .yx-sug .yx-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:759px) {
 :root.yx-slot .p-latest .rx-copy > .yourexams { order: 0; margin: 16px 0 8px; }
 .p-latest .yx-sug .yx-list { display: flex; overflow-x: auto; margin-inline: -4px; padding: 4px; scroll-padding-inline: 4px; }
 .p-latest .yx-sug .yx-li { flex: 0 0 88%; max-width: 360px; }
 .p-latest .yx-sug .yx-chip { height: 100%; }
 .p-latest #fy-list { padding: 16px; }
 .p-latest #fy-list .sec-head { gap: 8px; flex-wrap: wrap; }
}
:root.yx-slot .p-latest .rx { padding-bottom: 20px; }
@media (max-width:759px) { :root.yx-slot .p-latest .rx { padding-bottom: 16px; } }

/* A name-independent career journey. Finite entrance motion settles within 3s. */
.p-latest .career-scene { position: relative; width: 310px; height: 246px; justify-self: end; isolation: isolate; pointer-events: none; color: var(--brand); }
.career-grid { position: absolute; inset: 8px -8px 30px; border-radius: 50%; background: radial-gradient(ellipse, var(--brand-tint), transparent 70%); }
.career-plane { position: absolute; width: 130px; height: 168px; padding: 16px; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--surface); box-shadow: -10px 18px 28px -20px rgb(10 34 28 / .35); transform: perspective(700px) rotateY(-22deg) rotateZ(-6deg); animation: career-arrive 1.3s cubic-bezier(.2,.7,.2,1) both; }
.career-source { top: 10px; left: 0; opacity: .65; }
.career-match { top: 34px; left: 85px; z-index: 2; animation-delay: .2s; border-color: var(--brand); }
.career-next { top: 58px; left: 170px; z-index: 3; animation-delay: .4s; background: var(--brand); color: var(--on-brand, #fff); border-color: var(--brand); }
.career-plane svg { display: block; width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.career-plane strong { display: block; font-size: .75rem; max-width: 72px; line-height: 1.5; font-weight: 600; margin-bottom: 12px; }
.career-step { position: absolute; right: 14px; top: 16px; font-size: .625rem; opacity: .7; font-variant-numeric: tabular-nums; }
.career-line { display: block; height: 3px; width: 82%; border-radius: 4px; background: currentColor; opacity: .2; margin-top: 9px; }
.career-line.short { width: 56%; }
.career-check { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.career-check i { font-size: .75rem; font-style: normal; }
.career-check .career-line { margin: 0; }
.career-caption { position: absolute; bottom: -12px; inset-inline: 0; margin: 0; text-align: center; font-size: .6875rem; letter-spacing: .02em; color: var(--ink-3); }
@keyframes career-arrive { from { translate: 22px 14px; opacity: 0; } to { translate: 0 0; } }
@media (min-width:960px) { .p-latest .rx-in { grid-template-columns: minmax(0,1fr) 310px; } }
@media (min-width:760px) and (max-width:959px) {
 .p-latest .career-scene { width: 260px; height: 220px; }
 .career-plane { width: 130px; height: 156px; padding: 12px; }
 .career-match { left: 58px; top: 24px; }
 .career-next { left: 120px; top: 40px; }
 .career-caption { bottom: 0; }
}
@media (max-width:759px) {
 /* A compact three-step ribbon, without moving the search or results down a full hero. */
 .p-latest .career-scene { display: flex; width: 100%; height: auto; gap: 6px; justify-self: stretch; margin-top: 0; }
 .career-grid, .career-caption, .career-step, .career-plane .career-line, .career-check { display: none; }
 .career-plane { position: static; flex: 1; min-width: 0; width: auto; height: auto; display: flex; align-items: center; gap: 6px; padding: 8px; transform: none; border-radius: 8px; box-shadow: none; opacity: 1; }
 .career-plane svg { flex: none; width: 18px; height: 18px; margin: 0; }
 .career-plane strong { font-size: .625rem; line-height: 1.4; margin: 0; }
 .career-next { background: var(--brand-tint); color: var(--brand); border-color: var(--rule-2); }
}
@media (prefers-reduced-motion:reduce) { .career-plane { animation: none; } }
@media print { .career-scene { display: none !important; } }
/* Keep the illustration beside the complete copy block on tablets, too. */
@media (min-width:760px) and (max-width:959px) {
 :root:not(.ret) .p-latest .rx-copy { display: block; }
 .p-latest .rx-in { grid-template-columns: minmax(0,1fr) 260px; gap: 24px; }
 .career-plane { width: 110px; }
 .career-plane strong { max-width: 58px; font-size: .6875rem; }
 .career-match { left: 75px; }
 .career-next { left: 150px; }
}
@media (max-width:759px) {
 .career-plane { padding: 8px 6px; gap: 5px; }
 .career-plane svg { width: 16px; height: 16px; }
 .career-plane strong { font-size: .75rem; max-width: none; }
}
/* Each selectable stage rises and becomes the focus; motion never loops. */
.p-latest .career-scene { pointer-events: auto; height: 270px; }
.career-plane { font: inherit; text-align: start; cursor: pointer; color: var(--ink-2); opacity: 1; animation: none; background: var(--surface); border-color: var(--rule-2); transition: transform .65s cubic-bezier(.2,.7,.2,1), background-color .45s, color .45s, box-shadow .45s; }
.career-plane[aria-pressed="true"] { color: var(--on-brand); background: var(--brand-fill); border-color: var(--brand-fill); transform: perspective(700px) rotateY(-12deg) rotateZ(-3deg) translateY(-8px); box-shadow: -8px 20px 30px -18px rgb(10 34 28 / .4); }
.career-plane:focus-visible, .career-replay:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.career-caption { bottom: 0; padding-right: 36px; line-height: 1.5; text-align: left; }
.career-replay { position: absolute; bottom: -10px; right: 0; width: 44px; height: 44px; background: transparent; color: var(--brand); border: 0; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.career-replay[hidden] { display: none; }
.career-replay:hover { background: var(--brand-tint); }
@media (min-width:760px) and (max-width:959px) { .p-latest .career-scene { height: 240px; } }
@media (max-width:759px) {
 .p-latest .career-scene { height: auto; padding-bottom: 0; }
 .career-plane { min-height: 52px; }
 .career-plane[aria-pressed="true"] { transform: none; box-shadow: none; }
 .career-replay { position: static; flex: 0 0 32px; width: 32px; height: auto; min-height: 52px; font-size: 1.25rem; }
 .career-plane svg { display: none; }
}
@media (prefers-reduced-motion:reduce) { .career-plane { transition: none; animation: none; } }
/* Shared buttons use flex; illustration cards retain their vertical composition. */
.p-latest .career-plane { display: block; }
.p-latest .career-plane svg { flex-shrink: 0; }
@media (max-width:759px) { .p-latest .career-plane { display: flex; justify-content: center; } }

/* Returning readers previously inherited a 240px radar column for a 310px scene.
   Keep the copy and illustration in separately sized tracks in every profile state. */
@media (min-width:960px) {
 :root.ret .p-latest .rx-in { grid-template-columns: minmax(0,1fr) 310px; gap: 32px; }
}
@media (min-width:760px) and (max-width:959px) {
 :root.ret .p-latest .rx-in { grid-template-columns: minmax(0,1fr) 260px; gap: 24px; }
}
@media (max-width:759px) {
 :root.ret .p-latest .rx-in { grid-template-columns: minmax(0,1fr); gap: 16px; }
}
.p-latest .career-scene { min-width: 0; max-width: 100%; }
/* Progressive disclosure preserves the existing filter form and radio group. */
.filter-more-types { margin-top: 10px; }
.filter-more-types > summary { position: static; display: flex; align-items: center; width: auto; min-height: 44px; padding: 8px 0; color: var(--brand); background: none; border: 0; border-radius: 0; list-style: none; cursor: pointer; font-size: .875rem; }
.filter-more-types > summary::after { content: '+'; margin-left: 8px; }
.filter-more-types[open] > summary::after { content: '−'; }
.filter-more-types > summary::-webkit-details-marker { display: none; }
.career-caption { font-size: .8125rem; padding-right: 46px; }
.career-caption [hidden] { display: none; }
@media (min-width:760px) { .p-latest .career-scene { height: 290px; } }
@media (max-width:759px) {
 .p-latest .career-scene { flex-wrap: wrap; padding-bottom: 48px; }
 .career-replay { flex: 0 0 44px; width: 44px; min-width: 44px; }
 .career-caption { display: block; bottom: 0; padding: 0; font-size: .8125rem; min-height: 38px; }
}

/* State and education remain primary controls at every width. */
.quick-state { flex-wrap: wrap; }
.quick-state select { flex: 1 1 130px; }
.pager { flex-wrap: wrap; align-items: center; gap: 12px; }
.pager-count { color: var(--ink-2); font-size: .875rem; }
@media(max-width:600px) {
 .quick-state { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; }
 .quick-state label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
 .quick-state select { width:100%; font-size: .8125rem; }
}

.jr-details { grid-area:due; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; min-width:0; }
:root:not(.dens-compact) .p-latest .jr.card .jr-details .jr-due,
:root:not(.dens-compact) .p-latest .jr.card .jr-details .jr-facts { margin:0; }
.jr-details .jr-facts { flex:1 1 auto; }
:root.dens-compact .p-latest .feed .jr-details { display:contents; }


@media(max-width:600px) {
 .quick-state label { position:static; width:auto; height:auto; overflow:visible; clip:auto; font-size:.75rem; }
 .quick-state label[for="quick-state"] { grid-area:1 / 1; }
 .quick-state label[for="quick-state"] span { position:static; width:auto; height:auto; overflow:visible; clip:auto; }
 .quick-state label[for="quick-qual"] { grid-area:1 / 2; }
 #quick-state { grid-area:2 / 1; }
 #quick-qual { grid-area:2 / 2; }
 .quick-state-go { grid-area:2 / 3; }
}

/* Inline board groups: disclosure stays above its rows, preserving reading position. */
.run-more .board-expand { width:100%; }
.board-expand summary { cursor:pointer; color:var(--brand); min-height:44px; display:flex; align-items:center; padding:8px 12px; font-weight:600; }
.board-expand .collapse-label, .board-expand[open] .expand-label { display:none; }
.board-expand[open] .collapse-label { display:inline; }
.board-extra { padding:0; margin:0; }
.board-expand[open] .board-extra { animation:board-reveal .16s ease-out; }
@keyframes board-reveal { from { opacity:0; transform:translateY(-3px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { .board-expand[open] .board-extra { animation:none; } }

:root:not(.fy-slot) .p-latest .home-main > #fy .fy-setup { padding:16px; background:var(--surface); border:1px solid var(--rule); border-radius:12px; flex-wrap:wrap; }
:root:not(.fy-slot) .p-latest .home-main > #fy .fy-setup-t p { display:block; font-size:.8125rem; color:var(--ink-2); margin-top:4px; }
:root:not(.fy-slot) .p-latest .home-main > #fy .fy-setup .h-sec { color:var(--ink); font-weight:600; font-size:1rem; }
:root:not(.fy-slot) .p-latest .home-main > #fy .fy-setup .btn { background:var(--brand); color:var(--on-brand); padding:10px 16px; }

.board-expand:not([open]) > .board-extra { display:none; }

/* Section navigation follows a single inline icon / label / count pattern.
   Reference: GitHub repository navigation. Keep link semantics for real page URLs. */
.p-latest .section-nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:4px; width:100%; margin:16px 0; padding:6px; overflow:visible; border:1px solid var(--rule); border-radius:12px; background:var(--surface); box-shadow:var(--shadow-1); mask-image:none; -webkit-mask-image:none; scroll-margin-top:90px; }
.p-latest .section-nav .section-tile { display:inline-flex; flex:0 0 auto; flex-direction:row; align-items:center; justify-content:center; gap:6px; min-height:48px; min-width:0; padding:9px 6px; position:relative; border:1px solid transparent; border-radius:8px; box-shadow:none; background:transparent; color:var(--ink-2); text-decoration:none; white-space:nowrap; font-size:.875rem; line-height:1.4; }
.p-latest .section-nav .nav-item-label { margin:0; padding:0; font:inherit; font-weight:600; }
.p-latest .section-nav .section-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:16px; height:20px; color:inherit; }
.p-latest .section-nav .section-icon .ico { width:16px; height:16px; }
.p-latest .section-nav .tab-n { display:inline-block; flex:none; margin:0; padding:1px 6px; border-radius:12px; background:var(--rule); color:var(--ink-2); font-size:.75rem; line-height:1.5; font-weight:500; }
.p-latest .section-nav a[aria-current="page"] { color:var(--brand); border-color:var(--brand); background:var(--brand-tint); }
.p-latest .section-nav a[aria-current="page"] .nav-item-label { font-weight:700; }
.p-latest .section-nav a[aria-current="page"]::after { display:none; }
.p-latest .section-nav a:hover { color:var(--ink); background:var(--brand-tint); }
.p-latest .section-nav a:focus-visible { outline:2px solid var(--brand); outline-offset:-2px; border-radius:4px; }
.p-latest .tabs-row > .section-nav { margin-top:0; }
:root .p-latest .home-main > #fy:not(:target) { display:none; }
:root .p-latest .home-main > #fy:target { display:block; }
.p-latest #fy { scroll-margin-top:90px; }
.p-latest #fy:target .fy-setup, .p-latest #fy:target #fy-list { animation:fy-arrive .25s ease-out both; }
@keyframes fy-arrive { from { opacity:.5; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
.p-latest .feed .ins-fy { display:none; }
@media(max-width:759px) {
 .p-latest .tabs-row > .filters { position:relative; top:auto; right:auto; bottom:auto; width:auto; margin-top:8px; }
 .p-latest .tabs-row > .filters > summary { width:auto; min-height:44px; justify-content:center; }
}
@media(max-width:599px) {
 .p-latest .section-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2px 4px; scroll-margin-top:72px; }
 .p-latest .section-nav .section-tile { justify-content:flex-start; padding:10px 6px; gap:6px; font-size:.8125rem; }
 .p-latest .section-nav .tab-n { font-size:.6875rem; padding-inline:4px; }
 .p-latest #fy { scroll-margin-top:72px; }
}
@media(max-width:379px) { .p-latest .section-nav .section-icon { display:none; } }
@media(prefers-reduced-motion:reduce) { .p-latest #fy:target .fy-setup, .p-latest #fy:target #fy-list { animation:none; } }
.p-latest #yourexams { padding:16px; background:var(--surface); border:1px solid var(--rule); border-radius:12px; }
.p-latest #yourexams .yx-head { margin:0 0 8px; }
.p-latest #yourexams .yx-h { font-size:.9375rem; }
.p-latest #yourexams .yx-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; margin:0; padding:0; overflow:visible; }
.p-latest #yourexams .yx-li { min-width:0; max-width:none; }
.p-latest #yourexams .yx-chip, .p-latest #yourexams .yx-chip.is-long { min-height:72px; height:auto; border:0; border-radius:0; border-top:1px solid var(--rule); background:transparent; box-shadow:none; padding:12px 0; gap:4px 8px; }
.p-latest #yourexams .yx-n, .p-latest #yourexams .yx-chip.is-long .yx-n { font-size:.875rem; }
.p-latest #yourexams .yx-c { font-size:.75rem; }
.p-latest #yourexams .yx-fb { background:transparent; border-color:transparent; padding:6px; min-height:44px; }
.p-latest #yourexams .yx-fb:hover, .p-latest #yourexams .yx-fb.is-on { background:var(--brand-tint); }
@media(max-width:599px) {
 .p-latest #yourexams { padding:12px; }
 .p-latest #yourexams .yx-list { grid-template-columns:minmax(0,1fr); }
 .p-latest #yourexams .yx-li { width:100%; }
 .p-latest #yourexams .yx-chip { min-height:68px; }
}

@media(min-width:600px) and (max-width:1199px) { .p-latest .section-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); } .p-latest .section-nav .section-tile { justify-content:flex-start; padding-inline:6px; gap:6px; font-size:.8125rem; } }

/* Deadline text stays still; only cards that fit the viewport follow scrolling. */
.p-latest .rail-sticky { position: static; }
@media (min-width: 960px) {
 .p-latest .rail-sticky { top: calc(var(--top-h) + 16px); }
 .p-latest .rail-sticky.fits-viewport { position: sticky; }
}
.p-latest .rail-sticky .sec-head { flex-wrap: wrap; gap: 8px; }
.p-latest .rail-sticky .cal-row { gap: 12px; padding-block: 4px; margin-bottom: 12px; }
.p-latest .rail-sticky .tear { width: 56px; height: 68px; }
.p-latest .rail-sticky .tear-ring { padding-inline: 12px; }
.p-latest .rail-sticky .tear-pg b { font-size: 1.5rem; }
.p-latest .rail-sticky .tear-pg small { padding: 4px 0 2px; }
.p-latest .rail-sticky .tear-pg em { font-size: .625rem; padding-bottom: 4px; }
.p-latest .rail-sticky .cal-sum { font-size: .8125rem; }
.p-latest .rail-sticky .cal-sum b { font-size: 1.5rem; }
.p-latest .closing-sec .ctl-m a, .p-latest .rail-sticky .ctl-m a {
 display: block; max-height: none; overflow: visible; -webkit-line-clamp: unset;
}
.p-latest .cl-tl .tear-top { display: none; }

.p-latest .rail-sticky .tear-pg { grid-template-rows: auto 1fr; }
.p-latest .rail-sticky .tear-pg em { display: none; }

/* One-time recommendation reveal, with stationary text after entry. */
.p-latest .yx-heading-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); }
.p-latest .yx-heading-icon .ico { width: 18px; height: 18px; }
.p-latest #yourexams .yx-head { justify-content: flex-start; gap: 10px; }
.p-latest #yourexams .yx-head .yx-all { margin-inline-start: auto; }
.p-latest #yourexams .yx-li[hidden] { display: none !important; }
.p-latest .yx-more { margin-top: 12px; }
.p-latest .yx-reveal { animation: yx-enter 220ms ease-out both; }
.p-latest .yx-reveal .yx-li { animation: yx-enter 260ms ease-out both; animation-delay: calc(var(--yx-order, 0) * 45ms); }
.p-latest .yx-feedback .ico { animation: yx-confirm 240ms ease-out; }
@keyframes yx-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes yx-confirm { 50% { transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) {
 .p-latest .yx-reveal, .p-latest .yx-reveal .yx-li, .p-latest .yx-feedback .ico { animation: none; }
}

/* A factual count widget; no implied eligibility or preparation score. */
.p-latest #yourexams .yx-h { flex: 1; min-width: 140px; }
.p-latest .yx-summary { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); margin-inline-start: auto; }
.p-latest .yx-summary-count { font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.p-latest .yx-summary-text { display: grid; gap: 3px; font-size: .75rem; font-weight: 600; line-height: 1.3; }
.p-latest .yx-summary-followed { color: var(--ink-2); font-size: .6875rem; font-weight: 400; }
.p-latest .yx-reveal .yx-summary { animation: yx-enter 400ms ease-out both; }
@media (max-width: 599px) {
 .p-latest #yourexams .yx-head { gap: 8px; }
 .p-latest #yourexams .yx-heading-icon { display: none; }
 .p-latest #yourexams .yx-h { min-width: 100px; }
 .p-latest .yx-summary { gap: 6px; padding: 8px; border-radius: 8px; }
 .p-latest .yx-summary-count { font-size: 1.5rem; }
 .p-latest .yx-summary-text { max-width: 84px; font-size: .6875rem; }
}
@media (prefers-reduced-motion: reduce) { .p-latest .yx-reveal .yx-summary { animation: none; } }

/* Keep followed actions readable and stable instead of shrinking to a tick. */
.p-latest #yourexams .yx-fb { min-width: 100px; justify-content: center; gap: 6px; border-radius: 8px; padding: 6px 10px; }
.p-latest #yourexams .yx-fb.is-on { padding: 6px 10px; background: var(--brand-tint); }
.p-latest #yourexams .yx-fb.is-on .yx-fl { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; }

/* The recommendation total is a focal point, distinct from action buttons. */
.p-latest .yx-summary {
 background: linear-gradient(125deg, #183c37, #285c50); color: #f4f8f2;
 border: 1px solid #396c5d; box-shadow: 0 4px 12px rgb(20 55 45 / .12);
 padding: 12px 16px; gap: 14px;
}
.p-latest .yx-summary-count { color: #f4d58a; font-size: 2.5rem; font-weight: 750; }
.p-latest .yx-summary-followed { color: #d3e3da; }
.p-latest .yx-summary-text { font-size: .75rem; }
.p-latest .yx-reveal .yx-summary-count { animation: yx-count-arrive 450ms ease-out both; }
@keyframes yx-count-arrive { from { opacity: 0; transform: translateY(6px) scale(.9); } to { opacity: 1; transform: none; } }
@media (max-width:599px) {
 .p-latest .yx-summary { padding: 9px 10px; gap: 8px; }
 .p-latest .yx-summary-count { font-size: 1.875rem; }
 .p-latest .yx-summary-text { font-size: .6875rem; }
}
@media (prefers-reduced-motion: reduce) { .p-latest .yx-reveal .yx-summary-count { animation: none; } }

.p-latest .yx-reveal .yx-li:nth-child(1) { animation-delay: 0ms; }
.p-latest .yx-reveal .yx-li:nth-child(2) { animation-delay: 45ms; }
.p-latest .yx-reveal .yx-li:nth-child(3) { animation-delay: 90ms; }
.p-latest .yx-reveal .yx-li:nth-child(4) { animation-delay: 135ms; }
.p-latest .yx-reveal .yx-li:nth-child(5) { animation-delay: 180ms; }
.p-latest .yx-reveal .yx-li:nth-child(6) { animation-delay: 225ms; }

.quick-state { display: flex; align-items: flex-end; flex-wrap: wrap; }
.quick-state .filter-field { flex: 1 1 150px; }
.quick-state .filter-field > label { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: block; }
.quick-state .filter-select select { width: 100%; max-width: none; padding-inline: 38px; }
@media (max-width: 600px) { .quick-state .filter-field { flex: 1 1 calc(50% - 8px); } }
@media (max-width: 359px) { .quick-state .filter-field { flex-basis: 100%; } }

/* Align the labeled fields and actions on their control baseline. */
.p-latest .tabs-row { align-items: flex-end; }
.p-latest .quick-state { padding-bottom: 0; }
.p-latest .tabs-row > .filters { align-self: flex-end; margin-bottom: 0; }
@media (min-width: 760px) {
 .p-latest .quick-state { flex: 1 1 0; padding-inline: 0; flex-wrap: nowrap; }
 .quick-state .filter-field { flex: 1 1 0; max-width: 240px; }
 .p-latest .tabs-row > .filters > summary { min-height: 44px; }
}

/* Secondary filters sit at the card edge, apart from the primary controls. */
.p-latest .tabs-row { padding-inline: 0; }
.p-latest .tabs-row > .quick-state { padding-inline: 0; }
.p-latest .tabs-row > .filters { margin-inline-start: auto; }
@media (max-width: 759px) {
 .p-latest .tabs-row > .filters { width: fit-content; }
}

:root.suggestions-hidden .p-latest #yourexams,
:root.suggestions-hidden .p-latest .home-main > #fy { display: none !important; }
.p-latest .section-you[aria-pressed="true"] { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }

/* Swap icons within the same slot so toggling For you cannot change its width. */
.section-you .you-idle { display: inline-flex; }
.section-you .you-active { display: none; }
.section-you[aria-pressed="true"] .you-idle { display: none; }
.section-you[aria-pressed="true"] .you-active { display: inline-flex; }

/* Mobile browsing puts real results ahead of decorative content. */
@media (max-width: 759px) {
 .p-latest .career-scene { display: none; }
 .p-latest .rx { padding-block: 16px; }
 .p-latest .rx-in { row-gap: 0; }
 .p-latest .section-nav { margin-block: 12px; padding: 4px; }
 .p-latest .section-nav .section-tile { min-height: 44px; padding-block: 7px; }
 .p-latest .tabs-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
 .p-latest .tabs-row > .section-nav { grid-column: 1 / -1; grid-row: 1; }
 .p-latest .tabs-row > .quick-state { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; margin-top: 0; padding-top: 0; border-top: 0; }
 .p-latest .quick-state-go { grid-column: 1; grid-row: auto; justify-self: start; }
 .p-latest .tabs-row > .filters { grid-column: 2; grid-row: 2; justify-self: end; margin-top: 0; align-self: end; }
 .p-latest .quick-state .filter-field { max-width: none; }
}
@media (max-width: 359px) {
 .p-latest .quick-state .filter-field { grid-column: 1 / -1; }
}

.qualification-note { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r-s); color: var(--ink-2); font-size: .875rem; }
.qualification-note a { font-weight: 600; text-underline-offset: 3px; }
.qualification-note span { display: block; margin-top: 4px; line-height: 1.5; }

/* Keep phone browsing compact without shrinking text or touch targets. */
@media (max-width: 759px) {
 .p-latest .rx { padding-block: 12px; }
 .p-latest .rx-h { margin-bottom: 12px; }
 .p-latest .section-nav { margin-block: 10px; }
 .p-latest .rx-stats { margin-top: 8px; gap: 4px 14px; }
 .p-latest .rx-stats .rx-st-boards { display: none; }
 .p-latest .home { padding-top: 12px; }
 .p-latest .tabs-row { padding-block: 0; }
 .p-latest .home-main > .cl-chip { margin-top: 8px; }
 .p-latest .home-main > .feed { margin-top: 8px; }
}

.scope-secondary { display: block; margin-top: 3px; color: var(--ink-3); font-size: .75rem; font-weight: 400; }

/* Returning desktop visitors reach the feed without a full-height illustration. */
@media (min-width: 960px) {
 :root.ret .p-latest .career-scene { height: 200px; align-self: start; }
 :root.ret .p-latest .career-plane { height: 132px; padding: 12px; }
 :root.ret .p-latest .career-plane svg { width: 24px; height: 24px; margin-bottom: 8px; }
 :root.ret .p-latest .career-match { top: 24px; }
 :root.ret .p-latest .career-next { top: 38px; }
 :root.ret .p-latest .career-caption { bottom: 0; }
 :root.ret .p-latest .career-line, :root.ret .p-latest .career-check { display: none; }
}
/* Counts occupy their own row at narrow widths, including longer Hindi text. */
@media (max-width: 430px) {
 .p-latest .feed > .sec-head, .p-latest .feed > .sec-head[data-long] {
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas: "h b" "n n"; align-items: center; gap: 4px 8px;
 }
 .p-latest .feed > .sec-head > .h-sec { grid-area: h; padding-top: 0; }
 .p-latest .feed > .sec-head > .sec-n { grid-area: n; text-align: start; }
 .p-latest .feed > .sec-head > .dens-btn { grid-area: b; }
}

/* Keep navigation groups balanced; app.js promotes to one row only when all content fits. */
.p-latest .section-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:1fr; align-items:stretch; gap:4px; }
.p-latest .section-nav .section-tile { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px; min-height:88px; padding:8px 4px; font-size:.8125rem; white-space:normal; text-align:center; }
.p-latest .section-nav .section-icon { display:inline-flex; }
.p-latest .section-nav .nav-item-label { overflow-wrap:anywhere; }
.p-latest .section-nav .tab-n { white-space:nowrap; font-size:.75rem; }
.p-latest .section-nav.nav-single { display:flex; flex-wrap:nowrap; align-items:stretch; }
.p-latest .section-nav.nav-single .section-tile { flex:1 0 auto; flex-direction:row; min-height:48px; padding:9px 5px; gap:5px; white-space:nowrap; font-size:.8125rem; }
.p-latest .section-nav.nav-measure { position:absolute; visibility:hidden; pointer-events:none; width:max-content; max-width:none; margin:0; }

/* Local ad preview: uses theme tokens; never resembles an application action. */
.p-latest .feed .list > .ad-preview { display: block; padding: 16px 0; list-style: none; }
.ad-preview aside { border: 1px dashed var(--rule-2); border-radius: 12px; background: var(--surface); color: var(--ink-2); overflow: hidden; }
.ad-preview-label { display: block; padding: 8px 16px; font-size: .75rem; border-bottom: 1px solid var(--rule); }
.ad-preview-body { min-height: 160px; padding: 24px 16px; display: flex; flex-direction: column; justify-content: center; text-align: center; box-sizing: border-box; }
.ad-preview-body p { margin: 8px 0 0; font-size: .875rem; overflow-wrap: anywhere; }
.p-latest .day-cont.dc-ad { display: list-item; }

.dens-compact .p-latest .day-cont.dc-ad { display: none; }

.p-latest .feed .list > .ad-preview[hidden] { display: none !important; }

.p-latest .day-cont.dc-ad[hidden] { display: none !important; }

/* A finite, caption-free journey. Selecting a card reveals its drawn details. */
.career-plane .career-line { transform-origin: left; transition: transform .65s cubic-bezier(.2,.7,.2,1), opacity .45s; transform: scaleX(.72); }
.career-plane[aria-pressed="true"] .career-line { transform: scaleX(1); opacity: .4; }
.career-plane .career-check i { transition: opacity .4s, transform .4s; opacity: .4; transform: translateY(3px); }
.career-plane[aria-pressed="true"] .career-check i { opacity: 1; transform: none; }
@media (min-width:760px) {
 .career-plane[aria-pressed="true"] { z-index: 4; }
}
@media (prefers-reduced-motion:reduce) {
 .career-plane .career-line, .career-plane .career-check i { transition: none; }
}

/* Notice → saved opportunity → next deadline. Static final frame is the default. */
.p-latest .career-scene.journey { height: 260px; pointer-events: none; }
.journey-halo { position: absolute; inset: 5% -3%; border-radius: 50%; background: radial-gradient(ellipse, var(--brand-tint), transparent 70%); }
.journey-paper { position: absolute; left: 12px; top: 22px; width: 184px; height: 204px; padding: 23px; border: 1px solid var(--rule-2); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 30px -22px rgb(10 34 28 / .4); transform: rotate(-6deg); }
.journey-seal { width: 29px; height: 29px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; }
.journey-paper strong { display: block; margin-top: 16px; max-width: 120px; color: var(--ink); font-size: .875rem; line-height: 1.45; }
.journey-paper .journey-notice { position: absolute; opacity: 0; }
.journey-lines { margin-top: 17px; }
.journey-lines i { display: block; width: 88%; height: 3px; margin-top: 9px; border-radius: 3px; background: var(--rule-2); transform-origin: left; }
.journey-lines i:nth-child(2) { width: 70%; }.journey-lines i:nth-child(3) { width: 45%; }
.journey-bookmark { position: absolute; top: -2px; right: 19px; width: 27px; height: 44px; fill: var(--brand-fill); }
.journey-tick { fill: none; stroke: var(--on-brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.journey-status { position: absolute; bottom: 18px; right: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-tint); }
.journey-status svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2; }
.journey-calendar { position: absolute; right: 0; top: 92px; width: 142px; height: 152px; border-radius: 14px; padding: 21px 16px 12px; color: var(--on-brand); background: var(--brand-fill); box-shadow: 0 20px 30px -22px rgb(10 34 28 / .5); transform: rotate(6deg); transform-origin: left center; }
.journey-calendar strong { display: block; font-size: .75rem; line-height: 1.4; min-height: 34px; }
.journey-rings::before,.journey-rings::after { content: ""; position: absolute; top: -7px; height: 19px; width: 4px; border-radius: 3px; background: var(--rule-2); }
.journey-rings::before { left: 28px; }.journey-rings::after { right: 28px; }
.journey-dates { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px 22px; margin: 12px 8px; }
.journey-dates i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .45; }
.journey-circle { position: absolute; width: 44px; height: 44px; right: 13px; bottom: 11px; fill: none; stroke: var(--on-brand); stroke-width: 1.8; stroke-linecap: round; }
.journey-circle circle { stroke-dasharray: 126; }.journey-circle path { stroke-dasharray: 40; }
.journey-playing .journey-paper { animation: journey-paper 4.2s both; }
.journey-playing .journey-lines i { animation: journey-lines .65s .45s both; }
.journey-playing .journey-lines i:nth-child(2) { animation-delay: .6s; }.journey-playing .journey-lines i:nth-child(3) { animation-delay: .75s; }
.journey-playing .journey-notice { animation: journey-notice 4.2s both; }
.journey-playing .journey-saved { animation: journey-reveal .45s 1.5s both; }
.journey-playing .journey-bookmark { animation: journey-bookmark .55s 1.2s both; }
.journey-playing .journey-status { animation: journey-reveal .4s 1.8s both; }
.journey-playing .journey-calendar { animation: journey-calendar .85s 2.25s both; }
.journey-playing .journey-circle circle { animation: journey-draw .65s 3s both; }
.journey-playing .journey-circle path { animation: journey-draw .4s 3.65s both; }
@keyframes journey-paper { 0% { opacity: 0; transform: translate(30px,18px) rotate(2deg); } 20%,35% { opacity: 1; transform: translateX(30px) rotate(0); } 60%,100% { opacity: 1; transform: rotate(-6deg); } }
@keyframes journey-lines { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes journey-notice { 0%,32% { opacity: 1; } 42%,100% { opacity: 0; } }
@keyframes journey-reveal { from { opacity: 0; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
@keyframes journey-bookmark { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes journey-calendar { from { opacity: 0; transform: translate(-16px,8px) rotate(-8deg) scaleX(.7); } to { opacity: 1; transform: rotate(6deg); } }
@keyframes journey-draw { from { stroke-dashoffset: 140; opacity: 0; } 10% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@media (min-width:760px) and (max-width:959px) { .journey-paper { left: 0; width: 166px; }.journey-calendar { width: 128px; } }
@media (min-width:960px) { :root.ret .p-latest .career-scene.journey { height: 200px; }.ret .journey-paper { top: 3px; height: 182px; }.ret .journey-calendar { top: 45px; } }
@media (max-width:759px) { .p-latest .career-scene.journey { display: none; } }
@media (prefers-reduced-motion:reduce) { .journey *, .journey *::before, .journey *::after { animation: none !important; } }
@media (max-width:759px) {
 .p-latest .career-scene.journey { display: block; width: 280px; height: 164px; justify-self: center; padding: 0; margin: 0 auto; }
 .journey-paper { left: 16px; top: 6px; width: 168px; height: 148px; padding: 14px; transform: rotate(-4deg); }
 .journey-seal { width: 22px; height: 22px; }.journey-paper strong { margin-top: 9px; font-size: .75rem; }
 .journey-lines { margin-top: 10px; }.journey-lines i { margin-top: 6px; }
 .journey-calendar { top: 28px; width: 120px; height: 128px; padding: 18px 12px 8px; }
 .journey-calendar strong { font-size: .6875rem; min-height: 28px; }.journey-dates { gap: 10px 16px; }
 .journey-circle { width: 34px; height: 34px; right: 10px; bottom: 7px; }
 .journey-playing .journey-paper { animation: journey-reveal .5s both; }
 .journey-status { display: none; }
}
