/* Display type: Anek Devanagari (c) The Anek Project Authors, Ek Type,
   SIL Open Font License 1.1, see OFL-anek.txt. One family for Latin and
   Devanagari, so Hindi pages are as designed as English ones. Latin is a
   variable subset (weights 400-700, normal width); Devanagari a 600
   instance that only Hindi text downloads (unicode-range).

   Component structure lives here; the colour, radius and shadow tokens live
   in design.css (one system: green ink and brand, saffron only for what is
   live or new, status as soft tints with deep text). */

@font-face {
  font-family: "Anek";
  src: url(anek-latin.8f3b2e1ce4.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
  /* FX-B (QD F3b): not U+00B7: Anek's middot renders with next to no advance ("NTPC ·+14"), so
     every "·" falls to the system face, which gives it its width */
  unicode-range: U+0020-007E, U+00A0-00B6, U+00B8-00FF, U+2010-2027, U+2030-203A, U+20B9, U+2212, U+2192, U+00D7;
}
@font-face {
  font-family: "Anek";
  src: url(anek-deva.717d5b9cfd.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
/* Hindi pages: the same Devanagari file as their primary font. Line metrics come from the
   face that has the space character, so this face claims the space too, and its ascent and
   descent are tuned until Devanagari ink sits centred in buttons and pills (it sat 3-5px
   high on the Latin face's metrics). English text on Hindi pages still falls to "Anek". */
@font-face {
  font-family: "AnekHi";
  src: url(anek-deva.717d5b9cfd.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0020, U+00A0, U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
  ascent-override: 115%;
  descent-override: 20%;
  line-gap-override: 0%;
}

:root {
  --live: #f5a524;            /* dots and marks only, never text on white */
  --live-ink: #a15c07;
  --live-tint: #fef6e7;
  --ok: #067647;
  --ok-tint: #ecfdf3;
  --hot: #b42318;
  --hot-tint: #fef0ee;
  --violet: #6938c9;
  --violet-tint: #f3eefc;
  --live-rgb: 245 165 36;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", "Mangal", sans-serif;
  color-scheme: light dark;
}

/* dark: status tints become the colour at low alpha */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --live: #f5b54a; --live-ink: #f5c46a; --live-tint: rgba(245, 181, 74, .14);
    --ok: #56d38f; --ok-tint: rgba(86, 211, 143, .14);
    --hot: #ff9a8f; --hot-tint: oklch(.3 .06 25);
    --violet: #b9a2f7; --violet-tint: rgba(185, 162, 247, .14);
  }
}
:root[data-theme="dark"] {
  --live: #f5b54a; --live-ink: #f5c46a; --live-tint: rgba(245, 181, 74, .14);
  --ok: #56d38f; --ok-tint: rgba(86, 211, 143, .14);
  --hot: #ff9a8f; --hot-tint: oklch(.3 .06 25);
  --violet: #b9a2f7; --violet-tint: rgba(185, 162, 247, .14);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
/* Devanagari needs room for matras above and below the line */
:lang(hi) body, body:lang(hi) { line-height: 1.72; font-size: 1.0625rem; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-s); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
small { font-size: .8125rem; }
code { font-size: .9em; background: var(--raised); padding: .1em .35em; border-radius: var(--r-s); overflow-wrap: anywhere; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums lining-nums; font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.fine { color: var(--ink-3); font-size: .8125rem; line-height: 1.5; margin-top: 10px; }
.wrap { max-width: 76rem; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.narrow > * { max-width: 52rem; }
/* R7 (P25, AX F6): hidden by its own height, so no edge peeks out at 200% text */
.skip { position: absolute; left: 8px; top: 0; transform: translateY(-120%); background: var(--brand-fill); color: var(--on-brand); padding: 8px 14px; border-radius: var(--r-s); z-index: 30; font-weight: 600; }
.skip:focus { transform: translateY(8px); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.logo { width: 28px; height: 28px; flex: none; }
.logo-ring { fill: #174d3e; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.logo-ring2 { fill: none; stroke: rgba(205, 213, 235, .35); stroke-width: 1; }
.logo-sweep { fill: var(--live); opacity: .95; }
.logo-dot { fill: #ffffff; }
.logo-core { fill: var(--live); }
.top-act { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  font-weight: 600; text-decoration: none; padding: 5px 12px; border-radius: var(--r-pill); font-size: .875rem;
  border: 1px solid var(--rule-2); color: var(--ink); background: var(--surface);
}
.lang-switch:hover { border-color: var(--ink-3); color: var(--ink); }
.theme-btn { display: none; }
.js .theme-btn {
  display: inline-flex; min-height: 34px; width: 34px; padding: 0; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--rule-2); color: var(--ink-2);
}
.js .theme-btn:hover { background: var(--raised); color: var(--ink); }
.theme-btn .ico { width: 17px; height: 17px; }
.theme-btn .ico-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .ico-sun { display: block; } :root:not([data-theme="light"]) .theme-btn .ico-moon { display: none; } }
:root[data-theme="dark"] .theme-btn .ico-sun { display: block; }
:root[data-theme="dark"] .theme-btn .ico-moon { display: none; }
.nav { display: none; gap: 4px; }
.nav a {
  flex: none; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9375rem;
  padding: 7px 12px; border-radius: var(--r-pill);
}
.nav a:hover { color: var(--ink); background: var(--raised); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--raised); }

/* bottom tab bar: phones only; the Android app uses the same five tabs */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-top: 1px solid var(--rule); padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
}
.tabbar a {
  display: grid; justify-items: center; gap: 3px; padding: 6px 2px 4px; min-height: 52px;
  color: var(--ink-3); text-decoration: none; font-size: .75rem; font-weight: 600; line-height: 1.2; text-align: center;
}
.tabbar a .ico { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--brand); }
.tabbar a[aria-current="page"] .ico { width: 56px; height: 28px; padding: 3px 17px; border-radius: var(--r-pill); background: var(--brand-tint); }
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

/* ------------------------------------------------------------ page heads */
.page-head, .exam-head { background: var(--surface); border-bottom: 1px solid var(--rule); }
.search { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; max-width: 40rem; }
.search-field {
  flex: 1 1 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--r); color: var(--ink-3); min-width: 0;
  box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s;
}
.search-field:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
.search-field input {
  flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 1.0625rem; height: 48px;
}
.search-field input::placeholder { color: var(--ink-3); }
select, input[type="date"] {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule-2);
  border-radius: var(--r); min-height: 48px; padding: 0 12px; max-width: 100%;
}
select {
  -webkit-appearance: none; appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select:focus, input[type="date"]:focus { border-color: var(--brand); box-shadow: var(--focus); outline: 0; }
.search select { flex: 1 1 0; min-width: 0; min-height: 52px; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1.2;
  font: inherit; font-weight: 600; cursor: pointer; border: 0; border-radius: var(--r-s);
  min-height: 48px; padding: 0 20px; background: var(--brand-fill); color: var(--on-brand); transition: background .15s;
}
button:hover { background: var(--brand-fill-2); }
.search button { min-height: 52px; min-width: 112px; padding: 0 24px; border-radius: var(--r-s); }
button.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--rule-2); }
button.ghost:hover { background: var(--raised); }

.h-page {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.875rem, 1.35rem + 2vw, 2.75rem);
  line-height: 1.08; letter-spacing: -.01em; max-width: 22ch; text-wrap: balance; color: var(--ink);
}
.h-page:lang(hi) { letter-spacing: 0; line-height: 1.28; }
:lang(hi) .pill, :lang(hi) .dl { font-size: .8125rem; }
:lang(hi) .pt-note, :lang(hi) .pt-src, :lang(hi) .fine, :lang(hi) .stats dt, :lang(hi) .radar-note, :lang(hi) .tk-stub small { font-size: .875rem; }
:lang(hi) .tabbar a { font-size: .75rem; }
:lang(hi) button, :lang(hi) .btn { line-height: 1.5; padding-top: 2px; }
:lang(hi) .radar figcaption, :lang(hi) .row-tags { font-size: .875rem; }
.page-head { padding: 28px 0 28px; }
.head-grid { display: grid; gap: 20px; align-items: end; }
.stats { display: flex; gap: 10px; margin: 0; }
.stats > div { min-width: 7.5rem; padding: 12px 16px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--page); }
.stats dt { font-size: .8125rem; color: var(--ink-3); white-space: nowrap; }
.stats dd { margin: 2px 0 0; font-size: 1.5rem; line-height: 1.1; color: var(--ink); }
.stats .hot { background: var(--hot-tint); border-color: transparent; }
.stats .hot dd, .stats .hot dt { color: var(--hot); }
.stats .ok dd { color: var(--ok); }
.stats .zero { background: transparent; border-style: dashed; }
.stats .zero dd { color: var(--ink-3); }
.lede { margin-top: 12px; font-size: 1.0625rem; color: var(--ink-2); max-width: 42rem; }
.count-line { margin-top: 12px; color: var(--ink-2); }
.count-line .num { color: var(--ink); font-size: 1.25em; }
.h-sec { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; margin: 32px 0 12px; }
.block { margin-bottom: 8px; }

/* ------------------------------------------------------------ filters */
.main-in { padding-top: 8px; }
.seg { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; background: var(--raised); border-radius: var(--r-pill); padding: 3px; }
.seg::-webkit-scrollbar { display: none; }
.seg a {
  flex: none; padding: 6px 13px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .875rem; border-radius: var(--r-pill);
}
.seg a:hover { color: var(--ink); }
.seg a[aria-current="true"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-1); }

/* ------------------------------------------------------------ layout */
.sheet { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); box-shadow: var(--shadow-1); overflow: hidden; }
.empty { padding: 28px 20px; color: var(--ink-2); display: grid; gap: 8px; }

.day-h {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px 6px;
  font-family: var(--display); font-weight: 600; font-size: .875rem; color: var(--ink-3); letter-spacing: .01em;
}
.day-h::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.rows + .day-h { border-top: 1px solid var(--rule); }

/* ------------------------------------------------------------ rows */
.rows > li + li { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 14px; padding: 14px 20px; position: relative; transition: background .12s; }
.row:hover { background: color-mix(in srgb, var(--raised) 55%, transparent); }
.mono {
  grid-row: 1 / span 2; width: 32px; height: 32px; margin-top: 2px; border-radius: var(--r-s); display: grid; place-content: center;
  font-weight: 600; font-size: .75rem; letter-spacing: .02em; line-height: 1;
  background: var(--raised); color: var(--ink-2);
}
.row-body { min-width: 0; display: grid; gap: 3px; }
.row.same .mono { visibility: hidden; height: 0; }
.row.same .row-board { display: none; }
.rows > li.same { border-top-style: dashed; }
.rows > li.fold { display: none; }
html:not(.js) .rows > .more-same:has(input:checked) ~ li.fold, .rows > li.fold.unfold { display: grid; }
.more-same { border-top: 1px dashed var(--rule); }
.more-same:has(input:checked) { display: none; }
.more-same label { display: block; padding: 10px 20px 12px 66px; font-size: .8125rem; font-weight: 600; color: var(--brand); cursor: pointer; }
.more-same label:hover { text-decoration: underline; }
.more-same label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: -2px; }
.row-title { font-size: .9375rem; font-weight: 600; line-height: 1.38; overflow-wrap: anywhere; padding-right: 72px; }
.row-title:lang(hi) { line-height: 1.6; }
.row-title a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-title a::after { content: ""; position: absolute; inset: 0; } /* the whole row is the link */
.row-title a:hover { color: var(--brand); }
.row-title a:visited { color: var(--ink-2); }
.row-board { color: var(--ink-3); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 7px; font-size: .8125rem; color: var(--ink-3); }
.row-tags .kv b { color: var(--ink); font-weight: 600; }
.seen { position: absolute; top: 16px; right: 20px; color: var(--ink-3); white-space: nowrap; font-size: .75rem; }
.seen.fresh { color: var(--live-ink); font-weight: 600; }
.seen.fresh::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--live); margin-right: 6px; vertical-align: .1em; }

.pill, .chip {
  display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: var(--r-s);
  font-size: .75rem; font-weight: 600; white-space: nowrap; background: var(--raised); color: var(--ink-2);
}
.st-notification, .chip { background: var(--brand-tint); color: var(--brand); }
.st-admit_card { background: var(--ok-tint); color: var(--ok); }
.st-answer_key { background: var(--violet-tint); color: var(--violet); }
.st-result { background: var(--ok-tint); color: var(--ok); }
.st-exam_date, .st-interview { background: var(--live-tint); color: var(--live-ink); }
.st-corrigendum { background: var(--raised); color: var(--ink-2); }
.dl {
  display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: var(--r-s);
  background: var(--raised); color: var(--ink-2); font-weight: 600; font-size: .75rem;
}
.dl.urgent { background: var(--hot-tint); color: var(--hot); }
.dl.urgent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; }
.dl.closed { background: transparent; color: var(--ink-3); border: 1px solid var(--rule); }
.dl.soon { background: var(--ok-tint); color: var(--ok); }

/* lifecycle: notification, admit card, answer key, result */
.track { display: inline-flex; gap: 3px; align-items: center; }
.track i { width: 12px; height: 4px; border-radius: var(--r-s); background: var(--rule-2); }
.track i.f { background: var(--brand); }
.track i.c { background: var(--live); }

.pager { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 16px; }
.pager .more {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--rule-2); color: var(--ink); font-weight: 600; text-decoration: none;
}
.pager .more:hover { background: var(--raised); }
.pager .rss { margin-left: auto; font-size: .875rem; color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center; }

.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 20px; }
.h-panel { font-size: .9375rem; font-weight: 600; margin-bottom: 12px; }
.panel-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.panel-link:hover { text-decoration: underline; }


/* ------------------------------------------------------------ exam */
.exam-head { padding: 24px 0 28px; }
.exam-head-in { display: grid; gap: 22px; }
.exam-head-text { min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .875rem; color: var(--ink-3); margin-bottom: 12px; }
.crumbs > *:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--rule-2); }
.crumbs a { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; }
.h-exam {
  font-family: var(--display); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2rem); font-weight: 600;
  letter-spacing: -.01em; line-height: 1.16; max-width: 40ch; overflow-wrap: anywhere; color: var(--ink); text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.h-exam:lang(hi) { letter-spacing: 0; line-height: 1.35; }
.exam-sub { margin-top: 14px; color: var(--ink-3); font-size: .8125rem; }
.exam-acts { margin-top: 18px; }
.track-btn { gap: 8px; min-height: 44px; padding: 0 18px; }
.track-btn[aria-pressed="true"] { background: var(--brand-tint); color: var(--brand); }
.track-btn[aria-pressed="true"]:hover { background: var(--brand-tint); }

.life { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; max-width: 34rem; }
.life li { position: relative; display: grid; justify-items: start; gap: 8px; font-size: .8125rem; color: var(--ink-3); }
.life li::before { content: ""; position: absolute; top: 8px; left: 18px; right: 2px; height: 2px; background: var(--rule); }
.life li:last-child::before { display: none; }
.life li.f::before { background: var(--brand); }
.life li.c::before { background: var(--rule); }
.life i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule-2); position: relative; z-index: 1; background: var(--surface); }
.life li.f i { background: var(--brand); border-color: var(--brand); }
.life li.c i { background: var(--surface); border-color: var(--brand); box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 9px var(--live); }
.life li.f span { color: var(--ink); font-weight: 600; }
.stage-plain { margin-top: 16px; }

.due {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 16px; padding: 8px 14px;
  border-radius: var(--r-s); background: var(--raised); color: var(--ink); font-weight: 600;
}
.due .num { font-size: 1.5rem; line-height: 1; }
.due-urgent { background: var(--hot-tint); color: var(--hot); }
.due-closed { color: var(--ink-3); }
.due-soon { background: var(--ok-tint); color: var(--ok); }
.due-text { font-size: .9375rem; }
.due-date { font-size: .875rem; font-weight: 400; color: var(--ink-2); }
.due-date b { color: var(--ink); font-weight: 600; }

.exam-grid { display: grid; gap: 20px; padding-top: 8px; padding-bottom: 48px; }
.exam-cta {
  position: sticky; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 15; padding: 10px 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
}
.exam-cta .btn { width: 100%; gap: 10px; }
.js .exam-cta { visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.js .exam-cta.show { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
.exam-a, .exam-b { min-width: 0; }
.exam-side { display: grid; gap: 14px; align-content: start; min-width: 0; margin-top: 24px; }

.kd { position: relative; display: grid; padding: 6px 20px 6px 42px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); }
.kd::before { content: ""; position: absolute; left: 25px; top: 24px; bottom: 24px; width: 2px; background: var(--rule); }
.kd li { position: relative; display: flex; flex-wrap: wrap; gap: 2px 14px; padding: 11px 0; align-items: baseline; }
.kd li + li { border-top: 1px solid var(--rule); }
.kd li::before {
  content: ""; position: absolute; left: -22px; top: 17px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--brand); background: var(--surface);
}
.kd-date { font-weight: 600; min-width: 8.5em; font-variant-numeric: tabular-nums; }
.kd-label { color: var(--ink-2); }
.kd li.past, .kd li.past .kd-label { color: var(--ink-3); }
.kd li.past::before { border-color: var(--rule-2); background: var(--rule-2); }
.kd li.main .kd-label { color: var(--ink); font-weight: 600; }
.kd li.main::before { background: var(--brand); }
.kd li.kd-today .kd-label, .kd li.kd-today .kd-date { color: var(--live-ink); font-weight: 600; }
.kd li.kd-today::before { border-color: var(--live); background: var(--live); box-shadow: 0 0 0 4px var(--live-tint); }

.official { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 20px; }
.off-link { display: grid; gap: 6px; margin-bottom: 14px; }
.btn { gap: 10px; text-decoration: none; background: var(--raised); color: var(--ink); width: 100%; }
.btn:hover { background: var(--rule); color: var(--ink); }
.btn-primary { background: var(--brand-fill); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-fill-2); color: var(--on-brand); }
.btn-inline { width: auto; display: inline-flex; padding: 0 18px; }
.page-head .btn { width: auto; margin-top: 20px; }
.dom { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: .8125rem; color: var(--ok); }
.dom-host { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.dom-kind { color: var(--ok); }
.dom-other, .dom-other .dom-kind { color: var(--hot); }
.actions { display: grid; border-top: 1px solid var(--rule); margin-top: 4px; }
.actions a { display: flex; align-items: center; gap: 10px; min-height: 46px; text-decoration: none; font-weight: 600; font-size: .9375rem; border-bottom: 1px solid var(--rule); }
.actions a:hover { text-decoration: underline; }
.actions .ico { color: var(--ink-3); }
.ext { margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
.myelig-out { color: var(--ink-2); font-size: .9375rem; display: grid; gap: 6px; min-height: 3em; }
.myelig-out .verdict-line { font-weight: 600; color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); overflow: hidden; margin: 0; }
.facts > div { padding: 14px 16px; box-shadow: var(--shadow-1); }
.facts dt { font-size: .8125rem; color: var(--ink-3); }
.facts dd { margin: 4px 0 0; font-size: 1.0625rem; font-weight: 600; }
.facts dd .num { font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.facts dd small { color: var(--ink-3); font-weight: 400; }
.margin { margin: 14px 0 0; padding: 2px 0 2px 14px; border-left: 2px solid var(--rule-2); color: var(--ink-2); font-size: .9375rem; }

.note-block { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 2px 20px 16px; margin-top: 18px; }
.note-block .h-sec { margin-top: 16px; font-size: 1.0625rem; }
.changes, .clashes { display: grid; gap: 8px; }
.changes li { font-weight: 600; }
.changes small, .clashes small { color: var(--ink-3); font-weight: 400; }

.tl { position: relative; display: grid; }
.tl li { display: grid; gap: 4px; padding: 12px 0 14px 22px; border-left: 2px solid var(--rule); position: relative; }
.tl li::before { content: ""; position: absolute; left: -6px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--rule-2); box-shadow: 0 0 0 4px var(--page); }
.tl li:first-child::before { background: var(--live); }
.tl li .chip { justify-self: start; }
.tl-title { font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; color: var(--ink); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl-title:hover { color: var(--brand); text-decoration: underline; }
.tl-meta { color: var(--ink-3); font-size: .8125rem; }
.tl-host { color: var(--ink-2); font-weight: 600; }
.warn { display: inline-flex; gap: 6px; align-items: center; color: var(--hot); font-size: .8125rem; font-weight: 600; }

/* ------------------------------------------------------------ eligibility */
.elig { display: grid; gap: 18px; padding-top: 24px; padding-bottom: 48px; }
.elig-form { padding: 20px; display: grid; gap: 14px; }
.elig-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; min-width: 0; }
.elig-form select, .elig-form input[type="date"] { width: 100%; min-width: 0; }
.elig-form, .elig-results { min-width: 0; }
.elig-form label.check { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); }
.private { display: flex; gap: 8px; align-items: flex-start; color: var(--ok); font-size: .875rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.elig-results { display: grid; gap: 10px; }
.elig-results:empty { display: none; }
.elig-results .rows { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); }
.elig-results .row { grid-template-columns: minmax(0, 1fr); }
.elig-results .row-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.res-summary { font-size: 1.0625rem; color: var(--ink-2); }
.res-summary .num { color: var(--ink); font-size: 1.4em; }
.res-group-h { display: flex; align-items: center; gap: 8px; }
.verdict-badge { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 600; }
.vb-eligible { background: var(--ok-tint); color: var(--ok); }
.vb-not_eligible { background: var(--hot-tint); color: var(--hot); }
.vb-unknown { background: var(--raised); color: var(--ink-2); }
.reasons { font-size: .8125rem; color: var(--ink-2); display: grid; gap: 1px; }

/* ------------------------------------------------------------ verify */
.verify-search { max-width: 44rem; }
.verdict { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); overflow: hidden; margin-top: 24px; }
.v-head { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--raised); border-bottom: 1px solid var(--rule); }
.v-official_found .v-head, .v-known_board .v-head, .v-official_domain .v-head { background: var(--ok-tint); }
.v-suspicious .v-head { background: var(--hot-tint); }
.v-not_found .v-head { background: var(--live-tint); }
.v-not_found .v-kind, .v-not_found .v-kind-t { color: var(--live-ink) !important; }
.v-similar .v-head { background: var(--raised); }
.v-kind { display: grid; place-content: center; flex: none; width: 48px; height: 48px; margin: 0; border-radius: 50%; background: var(--surface); color: var(--ink-2); }
.v-official_found .v-kind, .v-known_board .v-kind, .v-official_domain .v-kind { color: var(--ok); }
.v-suspicious .v-kind, .v-not_found .v-kind { color: var(--hot); }
.v-kind .ico { width: 24px; height: 24px; }
.v-kind span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v-head-t { min-width: 0; display: grid; gap: 2px; }
.v-head h2 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.v-kind-t { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.v-official_found .v-kind-t, .v-known_board .v-kind-t, .v-official_domain .v-kind-t { color: var(--ok); }
.v-suspicious .v-kind-t, .v-not_found .v-kind-t { color: var(--hot); }
.v-body { display: grid; gap: 12px; padding: 4px 20px 18px; }
.v-body > p:first-child { margin-top: 12px; }
.v-list { display: grid; }
.v-list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.v-list li > a:first-child { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.v-list a:hover { color: var(--brand); text-decoration: underline; }
.v-list .v-exam { color: var(--brand); }
.v-list small { color: var(--ink-3); }
.v-exam { font-size: .875rem; font-weight: 600; }
.v-flags { background: var(--hot-tint); border-radius: var(--r); padding: 12px 14px; }
.v-flags h3 { font-size: .9375rem; color: var(--hot); margin-bottom: 6px; }
.v-flags ul { list-style: disc; padding-left: 20px; }
.tips-list { counter-reset: tip; display: grid; gap: 10px; }
.tips-list { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); gap: 0 !important; }
.tips-list li { counter-increment: tip; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 14px 18px; }
.tips-list li + li { border-top: 1px solid var(--rule); }
.tips-list li::before {
  content: counter(tip); width: 28px; height: 28px; border-radius: 50%; display: grid; place-content: center;
  font-family: var(--display); font-weight: 600; background: var(--brand-tint); color: var(--brand);
}

/* ------------------------------------------------------------ sources */
.b { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--hot); flex: none; }
.b.f { background: var(--ok); border-color: var(--ok); }
.b.rest { border-color: var(--rule-2); }
.tally { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; color: var(--ink-2); }
.tally li { display: inline-flex; align-items: center; gap: 8px; }
.tally .num { color: var(--ink); font-size: 1.25rem; }
.cantread { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 2px 20px 16px; margin: 24px 0 22px; }
.cantread summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 16px 0; }
.cantread summary::-webkit-details-marker { display: none; }
.cantread summary .h-sec { margin: 0; font-size: 1.0625rem; }
.cantread summary::after { content: ""; flex: none; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .15s; }
.cantread[open] summary::after { transform: rotate(-135deg); }
.cr-n { font-size: .75rem; font-weight: 600; color: var(--hot); background: var(--hot-tint); padding: 2px 8px; border-radius: var(--r-pill); }

.cr-list { display: grid; gap: 2px 18px; margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.cr-list li { display: grid; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.cr-list a { display: grid; text-decoration: none; }
.cr-name { font-weight: 600; color: var(--ink); }
.cr-host { font-size: .8125rem; }
.cr-list small { color: var(--ink-3); }
.tabs { margin: 24px 0 14px; width: max-content; max-width: 100%; }
.states { display: grid; gap: 8px; padding-bottom: 24px; align-items: start; }
.states > .state:not([open]) { align-self: stretch; }
.state { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.state summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr auto; gap: 6px 14px;
  align-items: center; padding: 12px 16px; min-height: 52px;
}
.state summary::-webkit-details-marker { display: none; }
.state-wide { grid-column: 1 / -1; }
.state[open] summary { border-bottom: 1px solid var(--rule); }
.st-name { font-weight: 600; }
.st-dots { display: flex; flex-wrap: wrap; gap: 4px; }
.st-dots .b { width: 9px; height: 9px; }
.st-count { font-size: .8125rem; color: var(--ink-3); white-space: nowrap; }
.boards { display: grid; }
.boards > li + li { border-top: 1px solid var(--rule); }
.bd { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; font-size: .9375rem; }
.bd-main a { font-weight: 600; text-decoration: none; color: var(--ink); }
.bd-main a:hover { color: var(--brand); text-decoration: underline; }
.bd-host { color: var(--ink-3); }
.bd-status { display: grid; color: var(--ok); font-weight: 600; font-size: .875rem; }
.bd-bad .bd-status { color: var(--hot); }
.bd-rest .bd-status { color: var(--ink-3); }
.bd-status small, .bd-n small { color: var(--ink-3); font-weight: 400; }
.bd-err { overflow-wrap: anywhere; }
.bd-n { display: grid; font-size: .875rem; color: var(--ink-2); }
.runs { display: grid; gap: 6px; font-size: .875rem; color: var(--ink-2); padding-bottom: 40px; }
.run-t { font-weight: 600; color: var(--ink); margin-right: 6px; }

/* ------------------------------------------------------------ prose, tables, lists */
.prose { padding-top: 8px; padding-bottom: 48px; }
.prose h2 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); max-width: 44rem; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.ua { display: inline-block; margin-top: 4px; }
.link-list { display: grid; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); padding: 0 18px; }
.link-list li + li { border-top: 1px solid var(--rule); }
.link-list a { display: flex; align-items: center; gap: 12px; min-height: 54px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-list a:hover { color: var(--brand); }
.link-list .ico { color: var(--ink-3); }
.link-list.plain { background: none; border: 0; padding: 0; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--rule); margin-top: 28px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--rule); font-size: .9375rem; }
.compare thead th { border-top: 0; font-size: .875rem; color: var(--ink-3); }
.compare thead th:last-child { color: var(--brand); }
.compare td:last-child { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--brand-tint) 55%, transparent); }
.compare td:nth-child(2) { color: var(--ink-3); }
.narrow > .fine:last-child { padding-bottom: 40px; }

/* ------------------------------------------------------------ deadlines page: exam dates */
.xd { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 12px; align-items: center; padding: 13px 20px; }
.xd-day .num { font-size: 1.0625rem; color: var(--brand); white-space: nowrap; }
.xd-body { display: grid; gap: 2px; min-width: 0; }
.xd-body a { color: var(--ink); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.xd-body a:hover { color: var(--brand); }
.xd-body small { color: var(--ink-3); }
.main-in > .h-sec:first-child { margin-top: 24px; }

/* ------------------------------------------------------------ tracking page */
.tracked-sheet { margin-top: 24px; }
.tracked-sheet .empty { padding: 28px 20px; }
.tsteps { display: inline-flex; align-items: center; gap: 0; }
.tsteps i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule-2); }
.tsteps i + i { margin-left: 18px; position: relative; }
.tsteps i + i::before { content: ""; position: absolute; right: 9px; top: 3px; width: 16px; height: 2px; background: var(--rule); }
.tsteps i.f { background: var(--brand); }
.tsteps i.c { background: var(--live); box-shadow: 0 0 0 3px rgb(var(--live-rgb) / .2); }
.next { margin-top: 6px; font-size: .8125rem; color: var(--brand); font-weight: 600; }
.linkish { background: none; color: var(--ink-3); min-height: 32px; margin-top: 4px; padding: 0; border: 0; font-weight: 600; font-size: .8125rem; justify-self: start; position: relative; z-index: 1; }
.linkish:hover { background: none; color: var(--hot); text-decoration: underline; }

/* ------------------------------------------------------------ tools */
.tools { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); padding: 24px 0 40px; }
.tool {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-content: start; padding: 20px; height: 100%;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l); color: var(--ink); text-decoration: none; transition: border-color .15s;
}
.tool .ico { grid-row: 1 / span 2; width: 44px; height: 44px; padding: 10px; border-radius: var(--r); background: var(--brand-tint); color: var(--brand); }
.tool-h { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.tool-p { color: var(--ink-2); font-size: .875rem; }
.tool:hover { color: var(--ink); border-color: var(--rule-2); }
.tool:hover .tool-h { color: var(--brand); }
.tools > li:first-child .tool { background: var(--brand-tint); border-color: transparent; }
.tools > li:first-child .tool .ico { background: var(--surface); }

/* ------------------------------------------------------------ photo and signature tool */
.pt { display: grid; gap: 16px; padding: 24px 0 40px; }
.pt-form, .pt-out { min-width: 0; }
.pt-steps { counter-reset: st; display: grid; gap: 22px; }
.pt-steps > li { counter-increment: st; display: grid; gap: 10px; position: relative; padding-left: 40px; }
.pt-steps > li::before {
  content: counter(st); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-content: center; font-size: .8125rem; font-weight: 600; background: var(--brand-tint); color: var(--brand);
}
.pt-label { font-weight: 600; font-size: .9375rem; }
.pt-steps select { width: 100%; }
.pt-spec { display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--r-s); background: var(--raised); font-size: .875rem; }
.pt-spec-line { font-weight: 600; color: var(--ink); white-space: pre-wrap; font-variant-numeric: tabular-nums; }
.pt-note { color: var(--ink-2); }
.pt-src { color: var(--ink-3); font-size: .8125rem; }
.pt-src .ok { color: var(--ok); font-weight: 600; }
.pt-src .warn-t { color: var(--live-ink); font-weight: 600; }
.pt-live { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-s); background: var(--live-tint); color: var(--live-ink); font-size: .875rem; font-weight: 600; }
.pt-custom, .pt-strip-f { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pt-custom label, .pt-strip-f label { display: grid; gap: 4px; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.pt input[type="number"], .pt input[type="text"] {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--r-s); min-height: 44px; padding: 0 12px; width: 100%;
}
.pt input[type="number"]:focus, .pt input[type="text"]:focus { border-color: var(--brand); box-shadow: var(--focus); outline: 0; }
.pt-drop {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 22px 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed var(--rule-2); border-radius: var(--r-l); background: var(--page); color: var(--ink-2); transition: border-color .15s, background .15s;
}
.pt-drop:hover, .pt-drop:focus-within { border-color: var(--brand); background: var(--brand-tint); }
.pt-drop .ico { width: 32px; height: 32px; color: var(--brand); }
.pt.has-img .pt-drop { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; padding: 10px 14px; gap: 2px 12px; }
.pt.has-img .pt-drop .ico { width: 22px; height: 22px; grid-row: 1; }
.pt.has-img .pt-drop-p { display: none; }
#pt-doc.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
#pt-doc label { justify-content: center; text-align: center; }
#pt-doc label[hidden] { display: none; }
.pt-drop-h { font-weight: 600; color: var(--ink); }
.pt-drop-p { font-size: .8125rem; color: var(--ink-3); }
.pt-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pt .check { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 40px; }
.pt-form .private { margin-top: 18px; }
.pt-out { display: grid; gap: 14px; align-content: start; }
.pt-stage {
  position: relative; display: grid; place-items: center; min-height: 280px; padding: 20px; border-radius: var(--r);
  background-color: var(--raised);
  background-image: linear-gradient(45deg, var(--rule) 25%, transparent 25%), linear-gradient(-45deg, var(--rule) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--rule) 75%), linear-gradient(-45deg, transparent 75%, var(--rule) 75%);
  background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}
.pt-stage canvas { display: block; width: min(100%, 320px); max-height: 420px; height: auto; object-fit: contain; border-radius: var(--r-s); box-shadow: var(--shadow-2); touch-action: none; cursor: grab; background: #fff; }
.pt-stage canvas:active { cursor: grabbing; }
.pt-empty { position: absolute; inset: auto 20px 20px; text-align: center; color: var(--ink-2); font-size: .875rem; background: var(--surface); padding: 8px 12px; border-radius: var(--r-s); box-shadow: var(--shadow-1); }
.pt-tools { display: flex; align-items: center; gap: 14px; }
.pt-zoom { flex: 1; display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.pt-zoom input { flex: 1; accent-color: var(--brand); }
.pt-tools button { min-height: 40px; padding: 0 14px; }
.pt-checks { display: grid; gap: 6px; font-size: .9375rem; }
.pt-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.pt-checks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--ok-tint); box-shadow: inset 0 0 0 1.5px var(--ok);
  -webkit-mask: none; }
.pt-checks li.ok::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: none; }
.pt-checks li.bad { color: var(--hot); }
.pt-checks li.bad::before { background: var(--hot-tint); box-shadow: inset 0 0 0 1.5px var(--hot); }
.pt-dl { gap: 10px; }
.pt-dl .ico { transform: rotate(90deg); }
.tool > .ico { flex: none; }

/* ------------------------------------------------------------ profile */
.me { display: grid; gap: 12px; padding-top: 24px; padding-bottom: 32px; }
.me .h-panel { font: var(--h2); margin-bottom: 10px; } /* M25: section titles on the type token */
.me-born { font-weight: 600; margin-bottom: 8px; }
.me-who { font-weight: 600; font-size: 1.0625rem; margin-bottom: 4px; }
.choice { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: var(--r); background: var(--raised); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.choice a, .choice label {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-s);
  color: var(--ink-2); text-decoration: none; font-weight: 600; cursor: pointer;
}
.choice a:hover, .choice label:hover { color: var(--ink); }
.choice a[aria-current="true"], .choice label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }


/* ------------------------------------------------------------ footer */
.foot { margin-top: 24px; padding: 32px 0 calc(40px + 64px + env(safe-area-inset-bottom)); margin-bottom: calc(-64px - env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--surface); color: var(--ink-2); font-size: .875rem; }
.foot-in { display: grid; gap: 12px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-size: 1.0625rem; }
.foot-brand .logo { width: 22px; height: 22px; }
.disclaimer { color: var(--ink); max-width: 46rem; }
.foot-note { max-width: 46rem; color: var(--ink-3); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
.foot-nav a { font-weight: 600; color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { color: var(--brand); text-decoration: underline; }

/* ------------------------------------------------------------ exam types:
   each type keeps one quiet hue on its chip icon and its board monogram */
.c-railway { --h: 45; } .c-banking { --h: 155; } .c-ssc { --h: 275; } .c-police { --h: 245; }
.c-defence { --h: 125; } .c-teaching { --h: 75; } .c-medical { --h: 10; } .c-judiciary { --h: 320; }
.c-engineering { --h: 210; } .c-civil-services { --h: 290; } .c-clerical { --h: 190; } .c-entrance { --h: 340; }
.c-psc { --h: 260; } .c-state-board { --h: 95; } .c-psu { --h: 25; } .c-board { --h: 225; } .c-other { --h: 260; }
[class^="c-"], [class*=" c-"] {
  --hue-bg: oklch(.955 .025 var(--h, 260));
  --hue-ink: oklch(.46 .11 var(--h, 260));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is([class^="c-"], [class*=" c-"]) { --hue-bg: oklch(.3 .05 var(--h, 260)); --hue-ink: oklch(.85 .08 var(--h, 260)); }
}
:root[data-theme="dark"] :is([class^="c-"], [class*=" c-"]) { --hue-bg: oklch(.3 .05 var(--h, 260)); --hue-ink: oklch(.85 .08 var(--h, 260)); }

/* ------------------------------------------------------------ wider screens */
@media (min-width: 640px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  #pt-doc.choice { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .head-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .search-field { flex: 1 1 15rem; }
  .bd { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 9rem; align-items: start; }
}
@media (max-width: 639px) {
  .row { grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; padding: 13px 16px; }
  .mono { width: 28px; height: 28px; border-radius: var(--r-s); font-size: .75rem; }
  .row-title { font-size: .9375rem; padding-right: 0; }
  .seen { position: static; grid-column: 2; justify-self: start; margin-top: 4px; }
  .day-h { padding: 14px 16px 4px; }
  .state summary { grid-template-columns: 1fr auto; }
  .st-dots { grid-column: 1 / -1; grid-row: 2; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare tr { border-top: 1px solid var(--rule); padding: 6px 0; }
  .compare tr:first-child { border-top: 0; }
  .compare th, .compare td { border: 0; padding: 4px 14px; }
  .compare th { padding-top: 10px; font-size: .9375rem; }
  .compare td::before { content: attr(data-h); display: block; font-size: .75rem; color: var(--ink-3); font-weight: 600; }
  .compare td:last-child { background: transparent; }
  .due { justify-self: start; }
}
/* phones */
@media (max-width: 959px) {
  .stats > div { min-width: 0; flex: 1; padding: 10px 12px; }
  .pt:not(.has-img) .pt-out { display: none; }
  .pt-steps > li { padding-left: 0; padding-top: 34px; }
  .pt-steps > li::before { top: 0; }
  .pt-steps > li > .pt-label:first-child, .pt-steps > li > label.pt-label { position: absolute; left: 36px; top: 3px; }
  .stats dd { font-size: 1.5rem; }
}
@media (min-width: 960px) {
  .nav { display: flex; justify-content: center; flex: 1; }
  .tabbar { display: none; }
  body { padding-bottom: 0; }
  .foot { padding-bottom: 40px; margin-bottom: 0; }
  .top-in { min-height: 64px; }

  .foot-nav { margin-top: 10px; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 24px; align-items: start; }
  .pt-out { position: sticky; top: 80px; }
  .tools > li:first-child { grid-column: 1 / -1; }
  .tool { padding: 24px; }
  .page-head { padding: 44px 0 40px; }
  .exam-head { padding: 36px 0 32px; }
  .exam-head .h-exam { font-size: 2rem; line-height: 1.22; }
  .exam-cta { display: none; }
  .exam-grid { grid-template-columns: minmax(0, 1fr) 22rem; column-gap: 36px; row-gap: 0; align-items: start; }
  .exam-a { grid-column: 1; grid-row: 1; }
  .exam-b { grid-column: 1; grid-row: 2; }
  .exam-side { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 80px; }
  .elig { grid-template-columns: 20rem minmax(0, 1fr); align-items: start; }
  .elig-form { position: sticky; top: 80px; }
  .elig > .fine { grid-column: 2; }
  .states { grid-template-columns: 1fr 1fr; align-items: start; }
}


/* ============================================================ jobs-first home (v3)
   First screen: one-line headline, live line, tabs, then jobs. The radar
   sits beside the work on desktop and after it on phones. */
:root:not(.js) .js-only { display: none; }
.desk-only { display: none; }
.top-search { display: none; }

.home { padding-top: 14px; padding-bottom: 40px; }
.home-search { margin: 0 0 12px; max-width: none; }
.home-search .search-field { min-height: 48px; }
.home-search .search-field input { height: 44px; font-size: .9375rem; }

/* tabs: navigation, so an underline, not a pill-in-track */
.tabs-row {
  position: sticky; top: 56px; z-index: 12; display: flex; align-items: center; gap: 8px;
  margin: 0 -16px; padding: 0 16px; background: color-mix(in srgb, var(--page) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule);
}
.ftabs { flex: 1; min-width: 0; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.ftabs::-webkit-scrollbar { display: none; }
@media (max-width: 959px) {
  .ftabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 24px; }
}
.ftabs a {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 46px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.ftabs a:hover { color: var(--ink); }
.ftabs a[aria-current="page"] { color: var(--ink); }
.ftabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: var(--r-s); background: var(--brand-fill); view-transition-name: tabline; }
.tab-n { font-size: .75rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ftabs a[aria-current="page"] .tab-n { color: var(--brand); }
@view-transition { navigation: auto; }
::view-transition-old(tabline), ::view-transition-new(tabline) { animation-duration: .18s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

.filters { position: relative; flex: none; }
.filters summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; min-width: 36px;
  justify-content: center; padding: 0 10px; border-radius: var(--r-s); border: 1px solid var(--rule-2); background: var(--surface);
  color: var(--ink-2); font-weight: 600; font-size: .875rem;
}
.filters summary::-webkit-details-marker { display: none; }
.filters summary:hover, .filters[open] summary { color: var(--ink); border-color: var(--ink-3); }
.filters summary .ico { width: 18px; height: 18px; }
/* M22: the word stays the summary's name for screen readers where only the icon shows */
.filters-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-s); background: var(--brand-fill); color: var(--on-brand); font-size: .75rem; line-height: 18px; text-align: center; }
.filters-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(22rem, calc(100vw - 32px));
  display: grid; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-l);
  box-shadow: var(--shadow-2);
}
.fl { display: grid; gap: 8px; font-weight: 600; font-size: .875rem; color: var(--ink); border: 0; padding: 0; margin: 0; min-width: 0; }
.fl legend { padding: 0; margin-bottom: 8px; }
.fl select { width: 100%; font-weight: 400; }
.type-grid { display: flex; flex-wrap: wrap; gap: 6px; max-height: 13rem; overflow: auto; }
.type-grid label { cursor: pointer; }
.type-grid input { position: absolute; opacity: 0; pointer-events: none; }
.type-grid span {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--rule-2);
  font-weight: 600; font-size: .8125rem; color: var(--ink-2); background: var(--surface);
}
.type-grid input:checked + span { background: var(--brand-tint); border-color: transparent; color: var(--brand); }
.type-grid input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.filters-act { display: flex; gap: 8px; }
.filters-act .btn { flex: 1; min-height: 44px; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--rule-2); }
.btn-ghost:hover { background: var(--raised); color: var(--ink); }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.home-main, .home-rail { display: contents; }
.update-banner { order: 1; }
.fy { order: 2; }
.closing-sec { order: 3; }
.feed { order: 4; }
.radar-card { order: 5; }
.rail-card { order: 6; }
.home-main > *, .home-rail > * { min-width: 0; margin-top: 20px; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sec-head .h-sec, .h-sec.solo { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.005em; }
.sec-link { font-weight: 600; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.sec-link:hover { text-decoration: underline; }
.sec-n { color: var(--ink-3); font-size: .8125rem; font-variant-numeric: tabular-nums; }

.list-box { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.list-box.empty { padding: 24px 20px; color: var(--ink-2); display: grid; gap: 8px; }
.list > li + li { border-top: 1px solid var(--rule); }
.list-box .day-h + .list, .fy .list, .dlist { background: var(--surface); }
.fy .list, .closing-sec .list, .rail-card .list { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }

.day-h {
  display: flex; align-items: center; gap: 8px; padding: 14px 16px 6px; margin: 0;
  font-family: var(--sans); font-weight: 600; font-size: .75rem; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3);
}
.day-h:lang(hi) { text-transform: none; letter-spacing: 0; font-size: .8125rem; }
.day-h::after { content: none; }
.day-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.list + .day-h { border-top: 1px solid var(--rule); }

/* one row component for every list */
.jr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px; column-gap: 8px; padding: 14px 8px 14px 16px; transition: background .12s; }
.jr:hover { background: color-mix(in srgb, var(--raised) 50%, transparent); }
.jr:active { background: var(--raised); }
.jr-main { min-width: 0; display: grid; gap: 3px; }
.jr-eye { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: .8125rem; line-height: 1.4; color: var(--ink-3); }
.jr-board { font-weight: 600; color: var(--ink-2); }
.jr-state::before { content: "·"; margin-right: 6px; color: #98a2b3; }
.jr-new { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; }
.jr-new::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.jr-title { font-size: .9375rem; font-weight: 600; line-height: 1.375; max-width: 64ch; overflow-wrap: anywhere; }
.jr-title:lang(hi) { line-height: 1.6; }
.jr-title a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jr-title a::after { content: ""; position: absolute; inset: 0; }
.jr-title a:hover { color: var(--brand); }
.jr-title a:visited { color: var(--ink-2); }
.jr-due, .jr-facts { font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.jr-due b, .jr-facts b { color: var(--ink); font-weight: 600; }
.jr-due.near span { color: var(--ink); font-weight: 600; }
.jr-due.urgent span { color: var(--hot); font-weight: 600; }
.jr-due.closed { color: var(--ink-3); }
.jr-due.closed b { color: var(--ink-3); font-weight: 400; }
.jr-facts { display: flex; flex-wrap: wrap; gap: 0 6px; }
.jr-facts .sep { font-style: normal; color: #98a2b3; }
.jr-ref { font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.jr-kind { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: .8125rem; color: var(--ink-3); }
.jr-ctx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.k { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.k::before { content: ""; width: 7px; height: 7px; border-radius: var(--r-s); background: currentColor; }
.k-job { color: var(--brand); }
.k-admit { color: var(--violet); }
.k-key { color: var(--ink-2); }
.k-result { color: var(--ok); }
.k-interview, .k-schedule, .k-syllabus, .k-change, .k-other { color: var(--ink-2); }
/* job card: a date tile on the left so deadlines read down one edge */
.jr.has-tile { grid-template-columns: 52px minmax(0, 1fr) 40px; column-gap: 12px; padding-left: 14px; }
.jr-tile {
  align-self: start; width: 52px; margin-top: 2px; display: grid; justify-items: center; text-align: center; line-height: 1;
  border: 1px solid var(--rule-2); border-radius: var(--r-s); overflow: hidden; background: var(--surface); color: var(--ink-2);
}
.jr-tile .num { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink); padding-top: 7px; font-variant-numeric: tabular-nums; }
.jr-tile small { font-size: .75rem; font-weight: 600; letter-spacing: .06em; margin-top: 3px; color: var(--ink-2); }
.jr-tile small:lang(hi) { letter-spacing: 0; font-size: .75rem; }
.jr-tile span {
  justify-self: stretch; margin-top: 6px; padding: 3px 2px 4px; font-size: .75rem; font-weight: 600; line-height: 1.2;
  background: var(--raised); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jr-tile.near span { color: var(--ink); background: var(--raised); }
.jr-tile.urgent { border-color: color-mix(in srgb, var(--hot) 35%, transparent); background: var(--hot-tint); }
.jr-tile.urgent .num, .jr-tile.urgent small { color: var(--hot); }
.jr-tile.urgent span { background: var(--hot); color: #fff; }
.jr-tile.walkin span { background: var(--brand-tint); color: var(--brand); }
.jr-tile.closed { color: var(--ink-2); }
.jr-tile.closed .num { color: var(--ink-3); }
.jr-av {
  align-self: start; justify-self: center; width: 44px; height: 44px; margin-top: 2px; border-radius: var(--r); display: grid; place-content: center;
  font-weight: 700; font-size: .75rem; letter-spacing: .01em; line-height: 1; background: var(--hue-bg, var(--raised)); color: var(--hue-ink, var(--ink-2));
  overflow: hidden;
}
.jr.has-tile .jr-due { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jr-eye .mono {
  grid-row: auto; width: 20px; height: 20px; margin: 0 2px 0 0; border-radius: var(--r-s); display: inline-grid; place-content: center; align-self: center;
  font-size: .75rem; font-weight: 700; letter-spacing: 0; background: var(--hue-bg, var(--raised)); color: var(--hue-ink, var(--ink-2));
}
.jr-eye .mono:empty { display: none; }
.jr-facts { align-items: center; gap: 2px 6px; margin-top: 2px; }
.jr-facts .tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--r-s); margin-right: 2px;
  background: var(--raised); color: var(--ink-2); font-size: .75rem; font-weight: 600;
}
.jr-facts .soft { color: var(--ink-3); }
.bm {
  position: relative; z-index: 2; align-self: start; width: 40px; height: 40px; min-height: 40px; padding: 0; margin-top: -4px;
  border-radius: var(--r-s); background: transparent; color: var(--ink-3);
}
.js .bm[hidden] { display: inline-flex; }
.bm:hover { background: var(--raised); color: var(--ink); }
.bm .ico { width: 20px; height: 20px; }
.bm[aria-pressed="true"] { color: var(--brand); }
.bm[aria-pressed="true"] .ico { fill: currentColor; }
.bm.pop .ico { animation: bm .28s ease-out; }
@keyframes bm { 0% { transform: scale(.8); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }
.list > li.fold { display: none; }
html:not(.js) .list > .more-same:has(input:checked) ~ li.fold, .list > li.fold.unfold { display: grid; }
.more-same:has(input:checked) { display: none; }
.more-same label { display: flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: .875rem; font-weight: 600; color: var(--brand); cursor: pointer; }
.more-same label:hover { text-decoration: underline; }
.more-same label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: -2px; }
.pager { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pager .btn { width: auto; min-height: 44px; padding: 0 18px; }
.feed-foot { margin-top: 14px; font-size: .875rem; }
.feed-foot a { color: var(--ink-2); font-weight: 600; }

/* deadline rows: a date tile, the title, days left */
.dr { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; }
.dr:hover { background: color-mix(in srgb, var(--raised) 50%, transparent); }
.dr-tile { display: grid; justify-items: center; line-height: 1; color: var(--ink-2); }
.dr-tile .num { font-size: 1.25rem; color: var(--ink); }
.dr-tile small { font-size: .75rem; font-weight: 600; letter-spacing: .06em; margin-top: 3px; }
.dr-main { min-width: 0; display: grid; gap: 2px; }
.dr-title { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.dr-title::after { content: ""; position: absolute; inset: 0; }
.dr-title:hover { color: var(--brand); }
.dr-board { font-size: .8125rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-left { font-size: .8125rem; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dr.near .dr-left { color: var(--ink); font-weight: 600; }
.dr.urgent .dr-left { color: var(--hot); font-weight: 600; }
.dr.urgent .dr-tile .num, .dr.urgent .dr-tile small { color: var(--hot); }

/* For you */
.fy-setup {
  display: grid; gap: 12px; padding: 16px; border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--brand-tint), color-mix(in srgb, var(--brand-tint) 35%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
}
.fy-setup-t { display: grid; gap: 4px; }
.fy-setup .h-sec { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.fy-setup p { color: var(--ink-2); font-size: .875rem; }
.fy-setup .btn { width: auto; justify-self: start; min-height: 42px; padding: 0 22px; }
.fy-sum { color: var(--ink-2); font-size: .875rem; margin: -4px 0 10px; }
.fy-empty { color: var(--ink-2); font-size: .9375rem; padding: 16px; border: 1px dashed var(--rule-2); border-radius: var(--r); }
/* for-you scoring */
.fy-more-row { list-style: none; }
.fy-more-row .list-more { display: block; margin: 0; border: 0; border-radius: 0; font-weight: 600; }
.fy-list > .fy-empty + .fy-unk, .fy-list > .list + .fy-unk { margin-top: 10px; }
.fy-unk { border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }
.fy-unk > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 14px;
  cursor: pointer; list-style: none; color: var(--ink-2); font-size: .875rem; font-weight: 600;
}
.fy-unk > summary::-webkit-details-marker { display: none; }
.fy-unk > summary .ico { flex: none; transform: rotate(90deg); transition: transform .15s; color: var(--ink-3); }
.fy-unk[open] > summary .ico { transform: rotate(-90deg); }
.fy-unk > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: var(--r); }
.fy-unk-p { padding: 0 14px 10px; color: var(--ink-3); font-size: .8125rem; }
.fy .fy-unk .list { border: 0; border-top: 1px solid var(--rule); border-radius: 0 0 var(--r) var(--r); }
.setup-bar i.s2 { width: 50%; }
.setup-bar i.s3 { width: 75%; }
.setup-bar i.s4 { width: 100%; }
.setup .opt span { gap: 10px; }
.setup .opt span .ico { margin-left: auto; width: 20px; height: 20px; flex: none; opacity: 0; transform: scale(.6); transition: opacity .12s, transform .12s; }
.setup .opt input:checked + span .ico { opacity: 1; transform: none; }
.elig-dob { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 6px; }
.elig-dob legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; }
.elig-dob .dob-echo:empty { display: none; }
/* end for-you scoring */
/* round-2 data fixes */
.fy-n { margin-left: .25em; color: var(--ink-3); }
.fy-n::before { content: "·"; margin-right: .6em; }
.fy-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.fy-sum + .fy-chips { margin-top: -4px; }
.fy-empty + .fy-chips { margin-top: 8px; }
.fy-chips span { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r-pill); padding: 2px 10px; font-size: .8125rem; color: var(--ink-2); }
.jr-facts .ok, .jr-eye .ok, .jr-facts .ok b { color: var(--ok); font-weight: 600; }
.jr-facts .ok .ico, .jr-eye .ok .ico { width: 12px; height: 12px; margin-right: 3px; vertical-align: -1px; }
.steps li { min-width: 0; }
.steps li span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 6px; }
.cantread { padding: 0 20px; }
.cantread[open] { padding-bottom: 16px; }
.v-list li:last-child { border-bottom: 0; }
/* end round-2 data fixes */
.list-more { width: 100%; margin-top: 8px; min-height: 44px; background: var(--surface); color: var(--brand); border: 1px solid var(--rule); border-radius: var(--r); font-size: .9375rem; }
.list-more:hover { background: var(--raised); }

.update-banner a {
  display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.update-banner a + a { margin-top: 6px; }
.update-banner a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.update-banner a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.update-banner a .ico { color: var(--ink-3); }
.update-banner a:hover { border-color: var(--rule-2); }
.update-banner .upd-more { display: inline-block; margin-top: 6px; font-size: .8125rem; font-weight: 600; }

.mini > li { padding: 10px 14px; display: grid; gap: 2px; position: relative; }
.mini a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .875rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini a::after { content: ""; position: absolute; inset: 0; }
.mini a:hover { color: var(--brand); }
.mini small { color: var(--ink-3); font-size: .75rem; }

.track-page { padding-top: 8px; padding-bottom: 32px; }
.tgroup { margin-top: 24px; }
.tgroup .h-sec { margin-bottom: 10px; }
.trow .jr-due { margin-top: 2px; }
.steps { display: flex; margin-top: 10px; max-width: 26rem; }
.steps li { flex: 1; position: relative; display: grid; justify-items: start; gap: 6px; font-size: .75rem; color: var(--ink-3); }
.steps li::before { content: ""; position: absolute; top: 4px; left: 12px; right: 4px; height: 2px; background: var(--rule); }
.steps li:last-child::before { display: none; }
.steps li.f::before { background: var(--brand-fill); }
.steps i { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--rule-2); background: var(--surface); }
.steps li.f i { background: var(--brand-fill); border-color: var(--brand-fill); }
.steps li.c i { background: var(--live); border-color: var(--live); box-shadow: 0 0 0 3px rgb(var(--live-rgb) / .22); }
.steps li.f span { color: var(--ink-2); font-weight: 600; }
.fine .ico { vertical-align: -.25em; }

/* exam page (v3): eyebrow, title, one status line, actions; facts as a sheet */
.exam-head-in { display: grid; gap: 10px; }
.ex-eye { font-size: .875rem; }
.ex-cat { color: var(--ink-3); text-decoration: none; }
.ex-cat:hover { color: var(--brand); text-decoration: underline; }
.exam-head .h-exam { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.28; letter-spacing: -.008em; max-width: 46ch; -webkit-line-clamp: 4; line-clamp: 4; }
.raw { font-size: .875rem; color: var(--ink-2); }
.raw summary { cursor: pointer; color: var(--ink-3); font-weight: 600; width: max-content; max-width: 100%; }
.raw p { margin-top: 6px; padding-left: 12px; border-left: 2px solid var(--rule-2); max-width: 64ch; overflow-wrap: anywhere; }
.ex-status { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.ex-status i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #98a2b3; transform: translateY(-1px); }
.ex-status.st-open i { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-tint); }
.ex-status.st-opens i { background: var(--brand-fill); }
.ex-status.st-closed { color: var(--ink-2); }
.ex-status.st-stage i { background: var(--violet); }
.ex-hint { color: var(--ink-2); font-size: .875rem; margin-top: -4px; padding-left: 19px; }
.ex-record { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); max-width: 60ch; }
.ex-record .ico { color: var(--ink-3); margin-top: 2px; }
.ex-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ex-acts .btn { width: auto; min-height: 46px; padding: 0 20px; }
.track-btn[aria-pressed="true"] { background: var(--brand-tint); color: var(--brand); border-color: transparent; }
.track-btn[aria-pressed="true"] .ico { fill: currentColor; }
.exam-sub { color: var(--ink-3); font-size: .75rem; margin-top: 4px; }
.fsheet { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.fsheet > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 12px 16px; }
.fsheet > div + div { border-top: 1px solid var(--rule); }
.fsheet dt { font-size: .8125rem; color: var(--ink-2); padding-top: 2px; }
.fsheet dd { margin: 0; display: grid; gap: 2px; font-size: .9375rem; }
.fsheet dd b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.fsheet dd small { color: var(--ink-3); font-size: .8125rem; }
.myelig { margin-top: 20px; }
.steps-lg { max-width: 34rem; margin-top: 4px; }
.steps-lg li { font-size: .8125rem; }
.notices .nt { position: relative; display: grid; gap: 4px; padding: 14px 16px; }
.nt-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: .8125rem; color: var(--ink-3); }
.nt-title { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; line-height: 1.4; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nt-title::after { content: ""; position: absolute; inset: 0; }
.nt-title:hover { color: var(--brand); }
.nt-host { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .75rem; color: var(--ink-3); }
.nt-host .ico { width: 14px; height: 14px; }
.nt-host .warn { position: relative; z-index: 1; }
.official .dom { margin-bottom: 10px; }
.off-links { display: grid; border-top: 1px solid var(--rule); }
.off-links a { display: flex; align-items: center; gap: 10px; min-height: 46px; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.off-links a:hover { text-decoration: underline; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.quick a { height: 100%; align-content: start; display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: var(--r-s); background: var(--raised); color: var(--ink); text-decoration: none; font-size: .75rem; font-weight: 600; text-align: center; line-height: 1.25; }
.quick a:hover { background: var(--rule); color: var(--ink); }
.quick .ico { width: 20px; height: 20px; color: var(--ink-2); }
.exam-cta .btn[hidden] { display: none; }
.js .exam-cta .track-btn[hidden] { display: inline-flex; }

/* tools: plain rows, not feature cards */
.tools-page { padding-top: 8px; padding-bottom: 32px; }
.tools-page .h-sec { margin: 24px 0 10px; }
.trows a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 14px; padding: 14px 16px; color: var(--ink); text-decoration: none; }
.trows a:hover { background: color-mix(in srgb, var(--raised) 50%, transparent); color: var(--ink); }
.trows a:hover b { color: var(--brand); }
.tr-ico { display: grid; place-content: center; width: 40px; height: 40px; border-radius: var(--r-s); background: var(--raised); color: var(--ink-2); }
.tr-ico .ico { width: 20px; height: 20px; }
.tr-t { display: grid; gap: 2px; min-width: 0; }
.tr-t b { font-weight: 600; font-size: .9375rem; }
.tr-t span { color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
.trows a > .ico { color: var(--ink-3); }
.age-page { padding-top: 24px; padding-bottom: 32px; }
.age-form { display: grid; gap: 22px; }
.age-row { display: grid; gap: 10px; }
.age-out:empty { display: none; }
.age-out { display: grid; gap: 6px; padding: 16px; border-radius: var(--r); background: var(--brand-tint); }
.age-big { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.age-relax { color: var(--ink); font-weight: 600; }

/* deadlines: a week strip, then one list grouped by day */
.week { position: sticky; top: 56px; z-index: 11; background: color-mix(in srgb, var(--page) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.week ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 8px 0; max-width: 52rem; }
.week a, .week span { display: grid; justify-items: center; gap: 1px; padding: 6px 0 5px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); line-height: 1.1; }
.week a:hover { background: var(--raised); color: var(--ink); }
.week small { font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.week .num { font-size: 1.0625rem; }
.week em { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--brand); }
.week li.zero span { color: var(--ink-3); }
.week li.zero em { color: #98a2b3; }
.week li.today a, .week li.today span { background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule-2); }
.deadlines { padding-top: 8px; padding-bottom: 32px; }
.dgroup { margin-top: 16px; scroll-margin-top: 140px; }
.dgroup .day-h { padding: 8px 2px; justify-content: space-between; }
.dg-left { text-transform: none; letter-spacing: 0; font-weight: 600; }
.xdates { margin-top: 32px; }
.xdates .h-sec { margin-bottom: 10px; }
.deadlines .list-box { border-radius: var(--r); }
.deadlines .dr { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; }
.deadlines .dr-tile { display: none; }
.xdates .dr { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 12px 14px 12px 12px; }
.xdates .dr-tile { display: grid; }

/* setup flow */
.setup-wrap { max-width: 36rem; padding-top: 20px; padding-bottom: 40px; }
.setup { display: grid; gap: 20px; }
.setup-top { display: grid; gap: 8px; }
.setup-step { font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.setup-bar { height: 4px; border-radius: var(--r-s); background: var(--rule); overflow: hidden; }
.setup-bar i { display: block; height: 100%; width: 25%; background: var(--brand-fill); border-radius: var(--r-s); transition: width .25s cubic-bezier(.2, .8, .2, 1); }
.sq { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.h-setup { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; padding: 12px 0 0; margin-bottom: 4px; }
.h-setup:lang(hi) { letter-spacing: 0; line-height: 1.45; }
.sq-p { color: var(--ink-2); margin-top: -6px; }
.opts { display: grid; gap: 8px; }
.opts-scroll { max-height: 52vh; overflow: auto; padding: 2px; }
.opts-row { grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); }
.opt { cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--rule-2);
  background: var(--surface); font-weight: 600; color: var(--ink); transition: border-color .12s, background .12s;
}
.opt span:hover { border-color: var(--ink-3); }
.opt input:checked + span { border-color: var(--brand); background: var(--brand-tint); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.dob { display: flex; gap: 10px; }
.dob label { display: grid; gap: 4px; font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.dob input {
  width: 64px; min-height: 56px; text-align: center; font: inherit; font-family: var(--display); font-size: 1.25rem; font-weight: 600;
  color: var(--ink); background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--r); font-variant-numeric: tabular-nums;
}
.dob .yy input { width: 96px; }
.dob input:focus { border-color: var(--brand); box-shadow: var(--focus); outline: 0; }
.dob-echo { min-height: 1.5em; color: var(--ink-2); font-weight: 600; }
.dob-echo.bad { color: var(--hot); }
.setup-act { display: flex; gap: 10px; }
.setup-act .btn, .setup-act button { flex: 1; width: auto; min-height: 52px; }
.setup-act button:disabled { opacity: .45; cursor: not-allowed; }
.setup-fine { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.setup-fine .linkish { margin: 0 0 0 auto; }

@media (max-width: 959px) {
  .phone-only { display: block; }
  .band .h-band:not(.keep) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .live-line { font-size: .8125rem; }
  .fy-setup { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; }
  .fy-setup .h-sec { font-size: .9375rem; }
  .fy-setup p { font-size: .8125rem; }
  .fy-setup .btn { min-height: 40px; padding: 0 16px; }
}
@media (min-width: 640px) {
  .tabs-row { margin: 0; padding: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .fy-setup { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 18px 20px; }
  .fy-setup .btn { justify-self: end; }
  .filters-l { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: inline; }
  .radar-card { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (min-width: 960px) {
  .top-in { gap: 20px; }
  .top-search {
    display: flex; align-items: center; gap: 8px; flex: 0 1 22rem; min-width: 12rem; height: 40px; padding: 0 12px;
    border: 1px solid var(--rule-2); border-radius: var(--r-s); background: var(--surface); color: var(--ink-3);
  }
  .top-search:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
  .top-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .9375rem; color: var(--ink); height: 38px; }
  .top-search .ico { width: 18px; height: 18px; }
  .nav { justify-content: flex-end; }
  .home-search { display: none; }
  .phone-only { display: none; }
  .desk-only { display: block; }
  .band-in { padding-top: 28px; padding-bottom: 24px; gap: 8px; }
  .h-band { font-size: 2rem; line-height: 1.2; }
  .home { padding-top: 8px; }
  .tabs-row { top: 64px; }
  .week { top: 64px; }
  .ftabs { gap: 28px; }
  .ftabs a { min-height: 52px; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 23.5rem; column-gap: 48px; align-items: start; }
  .home-main, .home-rail { display: grid; align-content: start; min-width: 0; }
  .home-main > *, .home-rail > * { margin-top: 24px; }
  .radar-card { grid-template-columns: 1fr; justify-items: stretch; padding: 20px; gap: 16px; }
  .radar-card .radar { justify-self: center; width: 100%; max-width: 17rem; }
  .legend { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .legend li { grid-template-columns: 10px auto 1fr; }
  .jr { padding: 16px 12px 16px 20px; column-gap: 12px; }
  .jr.has-tile { grid-template-columns: 60px minmax(0, 1fr) 40px; column-gap: 18px; }
  .jr-tile { width: 60px; }
  .jr-av { width: 52px; height: 52px; border-radius: var(--r); font-size: .75rem; }
  .jr-tile .num { font-size: 1.5rem; }
  .jr-title { font-size: 1.0625rem; }
  .day-h { padding: 16px 20px 6px; }
  .more-same label { padding-left: 20px; }
  .rail-card .sec-head { margin-bottom: 8px; }
  .h-setup { font-size: 2rem; }
  .setup-wrap { padding-top: 40px; }
}
:root[data-theme="dark"] .fy-setup { background: var(--brand-tint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fy-setup { background: var(--brand-tint); } }

@media (prefers-reduced-motion: reduce) {
  *, .r-fresh circle, .live-dot.on { animation: none !important; transition: none !important; }
  .sweep { transform: rotate(.12turn); }
}
@media print {
  .top, .tabbar, .search, .ftabs, .filters, .home-rail, .foot-nav, .actions, .myelig, .radar, .track-btn, .bm { display: none; }
  body, .band, .page-head, .exam-head, .foot { background: #fff; color: #000; }
}

/* ------------------------------------------------------------ round 2 layout */
.ex-main { display: grid; gap: 10px; min-width: 0; }
.ex-glance { display: grid; gap: 12px; align-content: start; min-width: 0; margin-top: 6px; }
.glance-due { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; }
.glance-due small { display: block; font-size: .75rem; color: var(--ink-3); font-weight: 600; }
.glance-due b { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.fsheet.glance > div { grid-template-columns: 7rem minmax(0, 1fr); padding: 10px 14px; }
.ex-glance .fine { margin: 0; }
@media (max-width: 639px) {
  .ex-acts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ex-acts .btn { width: 100%; }
}
@media (min-width: 960px) {
  .exam-head-in { grid-template-columns: minmax(0, 1fr) 22rem; column-gap: 56px; align-items: start; }
  .ex-glance { margin-top: 0; padding: 18px; border: 1px solid var(--rule); border-radius: var(--r-l); background: var(--page); }
  .home-rail { position: sticky; top: 80px; align-self: start; }
}
/* deadline groups already say how many days are left */
.dgroup .dr-left { display: none; }
/* eyebrow stays one line: the board name gives way, the state stays */
.jr-eye { flex-wrap: nowrap; min-width: 0; }
.jr-board { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-state, .jr-new { flex: none; white-space: nowrap; }
/* selected segments: a rule, not a shadow */
.seg a[aria-current], .choice label:has(input:checked) { box-shadow: none; border: 1px solid var(--rule-2); }
/* board avatars: one steady hue per board, quiet chroma */
.hb0 { --h: 15; } .hb1 { --h: 155; } .hb2 { --h: 215; } .hb3 { --h: 265; } .hb4 { --h: 320; } .hb5 { --h: 185; } .hb6 { --h: 245; } .hb7 { --h: 345; } .hb8 { --h: 125; } .hb9 { --h: 290; } .hb10 { --h: 200; } .hb11 { --h: 25; }
[class^="hb"], [class*=" hb"] { --hue-bg: oklch(.955 .028 var(--h)); --hue-ink: oklch(.45 .1 var(--h)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) :is([class^="hb"], [class*=" hb"]) { --hue-bg: oklch(.3 .035 var(--h)); --hue-ink: oklch(.86 .07 var(--h)); }
}
:root[data-theme="dark"] :is([class^="hb"], [class*=" hb"]) { --hue-bg: oklch(.3 .035 var(--h)); --hue-ink: oklch(.86 .07 var(--h)); }

/* public /sources summary: state, count */
.pub-states { list-style: none; margin: 0 0 1.5rem; padding: 0; columns: 2 18rem; column-gap: 2.5rem; }
.pub-states li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.pub-states .st-count { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ✓ checked: a fact the AI confirmed against the notice's own sentence */
.chk { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: var(--r-s); font-size: .78em; font-weight: 600;
  color: var(--ok); background: var(--ok-tint); white-space: nowrap; vertical-align: 1px; }

/* exam page: report a mistake */
.report { margin-top: 16px; }
.report summary { cursor: pointer; color: var(--ink-2); font-weight: 600; padding: 6px 0; }
.report-form { display: grid; gap: 10px; margin-top: 8px; }
.report-form label { display: grid; gap: 4px; font-size: .9em; color: var(--ink-2); }
.report-form select, .report-form textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--rule-2, var(--rule)); border-radius: var(--r-s);
  background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.report-form .btn { justify-self: start; }
/* series banner on search results: board pills sit in one wrapping row (G2) */
.sr-banner .sr-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.sr-close { margin-bottom: 8px; }
/* long advert numbers ("DRDO/GTRE/HRD/Consultants/01/2026") wrap inside the card */
.jr.card .jr-facts > .soft { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

.foot-cols { display:flex; flex-wrap:wrap; gap:24px 40px; }
.foot-cols > div { min-width:130px; }

/* Shared labeled filters: native selects keep keyboard and mobile behavior. */
.filter-field { min-width: 0; }
.filter-field > label { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: .8125rem; font-weight: 600; }
.filter-select { position: relative; min-width: 0; }
.filter-select > .ico { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-2); pointer-events: none; }
.filter-select select { width: 100%; min-width: 0; min-height: 44px; padding-inline: 38px; border-radius: 8px; }
