/* Startup jobs */
main [hidden] { display: none !important; }
.ink-words .media__words { color: #0B0B0C; }

/* the search and filters stay under the header while you look */
.jb-bar { position: sticky; top: var(--header); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 0; margin: -14px 0; background: var(--bg); }
.jb-search { display: flex; align-items: center; gap: 12px; flex: 1 1 340px; max-width: 520px; height: 48px; padding: 0 20px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-3); transition: box-shadow var(--t-fast) ease; }
.jb-search:focus-within { box-shadow: inset 0 0 0 1px #5A5A5A; color: var(--text); }
.jb-search input { all: unset; flex: 1; min-width: 0; font-size: 16px; color: var(--text); }
.jb-search input::placeholder { color: #7A7A7A; }
.jb-search input::-webkit-search-cancel-button { display: none; }
.jb-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jb-dd { position: relative; }
.jb-ddb { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 16px; border: 0; border-radius: var(--r-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: box-shadow var(--t-fast) ease, color var(--t-fast) ease, background-color var(--t-fast) ease; }
.jb-ddb:hover { box-shadow: inset 0 0 0 1px #5A5A5A; color: var(--text); }
.jb-dd.is-set .jb-ddb { background: var(--text); color: var(--bg); box-shadow: none; }
.jb-dd.is-open .chev { transform: rotate(180deg); }
.jb-ddm { position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px; max-height: 340px; overflow-y: auto; padding: 6px; border-radius: var(--r-pop); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top left; transition: opacity .2s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; overscroll-behavior: contain; }
.jb-dd.is-open .jb-ddm { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .35s var(--ease); }
.jb-ddm button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; border: 0; border-radius: var(--r-tile); background: none; color: var(--text-2); font-size: 15px; font-weight: 500; text-align: left; white-space: nowrap; }
.jb-ddm button:hover { background: var(--surface-3); color: var(--text); }
.jb-ddm button[aria-selected="true"] { color: var(--text); }
.jb-ddm button[aria-selected="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text); margin-left: 16px; }
.jb-remote { height: 40px; }
.jb-clear { border: 0; background: none; color: var(--text-3); font-size: 14px; font-weight: 500; padding: 0 6px; height: 40px; transition: color var(--t-fast) ease; }
.jb-clear:hover { color: var(--text); }

.jb-list { border-top: 1px solid var(--line); margin-top: 6px; }
.jb-row { width: 100%; border: 0; background: none; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.jb-row__t { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.004em; line-height: 1.35; transition: color var(--t-fast) ease; }
.jb-row__s { display: block; margin-top: 4px; color: var(--text-3); font-size: 15px; }
.jb-row__side { display: flex; gap: 14px; color: var(--text-3); font-size: 15px; font-weight: 500; white-space: nowrap; }
.jb-row__side span:first-child { color: var(--text-2); }
.jb-row__go { color: var(--text-3); transition: transform var(--t) var(--ease), color var(--t-fast) ease; }
.jb-row:hover .jb-row__t { color: var(--text-2); }
.jb-row:hover .jb-row__go { transform: translateX(3px); color: var(--text); }
.jb-row.is-new { animation: jb-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes jb-in { from { opacity: 0; transform: translateY(10px); } }
.jb-sk { display: flex; flex-direction: column; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.jb-sk i, .jb-s-sk i { display: block; height: 14px; border-radius: var(--r-tag); background: linear-gradient(100deg, #151515 30%, #222 50%, #151515 70%) 0 0 / 300% 100%; animation: jb-sk 1.5s linear infinite; }
.jb-sk i:first-child { width: min(380px, 70%); height: 18px; }
.jb-sk i:last-child { width: min(240px, 45%); }
@keyframes jb-sk { to { background-position: -100% 0; } }
.jb-state { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px 0; color: var(--text-2); }
.jb-more { display: flex; justify-content: center; margin-top: 8px; }

/* the role's own sheet: slides in from the right, or rises from the bottom on phones */
.jb-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .4s; }
.jb-sheet.is-on { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.jb-sheet__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(600px, calc(100vw - 24px)); overflow-y: auto; overscroll-behavior: contain; padding: 48px 44px 40px; border-radius: var(--r-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transform: translateX(40px); opacity: .6; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.jb-sheet.is-on .jb-sheet__panel { transform: none; opacity: 1; }
.jb-sheet .dialog__x { position: absolute; top: 16px; right: 16px; }
.jb-s-co { color: var(--text-3); font-size: 15px; font-weight: 500; }
.jb-sheet h2 { margin-top: 10px; font-size: 30px; font-weight: 500; letter-spacing: -0.018em; line-height: 1.12; padding-right: 32px; }
.jb-s-chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.jb-s-chips span { height: 32px; padding: 0 13px; display: inline-flex; align-items: center; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); font-size: 14px; font-weight: 500; }
.jb-s-go { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.jb-s-at { color: var(--text-3); font-size: 14px; }
.jb-s-desc { padding-top: 26px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.jb-s-desc h3 { margin: 26px 0 8px; color: var(--text); font-size: 17px; font-weight: 500; }
.jb-s-desc h3:first-child { margin-top: 0; }
.jb-s-desc p + p { margin-top: 12px; }
.jb-s-desc ul { margin: 8px 0 14px; padding-left: 20px; }
.jb-s-desc li + li { margin-top: 6px; }
.jb-s-via { color: var(--text-3); }
.jb-s-sk { display: flex; flex-direction: column; gap: 12px; }
.jb-s-sk i:nth-child(2) { width: 92%; } .jb-s-sk i:nth-child(3) { width: 80%; } .jb-s-sk i:nth-child(4) { width: 60%; }

@media (max-width: 900px) {
  .jb-bar { position: static; margin: 0; padding: 0; }
  .jb-search { flex-basis: 100%; max-width: none; }
  .jb-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; width: calc(100% + 2 * var(--gutter)); }
  .jb-filters::-webkit-scrollbar { display: none; }
  .jb-ddm { position: fixed; left: 12px !important; right: 12px !important; top: auto; bottom: 12px; max-height: 60vh; min-width: 0; transform: translateY(16px); border-radius: var(--r-panel); }
  .jb-row { grid-template-columns: minmax(0, 1fr) 14px; gap: 6px 12px; padding: 20px 0; }
  .jb-row__main { grid-column: 1; }
  .jb-row__side { grid-column: 1; font-size: 14px; }
  .jb-row__go { grid-column: 2; grid-row: 1 / span 2; }
  .jb-row__t { font-size: 17px; }
  .jb-sheet__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92dvh; border-radius: var(--r-panel) var(--r-panel) 0 0; padding: 40px 22px calc(28px + env(safe-area-inset-bottom)); transform: translateY(60px); }
  .jb-sheet h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .jb-sk i, .jb-s-sk i { animation: none; } }
/* a soft fade under the stuck bar, so rows slide under it instead of being cut */
.jb-bar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; background: linear-gradient(var(--bg), rgba(0, 0, 0, 0)); pointer-events: none; }
@media (max-width: 900px) { .jb-bar::after { display: none; } }
