/* The job page (R113), linked from job.html only, after data.css (its .box, .latest, .hbar and colour tokens). The look
   is the approved mockup, docs/superpowers/specs/assets/2026-11-13-job-page-mockup.html. Colours are tokens only, so
   dark mode follows site.css and data.css. One column on a phone with the apply button held at the foot of the screen;
   two columns from 56rem with the side column held in view. */
.job { display: flex; flex-direction: column; gap: 16px; }
.job .crumbs a { color: var(--blue); }
.job h2 { font-size: 1.0625rem; margin: 0 0 12px; }
.job-head h1 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -0.01em; margin: 0; overflow-wrap: anywhere; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.who p { margin: 0; min-width: 0; }
.who a, .who b { font-weight: 600; text-decoration: none; }
.initials { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--blue); font-weight: 600; }
.place { display: block; color: var(--grey); font-size: 0.9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.tag { background: var(--rule-soft); border-radius: 999px; padding: 5px 12px; font-size: 0.86rem; font-weight: 500; }
.tag.pay { background: var(--fresh); color: var(--fresh-ink); }
.tag.new { background: var(--tint); color: var(--blue); }
.posted { margin: 12px 0 0; color: var(--grey); font-size: 0.85rem; }
.job-grid { display: grid; gap: 16px; }
.job-grid > * { min-width: 0; }
.job-main .description { line-height: 1.6; }
.job-main .description p { margin: 0 0 12px; }
.job-main .description ul { margin: 0 0 14px; padding-left: 20px; }
.readmore > summary { list-style: none; cursor: pointer; text-align: center; border: 1px solid var(--rule); border-radius: 10px; padding: 10px; margin-top: 6px; color: var(--blue); font-weight: 500; }
.readmore > summary::-webkit-details-marker { display: none; }
.readmore[open] > summary { display: none; }
.side { display: grid; gap: 16px; align-content: start; }
.job .apply { display: block; text-align: center; border-radius: 12px; padding: 13px 16px; font-size: 1.02rem; }
.apply small { display: block; font-weight: 400; font-size: 0.78rem; }
.apply-box { display: none; }
.apply-bar { position: sticky; bottom: 0; padding: 10px 0; background: var(--paper); }
.glance { margin: 0; }
.glance div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--rule-soft); font-size: 0.93rem; }
.glance div:first-child { border-top: 0; padding-top: 0; }
.glance dt { color: var(--grey); }
.glance dd { margin: 0; font-weight: 500; text-align: right; }
#compare .hbar { grid-template-columns: 64px minmax(0, 1fr) auto; margin-bottom: 8px; }
.typical .track i { background: var(--t2); }
#compare .blurb { margin-top: 10px; }
#compare .blurb a, .all-jobs a { color: var(--blue); text-decoration: none; }
.all-jobs { margin: 12px 0 0; }
#more em { color: var(--fresh-ink); }
#more em.nopay { color: var(--grey); }

/* site.css sets the dark-mode button text before its own .apply rule, which then wins with white (2.6:1 on the dark
   blue); the job page's two apply buttons take the page colour instead (5.8:1). */

@media (min-width: 56rem) {
  .job-head h1 { font-size: 1.8rem; }
  .job-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .side { position: sticky; top: 16px; }
  .apply-box { display: block; }
  .apply-bar { display: none; }
}
