/* TeachUp Jobs — design system
   Light theme. One blue for actions, orange only for course accents. Hairlines instead of cards. */
:root {
  color-scheme: light;
  --ink: #0f1424;
  --ink-2: #3b4254;
  --muted: #5d6577;
  --faint: #8a91a1;
  --line: #e7e9ee;
  --line-2: #d8dce4;
  --bg: #ffffff;
  --surface: #f6f7f9;
  --blue: #1f5bff;
  --blue-ink: #1847cc;
  --blue-50: #eef3ff;
  --navy: #0e1240;
  --orange: #ff8a00;
  --orange-50: #fff5ea;
  --orange-ink: #8a4300;
  --warn-bg: #fff4e5;
  --warn-ink: #7a3e00;
  --ok-bg: #eaf7ef;
  --ok-ink: #1d6b3c;
  --r: 10px;
  --r-lg: 14px;
  --top-h: 56px;
  --tab-h: 58px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Noto Sans", "Noto Sans Malayalam", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.h-small { font-size: 15px; font-weight: 650; }
.i { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }

/* ---- buttons -------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer; text-decoration: none !important; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-quiet { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { background: var(--surface); }
.btn-accent { background: var(--orange); color: var(--navy); }
.btn-accent:hover { background: #f27f00; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface); }
.link-btn { background: none; border: 0; color: var(--blue-ink); cursor: pointer; padding: 8px; min-height: 44px; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }

/* ---- header & nav ---------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.8) blur(12px); backdrop-filter: saturate(1.8) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1320px; margin: 0 auto; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none !important; }
.brand img { height: 32px; width: auto; }
.brand-sub { font-weight: 650; color: var(--muted); font-size: 15px; padding-left: 8px; border-left: 1px solid var(--line-2); }
.top-nav { display: none; gap: 4px; }
.top-nav a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); font-weight: 550; font-size: 15px; text-decoration: none !important; }
.top-nav a:hover { background: var(--surface); }
.top-nav a[aria-current="page"] { color: var(--navy); background: var(--surface); }
.top-nav .nav-learn { color: var(--orange-ink); }

.tabbar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--faint); font-size: 11px; font-weight: 600; text-decoration: none !important; }
.tab .i { width: 22px; height: 22px; }
.tab.on { color: var(--blue); }
.tab .count { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; font-size: 11px; }
body { padding-bottom: calc(var(--tab-h) + var(--safe-b)); }

/* ---- footer ---------------------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 24px 16px 28px; display: grid; gap: 14px; font-size: 14px; color: var(--muted); }
.foot-warn { display: flex; gap: 10px; color: var(--ink-2); max-width: 720px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { color: var(--ink-2); padding: 6px 0; }
.foot-legal { font-size: 13px; }

/* ---- discovery ------------------------------------------------------------------------------- */
.hero { border-bottom: 0; }
.hero-in { max-width: 1320px; margin: 0 auto; padding: 18px 16px 6px; }
.hero h1 { font-size: 24px; font-weight: 750; }
.hero-sub { margin-top: 4px; color: var(--muted); font-size: 14px; }
.hero-sub a { display: inline-flex; align-items: center; gap: 4px; }
.hero-sub .i { width: 16px; height: 16px; }

.disc { max-width: 1320px; margin: 0 auto; }
.searchbar {
  position: sticky; top: var(--top-h); z-index: 20; display: flex; gap: 8px; padding: 10px 16px;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r); background: var(--surface); border: 1px solid transparent; color: var(--muted); }
.search:focus-within { border-color: var(--blue); background: var(--bg); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; color: var(--ink); }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search.slim { margin: 16px 0 4px; }
.filter-btn { padding: 0 14px; }
.filter-btn .count { margin-left: 2px; }

.quick { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.quick::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 14px; border-radius: 20px;
  border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 550; background: var(--bg); text-decoration: none !important; white-space: nowrap;
}
.chip:hover { background: var(--surface); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .i { width: 14px; height: 14px; }

.cols { display: block; }
.feed { min-width: 0; padding: 0 16px; }
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 4px 0; }
.results { font-size: 14px; color: var(--muted); }
.results strong { color: var(--ink); font-weight: 650; }
.sort select { height: 40px; padding: 0 30px 0 10px; border: 0; border-radius: 8px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6577' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; font-size: 14px; font-weight: 550; cursor: pointer; }
.active { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 2px 0 10px; }
.active .chip { min-height: 34px; padding: 0 10px 0 12px; font-size: 13px; }
.active .clear { font-size: 14px; padding: 8px; }
.since { font-size: 14px; color: var(--blue-ink); padding: 6px 0 8px; font-weight: 550; }

/* ---- job rows -------------------------------------------------------------------------------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: start; border-bottom: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0 14px 0; color: inherit; text-decoration: none !important; }
.row-link:hover .row-title { color: var(--blue-ink); }
.row-main { display: grid; gap: 2px; min-width: 0; }
.row-title { font-weight: 650; font-size: 16px; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-org { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-org .sep { color: var(--faint); }
.row-pay { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.row-pay.none { font-weight: 450; color: var(--faint); }
.row-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.row-side { display: grid; justify-items: end; align-content: start; gap: 4px; font-size: 13px; color: var(--muted); padding-top: 1px; }
.flag-new { font-size: 12px; font-weight: 650; color: var(--blue-ink); }
.flag-old { font-size: 12px; color: var(--warn-ink); white-space: nowrap; }
.dot-new { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.row.is-unseen .dot-new { display: block; }
.save { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 6px; border: 0; background: none; color: var(--faint); cursor: pointer; border-radius: var(--r); }
.save:hover { color: var(--ink-2); background: var(--surface); }
.save[aria-pressed="true"] { color: var(--blue); }
.save[aria-pressed="true"] .i, [data-save][aria-pressed="true"] .i { fill: currentColor; }
.row.is-current { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue); }
.row.is-current .row-link { padding-left: 12px; }

.mono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.mono.lg { width: 56px; height: 56px; font-size: 19px; border-radius: 12px; }
.t1 { background: #e8efff; color: #1d47c2; } .t2 { background: #e5f4eb; color: #1e6b3d; } .t3 { background: #efeaff; color: #5537b8; }
.t4 { background: #e2f3f5; color: #0f5f6e; } .t5 { background: #fdecef; color: #9c2547; } .t6 { background: #eef0f4; color: #3a4356; }

/* course card inside the feed: native, quiet, clearly labelled */
.promo-row { border-bottom: 1px solid var(--line); }
.promo-row a { display: grid; gap: 3px; margin: 12px 0; padding: 14px 16px; border-radius: var(--r); background: var(--orange-50); color: inherit; text-decoration: none !important; }
.promo-kicker { font-size: 12px; font-weight: 650; color: var(--orange-ink); letter-spacing: .02em; }
.promo-title { font-weight: 650; color: var(--navy); }
.promo-body { font-size: 14px; color: var(--ink-2); }
.promo-cta { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--orange-ink); margin-top: 4px; }
.promo-cta .i { width: 16px; height: 16px; }
.promo-card { display: grid; gap: 6px; padding: 16px; border-radius: var(--r); background: var(--orange-50); margin: 24px 0; }
.promo-card .btn { justify-self: start; margin-top: 6px; }

.pager { display: grid; justify-items: center; gap: 10px; padding: 20px 0 8px; }
.more { min-width: 220px; }
.state { text-align: center; padding: 48px 16px; display: grid; justify-items: center; gap: 10px; }
.state h1, .state h2 { font-size: 20px; }
.state p { color: var(--muted); max-width: 420px; }
.state .i { width: 16px; height: 16px; vertical-align: -3px; display: inline; }

/* ---- filters: bottom sheet on phones/tablets, sidebar on wide screens --------------------------- */
.filters {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 86vh; display: flex; flex-direction: column;
  background: var(--bg); border-radius: 16px 16px 0 0; box-shadow: 0 0 0 100vmax rgba(15,20,36,.42);
  transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s;
}
.filters:target, .filters.open { transform: none; visibility: visible; transition: transform .25s ease; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 4px 20px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 17px; }
.sheet-body { overflow-y: auto; padding: 4px 20px 12px; overscroll-behavior: contain; }
.sheet-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 20px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }
.fg { border: 0; margin: 0; padding: 14px 0 6px; border-bottom: 1px solid var(--line); }
.fg:last-child { border-bottom: 0; }
.fg legend { font-size: 13px; font-weight: 650; color: var(--muted); padding: 0; margin-bottom: 4px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: 15px; }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); flex: none; }
.opt span { flex: 1; }
.opt small { color: var(--faint); font-size: 13px; }
html.sheet-open { overflow: hidden; }

/* ---- detail pane (desktop split view) -------------------------------------------------------- */
.pane { display: none; }
.pane-intro { display: grid; gap: 8px; }
.pane-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); padding: 8px 0 0; }
.side-block { padding: 8px 0; }
.mini-list { list-style: none; padding: 0; margin: 8px 0; }
.mini-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-list span { color: var(--faint); }
.pane.loading > * { opacity: .45; transition: opacity .15s; }

/* ---- job detail ------------------------------------------------------------------------------ */
.page { max-width: 1320px; margin: 0 auto; padding: 8px 16px 24px; }
.page.narrow { max-width: 760px; }
.page-title { font-size: 26px; margin: 16px 0 4px; }
.crumbs { padding: 4px 0 8px; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 550; }
.crumbs .i { width: 18px; height: 18px; }
.job-layout { max-width: 720px; }
.job { display: grid; gap: 18px; }
.job-head { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; }
.job-title { font-size: 24px; font-weight: 750; line-height: 1.2; }
.job-title a { color: inherit; }
.job-org { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.job-date { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.job-date .i { width: 16px; height: 16px; }
.job-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.job-actions .btn-apply { flex: 1 1 100%; }
.job-actions .btn-quiet { flex: 1 1 0; }
@media (min-width: 560px) { .job-actions .btn-apply { flex: 1 1 220px; } .job-actions .btn-quiet { flex: 0 0 auto; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.facts > div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 550; overflow-wrap: anywhere; }
.facts .fact-pay { grid-column: 1 / -1; }
.facts .fact-pay dd { font-size: 18px; font-weight: 650; }
.sec h2 { font-size: 20px; margin-bottom: 8px; }
.sec h3 { font-size: 16px; margin-bottom: 6px; }
.sec p + p { margin-top: 8px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; }
.apply-info { white-space: pre-line; overflow-wrap: anywhere; }
.apply-sec .notice { margin-top: 12px; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); font-size: 14px; background: var(--surface); color: var(--ink-2); }
.notice .i { margin-top: 1px; }
.notice.warn { background: var(--warn-bg); color: var(--warn-ink); }
.notice.ok { background: var(--ok-bg); color: var(--ok-ink); }
.source-card { display: inline-grid; gap: 0; margin-top: 10px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; max-width: 320px; color: var(--ink-2); text-decoration: none !important; }
.source-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface); }
.source-card span { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 14px; font-weight: 550; }
.source-card .i { width: 18px; height: 18px; }
.caption { margin-top: 10px; }
.caption summary, .report summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; color: var(--blue-ink); font-weight: 550; font-size: 15px; }
.caption p { white-space: pre-line; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; padding: 4px 0 0; }
.source .small { margin-top: 8px; }
.report { border-top: 1px solid var(--line); padding-top: 4px; }
.report summary { color: var(--muted); font-weight: 500; font-size: 14px; }
.report summary .i { width: 16px; height: 16px; }
.report form { display: grid; gap: 2px; padding: 4px 0 8px; }
.report form .btn { justify-self: start; margin-top: 8px; }
.similar .rows { margin-top: 4px; }

.sticky-cta {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 44px 1fr; gap: 8px;
  padding: 10px 16px calc(10px + var(--safe-b)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
}
.sticky-cta .btn { width: 100%; }
.sticky-cta .icon-btn { border: 1px solid var(--line-2); }
.sticky-cta [aria-pressed="true"] { color: var(--blue); }
body.pg-job .tabbar { display: none; }
body.pg-job { padding-bottom: calc(66px + var(--safe-b)); }

/* ---- learn ----------------------------------------------------------------------------------- */
.learn-hero { display: grid; gap: 20px; padding: 16px 0 8px; }
.learn-hero h1 { font-size: 28px; font-weight: 750; margin: 6px 0 10px; }
.learn-hero img { border-radius: var(--r-lg); border: 1px solid var(--line); }
.kicker { color: var(--orange-ink); font-weight: 650; font-size: 14px; }
.lead { font-size: 17px; color: var(--ink-2); }
.stats { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 14px; }
.stats li + li::before { content: "·"; margin-right: 16px; color: var(--faint); }
.learn-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 10px; }
.learn .sec { padding: 24px 0; border-top: 1px solid var(--line); }
.modules { padding: 0; margin: 0; list-style: none; counter-reset: m; display: grid; gap: 0; }
.modules li { counter-increment: m; display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.modules li::before { content: counter(m); grid-row: span 2; color: var(--faint); font-weight: 650; }
.modules span { color: var(--muted); font-size: 15px; }
.two { display: grid; gap: 24px; }
.two p { color: var(--ink-2); }
.learn-end { display: grid; gap: 4px; }

/* ---- academies ------------------------------------------------------------------------------- */
.src-list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.src-list a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none !important; }
.src-list a:hover strong { color: var(--blue-ink); }
.src-main { display: grid; }
.src-n { font-size: 14px; color: var(--muted); }

.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 12px); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; max-width: calc(100% - 32px); }
body.pg-job .toast { bottom: calc(76px + var(--safe-b)); }

/* ---- tablet ---------------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body, body.pg-job { padding-bottom: 0; }
  .tabbar, .sticky-cta { display: none !important; }
  .top-nav { display: flex; }
  .toast, body.pg-job .toast { bottom: 24px; }
  .hero-in { padding: 24px 24px 6px; }
  .hero h1 { font-size: 28px; }
  .searchbar { padding: 10px 24px; }
  .quick { padding: 2px 24px 10px; }
  .feed, .page { padding-left: 24px; padding-right: 24px; }
  .filters { left: 50%; right: auto; bottom: auto; top: 50%; width: 440px; max-height: 80vh; border-radius: 16px; transform: translate(-50%, -46%); opacity: 0; transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .filters:target, .filters.open { transform: translate(-50%, -50%); opacity: 1; transition: opacity .2s, transform .2s; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .learn-hero { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
  .learn-hero h1 { font-size: 34px; }
  .two { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-in { padding: 28px 24px; }
}

/* ---- desktop: list + detail pane --------------------------------------------------------------- */
@media (min-width: 1024px) {
  .cols { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: start; }
  .feed { padding-right: 20px; }
  .pane { display: block; position: sticky; top: calc(var(--top-h) + 64px); max-height: calc(100vh - var(--top-h) - 76px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 32px 28px; border-left: 1px solid var(--line); }
  .pane .job-title { font-size: 22px; }
  .pane .facts { grid-template-columns: repeat(2, 1fr); }
  .row-link { padding: 14px 0; }
}
@media (min-width: 1280px) {
  .cols { grid-template-columns: 232px minmax(0, 440px) minmax(0, 1fr); }
  .filter-btn { display: none; }
  .filters, .filters:target, .filters.open {
    position: sticky; top: calc(var(--top-h) + 64px); left: auto; right: auto; bottom: auto; z-index: 1; width: auto; max-height: calc(100vh - var(--top-h) - 76px);
    transform: none; opacity: 1; visibility: visible; box-shadow: none; border-radius: 0; padding-left: 24px; background: none; transition: none;
  }
  .sheet-head { padding: 0 0 4px; border: 0; }
  .sheet-head h2 { font-size: 13px; color: var(--muted); font-weight: 650; }
  .sheet-close { display: none; }
  .sheet-body { padding: 0 8px 12px 0; }
  .fg legend { color: var(--ink); }
  .opt { min-height: 34px; font-size: 14px; }
  .sheet-foot { grid-template-columns: 1fr 1fr; padding: 12px 8px 12px 0; border: 0; }
  .js .sheet-foot [data-apply] { display: none; }
  .js .sheet-foot { grid-template-columns: 1fr; }
  .feed { padding-left: 20px; }
  .pane .facts { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .tabbar, .sticky-cta, .foot, .job-actions, .report, .similar, .promo-card { display: none !important; } }
