/* ✅ MK 2026-10-24: /jobs "picked for you" layout (fewer than 20 open jobs). Scoped under .jt so nothing else changes.
   Header that speaks to who's looking, a quiet line of true facts, service chips (all filters under "More filters"),
   compact job cards with calm times, real recent requests, and "get new requests like these". */
.jt { padding-top: 34px; }
.jt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.jt-head h2 { margin: 4px 0 6px; font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.02em; line-height: 1.15; }
.jt-head p { margin: 0; max-width: 640px; color: var(--muted); font-size: 16px; }
.jt-head p a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--ink-rgb), .3); }
.jt-head p a:hover { text-decoration-color: currentColor; }
.jt-head .hire-button { flex: none; }
.jt-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #c8510c; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.jt-eyebrow .app-icon { width: 15px; height: 15px; }

.jt-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.jt-trust li { display: inline-flex; align-items: center; gap: 6px; }
.jt-trust .app-icon { width: 15px; height: 15px; color: #138a55; }

.jt-bar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.jt-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 520px; min-width: 0; }
.jt-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; transition: border-color .15s ease, background-color .15s ease; }
.jt-chip:hover { border-color: var(--line-strong); background: var(--soft); }
.jt-chip .app-icon { width: 14px; height: 14px; color: #138a55; }
.jt-chip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.jt-chip.is-on .app-icon { color: #7fd3a8; }
.jt-chip:active { transform: scale(.98); }
.jt-more { flex: 0 0 auto; }
.jt-more > summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 650; cursor: pointer; list-style: none; user-select: none; }
.jt-more > summary::-webkit-details-marker { display: none; }
.jt-more > summary .app-icon { width: 14px; height: 14px; }
.jt-more > summary:hover { border-color: var(--line-strong); background: var(--soft); }
.jt-more[open] { flex: 1 1 100%; order: 3; }
.jt-more[open] > summary { border-color: var(--ink); }
.jt-more .jobs-filter-bar { margin-top: 10px; margin-bottom: 0; }

.jt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jt-card { position: relative; display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 14px 16px 14px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.jt-card:hover { border-color: #f1c7a8; transform: translateY(-2px); }
.jt-card:active { transform: scale(.99); }
.jt-card.is-match { border-color: #bfe3cf; }
.jt-card.is-match:hover { border-color: #8fcfac; }
.jt-thumb { display: grid; place-items: center; width: 64px; height: 64px; flex: none; overflow: hidden; border-radius: 12px; background: #fff3ea; color: #c8510c; }
.jt-thumb .app-icon { width: 26px; height: 26px; }
.jt-thumb.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jt-body { display: grid; gap: 3px; flex: 1 1 auto; min-width: 0; }
.jt-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.jt-tags small { color: #c8510c; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.jt-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.jt-tag .app-icon { width: 12px; height: 12px; }
.jt-tag.is-match { background: #e8f4ee; color: #0f6f45; }
.jt-tag.is-soon { background: #fdecec; color: #b42323; }
.jt-tag.is-extended { background: #f1efea; color: #4a4139; }   /* MK 10-24: "Bidding extended" (reopened after bidding ended) */
.jt-body b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 17px; line-height: 1.3; font-weight: 750; }
.jt-body em { overflow: hidden; color: var(--muted); font-size: 13.5px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.jt-pro { color: var(--ink); font-size: 13px; font-weight: 650; }
.jt-go { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 12px; border-radius: 6px; background: var(--soft); color: var(--ink); font-size: 14px; font-weight: 700; transition: background-color .15s ease, color .15s ease; }
.jt-go .app-icon { width: 15px; height: 15px; }
.jt-card:hover .jt-go { background: #ea6a16; color: #fff; }

.jt-empty { text-align: center; }
.jt-empty h3 { margin: 0 0 6px; }
.jt-empty p { margin: 0 auto 14px; max-width: 460px; }

.jt-recent { margin-top: 34px; }
.jt-recent h3 { margin: 0; font-size: 20px; }
.jt-recent > p { margin: 2px 0 12px; font-size: 15px; }
.jt-recent-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.jt-recent-pills a { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: border-color .15s ease; }
.jt-recent-pills a:hover { border-color: #f1c7a8; }
.jt-recent-pills .app-icon { width: 14px; height: 14px; flex: none; color: #c8510c; }

.jt-next { display: grid; gap: 12px; margin-top: 34px; }
.jt-next.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jt-next-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.jt-next-card > div { flex: 1 1 auto; min-width: 0; }
.jt-next-card h3 { margin: 0 0 2px; font-size: 18px; }
.jt-next-card p { margin: 0; color: var(--muted); font-size: 15px; }
.jt-next-card > a { flex: none; }
.jt-next-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; color: #c8510c; }
.jt-next-ic .app-icon { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .jt-next.is-two { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .jt-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .jt { padding-top: 22px; }
  .jt-head { flex-direction: column; align-items: stretch; }
  .jt-head .hire-button { justify-content: center; }
  .jt-chips { flex-wrap: nowrap; flex-basis: 100%; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .jt-chips::-webkit-scrollbar { display: none; }
  .jt-card { gap: 12px; padding: 12px; min-height: 0; }
  .jt-thumb { width: 54px; height: 54px; }
  .jt-body b { font-size: 16px; }
  .jt-body em { white-space: normal; line-height: 1.4; }   /* never cut "2 days left" on phones */
  .jt-go span { display: none; }
  .jt-go { width: 34px; padding: 0; justify-content: center; border-radius: 50%; }
  .jt-next-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px 14px; padding: 16px; }
  .jt-next-card > a { grid-column: 1 / -1; justify-content: center; }
  .jt-recent-pills a:nth-child(n+9) { display: none; }   /* phones: a short taste, not a wall */
}
.jt-recent-pills span { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jt-recent-pills span .app-icon { width: 14px; height: 14px; flex: none; color: #c8510c; }

/* ✅ MK 2026-10-24: nothing open right now -> a starting point (services that open the request form), never an empty page */
.jt-start { margin-top: 4px; }
.jt-start h3 { margin: 0 0 12px; font-size: 20px; }
.jt-start-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.jt-start-grid a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 650; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.jt-start-grid a:hover { border-color: #f1c7a8; transform: translateY(-1px); }
.jt-start-grid a:active { transform: scale(.98); }
.jt-start-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 9px; background: #fff3ea; color: #c8510c; }
.jt-start-ic svg, .jt-start-ic .app-icon { width: 18px; height: 18px; }
.jt-start-go { margin-left: auto; display: grid; place-items: center; color: #c8510c; opacity: .45; }
.jt-start-go .app-icon { width: 14px; height: 14px; }
.jt-start-grid a:hover .jt-start-go { opacity: 1; }
@media (max-width: 1000px) { .jt-start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .jt-start-grid a { font-size: 14px; } }

/* MK 10-24: an empty job board for signed-out visitors (mostly pros) explains how it works for pros */
.jt-steps { margin-top: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.jt-steps h3 { margin: 0 0 14px; font-size: 20px; }
.jt-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.jt-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 12px; background: var(--soft); }
.jt-step-n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #181512; color: #fff; font-size: 14px; font-weight: 800; }
.jt-steps li b { display: block; font-size: 16px; }
.jt-steps li p { margin: 3px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.jt-steps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.jt-steps-link { color: var(--muted); font-size: 14.5px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--ink-rgb), .25); }
.jt-steps-link:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (max-width: 860px) { .jt-steps ol { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .jt-steps { padding: 16px; } .jt-steps-cta .primary-button { width: 100%; justify-content: center; } }

.jt-left { display: flex; align-items: center; gap: 6px; margin-top: 2px; }   /* its own line: a ticking second never re-wraps the card */
.jt-left strong { font-size: 12.5px; }
.jt-left .countdown-badge { min-height: 0; padding: 1px 8px; }
.jt-body em { overflow: visible; white-space: normal; line-height: 1.6; }   /* MK 10-24: the countdown never gets cut */
