/* Your Finance Job — design system.
   White ground, ink text, one green. Archivo for everything functional,
   Instrument Serif Italic for the one-line headings. See
   Marketing/Branding/Your Finance Job/Your Finance Job Brand Guide.pdf. */

:root {
  --white: #ffffff;
  --ink: #0b0b0c;
  --green: #0d9163;
  --forest: #0a6b48;
  --mint: #3ddc97;
  --tint: #dcf5ea;
  --slate: #5b6068;
  --line: #e7e9ec;
  --mist: #f5f6f8;
  --danger: #b3261e;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --r: 12px;
  --r-lg: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 10px 30px rgba(11, 11, 12, .08);
  --header-h: 64px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  overflow-x: clip;   /* belt: a stray wide child must never let the page slide sideways */
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--tint); color: var(--forest); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--slate); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.hide, [hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.hdr .brand { display: flex; align-items: center; height: 100%; }
.hdr .brand svg { height: 20px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--slate);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a::after { content: ""; display: block; height: 2px; margin: 2px 4px 0; background: transparent; border-radius: 2px; transition: background .16s; }
.nav a.on { color: var(--ink); }
.nav a.on::after { background: var(--green); }
.hdr .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 600; font-size: 14px; letter-spacing: .02em;
}
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: 999px; font-weight: 500; font-size: 15px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  white-space: nowrap; transition: transform .16s var(--ease), background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), opacity .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--mist); }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.green:hover { background: var(--forest); border-color: var(--forest); }
.btn.soft { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.btn.soft:hover { background: var(--line); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 17px; }
.btn.full { width: 100%; }
.btn.link { background: none; border-color: transparent; color: var(--forest); padding: 0 4px; height: auto; }
.btn.link:hover { transform: none; text-decoration: underline; }
.btn.icon { width: 40px; padding: 0; }
.btn svg { width: 18px; height: 18px; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.chip:hover { border-color: #cfd3d8; background: var(--mist); }
.chip.on { background: var(--tint); border-color: var(--green); color: var(--forest); }
.chip .n { font-size: 12px; color: var(--slate); font-variant-numeric: tabular-nums; }
.chip.on .n { color: var(--forest); }
.chip .x { font-size: 16px; line-height: 1; margin-left: 2px; opacity: .7; }
.chip .caret { width: 14px; height: 14px; opacity: .6; }

.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px;
  font-weight: 500; background: var(--tint); color: var(--forest); white-space: nowrap;
}
.tag.grey { background: var(--mist); color: var(--slate); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.input {
  height: 48px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--mist);
  width: 100%; font-size: 16px; transition: border-color .16s, background .16s, box-shadow .16s;
}
.input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--tint); }
.input::placeholder { color: #9aa0a8; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6068' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.help { font-size: 13px; color: var(--slate); }
.msg { padding: 12px 14px; border-radius: var(--r); background: var(--mist); font-size: 14px; }
.msg.ok { background: var(--tint); color: var(--forest); }
.msg.err { background: #fdecea; color: var(--danger); }

/* ---------- tracker page ---------- */
.tbar { padding: 28px 0 12px; }
.tbar h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.05; }
.tbar h1 b { font-weight: 850; font-stretch: 112%; font-style: normal; font-family: var(--sans); color: var(--green); letter-spacing: -.01em; }
.search {
  position: relative; display: flex; align-items: center; height: 56px; border-radius: 16px; background: var(--mist);
  border: 1px solid var(--line); padding: 0 16px 0 18px; gap: 12px; transition: border-color .16s, box-shadow .16s, background .16s;
}
.search:focus-within { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--tint); }
.search svg { width: 20px; height: 20px; color: var(--slate); flex: none; }
.search input { flex: 1; border: 0; background: none; font-size: 17px; height: 100%; min-width: 0; }
.search { max-width: 100%; }
.search input:focus { outline: none; }
.search .kbd { font-size: 12px; color: var(--slate); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; background: #fff; }
.search .clear { display: none; width: 28px; height: 28px; border-radius: 50%; background: var(--line); align-items: center; justify-content: center; font-size: 16px; }
.search.has .clear { display: inline-flex; }
.search.has .kbd { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 0 4px; }
.filters .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.filters:has(#mine[hidden]) .sep { display: none; }
.filters .spacer { flex: 1; }
.dd { position: relative; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 260px; max-height: 380px; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px;
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .14s var(--ease), transform .14s var(--ease);
}
.dd.open .menu { opacity: 1; transform: none; pointer-events: auto; }
.menu.right { left: auto; right: 0; }
.menu .mi {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px; text-align: left; font-size: 14.5px;
}
.menu .mi:hover { background: var(--mist); }
.menu .mi.on { color: var(--forest); }
.menu .mi .n { margin-left: auto; font-size: 12px; color: var(--slate); font-variant-numeric: tabular-nums; }
.menu .mi .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #cfd3d8; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.menu .mi.on .box { background: var(--green); border-color: var(--green); }
.menu .mi.on .box::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.menu .ms { padding: 8px 10px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.menu .msearch { margin: 2px 2px 8px; }
.menu .msearch input { width: 100%; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--mist); padding: 0 12px; font-size: 14px; }
.menu .msearch input:focus { outline: none; border-color: var(--green); background: #fff; }

.tmeta { display: flex; align-items: center; gap: 14px; padding: 12px 0 8px; font-size: 13.5px; color: var(--slate); flex-wrap: wrap; }
.tmeta b { color: var(--ink); font-weight: 600; }
.tmeta .live { display: inline-flex; align-items: center; gap: 6px; }
.tmeta .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--tint); }
.tmeta .spacer { flex: 1; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; background: #fff; }
.seg button { height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--slate); }
.seg button.on { background: var(--ink); color: #fff; }

/* rows */
.list { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 170px 150px 52px auto; gap: 16px; align-items: center;
  padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 12px; margin: 0 -8px;
  transition: background .12s var(--ease); animation: rise .28s var(--ease) both;
}
.row:hover { background: var(--mist); }
.row .lg { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.row .lg img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.row .lg .ini { font-size: 12px; font-weight: 700; color: var(--slate); letter-spacing: .02em; }
.row .main { min-width: 0; }
.row .ti { font-weight: 500; font-size: 15.5px; line-height: 1.3; }
/* The whole row opens the posting.
   The title stays the real link, so the keyboard, middle click and "open in a
   new tab" all keep working, and its ::after is stretched over the row. The
   clamp lives on an inner span because an overflow:hidden element would clip
   its own absolutely positioned pseudo-element back to the text box. */
.row .ti .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row:has(a.ti) { cursor: pointer; }
.row a.ti { display: block; }
.row a.ti::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
/* Everything you can actually click sits above that sheet. */
.row .co a, .row .co .mark, .row .co .ltag, .row .act { position: relative; z-index: 2; }
.row.bundle { cursor: pointer; }
.row .co { font-size: 13.5px; color: var(--slate); margin-top: 2px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row .co .cat { color: var(--slate); }
.row .co .cat::before { content: "·"; margin-right: 8px; }
.row .loc { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .meta { display: contents; }
.row .act { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.row .age { font-size: 13px; color: var(--slate); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .age.new { color: var(--forest); font-weight: 600; }
.row .star { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #b7bcc3; margin-left: auto; }
.row .star:hover { background: #fff; color: var(--ink); }
.row .star.on { color: var(--green); }
.row .star svg { width: 18px; height: 18px; }
.row .stage { height: 30px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; padding: 0 28px 0 10px; font-weight: 500; color: var(--slate); max-width: 150px; }
.row .stage.set { color: var(--ink); border-color: #cfd3d8; }
.row.hidden-role { opacity: .45; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.more { display: flex; justify-content: center; padding: 26px 0 40px; }
/* A role opened from a deep link (?job=), e.g. the link an assistant hands out. */
.pinned-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 12px 16px; margin-bottom: 10px; border: 1px solid var(--green); background: var(--tint); border-radius: var(--r); font-size: 14px; color: var(--forest); }
.empty { padding: 60px 20px; text-align: center; color: var(--slate); }
.empty .serif { font-size: 28px; color: var(--ink); margin-bottom: 8px; }
.skel { height: 72px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.skel::after { content: ""; position: absolute; inset: 14px 8px; border-radius: 10px; background: linear-gradient(90deg, var(--mist) 0%, #eceef1 50%, var(--mist) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- cards (companies) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 14px; padding: 8px 0 40px; }
.card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s; animation: rise .28s var(--ease) both;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d9dde2; }
.card .top { display: flex; align-items: center; gap: 12px; }
.card .lg { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.card .lg img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.card .lg .ini { font-size: 13px; font-weight: 700; color: var(--slate); }
.card .nm { font-weight: 600; font-size: 16px; line-height: 1.25; }
.card .ct { font-size: 13px; color: var(--slate); }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card .cnt { margin-top: auto; display: flex; align-items: baseline; gap: 6px; }
.card .cnt b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.card .cnt span { font-size: 13px; color: var(--slate); }
.card .follow { position: absolute; }

/* ---------- page shells ---------- */
.page { padding-top: 28px; padding-bottom: 80px; }
.page h1 { margin: 0 0 10px; font-size: 40px; line-height: 1.05; }
.page .lead { font-size: 18px; color: var(--slate); max-width: 640px; margin: 0 0 32px; }
.prose { max-width: 680px; font-size: 17px; line-height: 1.65; }
.prose h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; margin: 40px 0 10px; letter-spacing: -.01em; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 14px; margin: 24px 0 40px; }
.stat { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.stat b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--slate); }

/* settings */
.settings { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.snav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; }
.snav a { padding: 9px 12px; border-radius: 10px; font-weight: 500; color: var(--slate); font-size: 15px; }
.snav a:hover { background: var(--mist); color: var(--ink); }
.snav a.on { background: var(--mist); color: var(--ink); }
.section { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 18px; }
.section h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.section .sub { color: var(--slate); font-size: 14px; margin: 0 0 18px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.frow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 14px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.toggle:first-of-type { border-top: 0; }
.toggle .t { font-weight: 500; }
.toggle .d { font-size: 13px; color: var(--slate); }
.sw { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #d5d9de; flex: none; transition: background .16s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .16s var(--ease); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sw.on { background: var(--green); }
.sw.on::after { transform: translateX(18px); }
.savebar { display: flex; align-items: center; gap: 12px; justify-content: flex-end; padding-top: 16px; }

/* ---------- auth + onboarding (centred, white, big buttons) ---------- */
.center { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 40px 20px 60px; }
.flow { width: 100%; max-width: 560px; text-align: center; }
.flow.wide { max-width: 760px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tiles .opt { flex-direction: column; min-height: 88px; padding: 14px 12px; margin: 0; font-size: 16px; gap: 4px; border-radius: 16px; }
.tiles .opt .n { font-size: 12.5px; }
.tiles.two { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tiles.two .opt { min-height: 110px; font-size: 19px; }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles .opt { min-height: 76px; font-size: 15px; padding: 12px 10px; } }
.flow .q { font-size: 44px; line-height: 1.05; margin: 0 0 6px; }
.flow .sub { color: var(--slate); font-size: 16px; margin: 0 0 30px; }
.flow .opt {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 72px; padding: 14px 20px; margin: 0 0 10px;
  border-radius: 16px; border: 1px solid var(--line); background: #fff; font-size: 19px; font-weight: 500; text-align: center;
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .16s var(--ease), color .16s;
  animation: rise .3s var(--ease) both;
}
.flow .opt:hover { border-color: #cfd3d8; background: var(--mist); transform: translateY(-1px); }
.flow .opt.on { border-color: var(--green); background: var(--tint); color: var(--forest); }
.flow .opt .n { font-size: 13px; color: var(--slate); font-weight: 400; }
.flow .opt.on .n { color: var(--forest); }
.flow .opt:nth-child(2) { animation-delay: .03s; } .flow .opt:nth-child(3) { animation-delay: .06s; } .flow .opt:nth-child(4) { animation-delay: .09s; }
.flow .opt:nth-child(5) { animation-delay: .12s; } .flow .opt:nth-child(6) { animation-delay: .15s; } .flow .opt:nth-child(7) { animation-delay: .18s; } .flow .opt:nth-child(8) { animation-delay: .21s; }
.flow .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.flow .actions .btn { height: 56px; font-size: 17px; }
.flow .foot { margin-top: 26px; font-size: 14px; color: var(--slate); }
.flow .foot a { color: var(--forest); font-weight: 500; }
.flow form { text-align: left; display: flex; flex-direction: column; gap: 14px; }
.flow .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.steps { display: flex; justify-content: center; gap: 6px; margin-bottom: 26px; }
.steps i { width: 26px; height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
.steps i.on { background: var(--green); }
.steps i.done { background: var(--ink); }
.back { position: absolute; top: calc(var(--header-h) + 18px); left: 20px; }
.same { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 22px; font-size: 13.5px; color: var(--slate); background: var(--mist); }
.same b { color: var(--ink); font-weight: 600; }

/* ---------- row extras: menu, marks, bundles, dialog ---------- */
.rowmenu { position: absolute; z-index: 60; width: 280px; opacity: 1; transform: none; pointer-events: auto; }
.rowmenu .mi svg { width: 16px; height: 16px; color: var(--slate); flex: none; }
.row .more-btn { color: #9aa0a8; }
.row .more-btn svg { width: 16px; height: 16px; }
.row .mark { display: inline-flex; align-items: center; color: var(--forest); cursor: pointer; }
.row .mark svg { width: 14px; height: 14px; }
.row .ltag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--c, var(--slate)); background: color-mix(in srgb, var(--c, #5b6068) 12%, white); }
.row.dim { opacity: .45; }
.row.dim:hover { opacity: .8; }
.row.inb { margin-left: 8px; }
.row.inb .lg-empty { border: 0; background: none; }
.row.bundle { cursor: pointer; }
.row.bundle .ti { display: flex; align-items: center; gap: 10px; }
.row.bundle .bn { font-size: 12.5px; font-weight: 600; color: var(--forest); background: var(--tint); border-radius: 999px; padding: 2px 9px; }
.row.bundle.open { background: var(--mist); border-bottom-color: transparent; }
.sheet-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(11, 11, 12, .28); display: flex; align-items: center; justify-content: center; padding: 20px; }
.sheet { width: 100%; max-width: 460px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; animation: rise .2s var(--ease) both; }
.sheet h3 { margin: 0; font-size: 20px; font-weight: 600; }
.sheet form { display: flex; flex-direction: column; gap: 12px; }
.sheet .help { margin: -6px 0 0; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); z-index: 80; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); margin-top: 40px; padding: 36px 0 44px; font-size: 13.5px; color: var(--slate); }
.ftr .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.ftr svg { height: 16px; width: auto; }
.ftr a:hover { color: var(--ink); }
.ftr .spacer { flex: 1; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .row { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "lg main act" "lg meta meta"; row-gap: 6px; column-gap: 12px; }
  .row .lg { grid-area: lg; align-self: start; width: 40px; height: 40px; }
  .row .main { grid-area: main; }
  .row .act { grid-area: act; align-self: start; }
  .row .meta { grid-area: meta; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--slate); }
  .row .meta .age { text-align: left; }
  .row .loc { font-size: 13px; }
  .settings { grid-template-columns: 1fr; gap: 20px; }
  .snav { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .filters { position: relative; }
  .dd { position: static; }
  .menu { left: 0; right: 0; min-width: 0; width: auto; max-height: 60vh; }
  .menu.right { left: 0; right: 0; }
  .rowmenu { width: auto; left: 12px !important; right: 12px; max-width: none; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 12px 12px; flex-direction: column; gap: 2px; }
  .nav.open { display: flex; }
  .nav a.on::after { display: none; }
  .burger { display: inline-flex; }
  .hdr .right .btn .lbl { display: none; }
  .tbar { padding-top: 18px; }
  .tbar h1 { font-size: 32px; }
  .search { height: 50px; }
  .search .kbd { display: none; }
  .flow .q { font-size: 34px; }
  .flow .opt { min-height: 64px; font-size: 17px; }
  .page h1 { font-size: 32px; }
  .flow .grid2 { grid-template-columns: 1fr; }
  .back { position: static; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- the crawlable landing pages (build/seo.mjs) ----------
   Firm, city, role-type and level pages are written as real HTML so search
   engines have something to index. They reuse .row, .tag and .chip; these are
   the few blocks they add on top. */

.seo-blurb {
  max-width: 680px; font-size: 16.5px; line-height: 1.6; color: var(--slate);
  margin: -18px 0 22px;
}
.seo-links { padding: 34px 0 0; border-top: 1px solid var(--line); margin-top: 34px; }
.seo-links:first-of-type { margin-top: 26px; }
.seo-links h2 {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px;
  letter-spacing: -.01em; margin: 0 0 14px;
}
.seo-links .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links .chip { animation: rise .28s var(--ease) both; }

/* The page shell gives h1 a 40px size; the landing pages carry a lot of them
   below the fold, so keep the lead tight against it. */
.page .lead b { color: var(--ink); font-weight: 600; }

/* A firm row inside a generated list has no star or stage control, so the
   action column only holds the Apply link. */
.row .act .btn.sm { height: 32px; padding: 0 14px; font-size: 13.5px; }
.row .lg-empty { border: 0; background: none; }

@media (max-width: 860px) {
  .seo-links h2 { font-size: 22px; }
  .seo-blurb { font-size: 15.5px; }
}

/* ---------- search suggestions (the tracker's search box) ----------
   The box searches four different things at once: firms, cities, role types
   and levels. Without this panel you type "ams" and cannot tell whether you
   are about to match a city, a firm or a job title. Each row says which. */
.sugg {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
  max-height: min(60vh, 460px); overflow: auto; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 6px; animation: rise .16s var(--ease) both;
}
.sugg .sgh {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--slate); padding: 10px 12px 6px;
}
.sugg .sgh:first-child { padding-top: 6px; }
.sugg .sg {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px;
  border-radius: 11px; text-align: left; font-size: 15px; color: var(--ink); cursor: pointer;
}
.sugg .sg:hover, .sugg .sg.sel { background: var(--mist); }
.sugg .sg.sel { box-shadow: inset 0 0 0 1px var(--line); }
.sugg .sg .ic {
  width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line); flex: none;
  display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff;
}
.sugg .sg .ic img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.sugg .sg .ic svg { width: 14px; height: 14px; color: var(--slate); }
.sugg .sg .ic .ini { font-size: 9.5px; font-weight: 700; color: var(--slate); }
.sugg .sg .lb { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg .sg .lb b { font-weight: 700; }
.sugg .sg .sub { display: block; font-size: 12.5px; color: var(--slate); }
.sugg .sg .ty {
  font-size: 11.5px; font-weight: 600; color: var(--forest); background: var(--tint);
  border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}
.sugg .sg .n { font-size: 12.5px; color: var(--slate); font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }
.sugg .sgnone { padding: 18px 12px; color: var(--slate); font-size: 14.5px; }
@media (max-width: 720px) {
  .sugg .sg .ty { display: none; }
}
