.job-wrap{ padding-bottom:36px; }
.job-pin{ grid-template-columns:auto 1fr; }
.job-terminal-title{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:78px;
  padding:12px 20px;
  text-align:center;
  font-size:clamp(15px,2.2vw,24px);
  letter-spacing:.12em;
}
.job-generator,.manual-board{ margin-bottom:18px; }
.job-section-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:11px 14px;
  border-bottom:1px solid rgba(14,42,28,.9);
  background:rgba(0,0,0,.18);
  font-size:10px;
  letter-spacing:.1em;
}
.job-generator-body,.manual-body{ padding:18px; }
.job-generator-body>p,.manual-body>p{ margin-top:0; }
.generate-job{ min-width:200px; margin:6px 0 18px; }
.generated-job{
  min-height:225px;
  border:1px solid rgba(111,215,163,.35);
  border-radius:5px;
  background:#000;
  padding:18px;
  box-shadow:inset 0 0 35px rgba(72,170,118,.04);
}
.generated-id{ color:var(--dim); letter-spacing:.08em; }
.generated-job h2{ margin:8px 0 4px; font-size:clamp(22px,4vw,38px); }
.generated-job h3{ margin:18px 0 6px; font-size:12px; color:var(--dim); letter-spacing:.08em; }
.generated-job p{ max-width:860px; }
.generated-job .use-job{
  display:inline-block;
  margin-top:12px;
  padding:9px 11px;
  border:1px solid rgba(111,215,163,.35);
  border-radius:5px;
  text-decoration:none;
  color:var(--txt);
}
.generated-job .use-job:hover{ background:rgba(140,255,205,.06); }
.job-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:14px 0;
}
.job-meta>div{
  border:1px solid rgba(111,215,163,.24);
  padding:10px;
  border-radius:4px;
}
.job-meta .meta-label{ display:block; font-size:9px; color:var(--dim); margin-bottom:4px; }
.job-special{
  margin-top:14px;
  border-left:3px solid rgba(140,255,205,.55);
  padding:10px 12px;
  background:rgba(140,255,205,.045);
}
.job-rules-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0 0 18px;
}
.job-rule-card{
  display:flex;
  flex-direction:column;
  min-height:190px;
  padding:16px;
  border:1px solid rgba(14,42,28,.9);
  border-radius:var(--radius);
  background:linear-gradient(to bottom,rgba(10,25,16,.78),rgba(6,14,10,.7));
  color:var(--txt);
  text-decoration:none;
}
.job-rule-card:hover{ border-color:rgba(111,215,163,.55); background:rgba(140,255,205,.045); }
.job-rule-name{ font-size:20px; font-weight:800; }
.job-rule-type{ margin-top:4px; font-size:9px; color:var(--dim); letter-spacing:.09em; }
.job-rule-copy{ margin:18px 0; line-height:1.45; }
.job-rule-link{ margin-top:auto; font-size:9px; }
.job-table{ width:100%; border-collapse:collapse; }
.job-table th,.job-table td{ border:1px solid rgba(111,215,163,.25); padding:10px; text-align:left; }
.job-table th{ color:var(--dim); font-size:9px; letter-spacing:.08em; }
.job-table a{ color:inherit; }

/* Individual Job pages */
.job-page{ max-width:950px; }
.job-page .record-sheet{ margin-bottom:18px; }
.job-copy{ padding:18px; }
.job-copy h1{ margin:0 0 8px; font-size:clamp(28px,5vw,48px); }
.job-copy h2{ margin:26px 0 8px; padding-top:14px; border-top:1px solid rgba(14,42,28,.9); font-size:15px; letter-spacing:.07em; }
.job-copy p{ line-height:1.55; }
.job-copy ul{ line-height:1.55; }
.job-copy .job-intro{ font-size:1.05em; }
.job-note{ border-left:3px solid rgba(140,255,205,.55); background:rgba(140,255,205,.04); padding:10px 12px; }
.job-print-actions{ display:flex; gap:8px; justify-content:flex-end; margin-bottom:10px; }

@media (max-width:760px){
  .job-rules-grid{ grid-template-columns:1fr; }
  .job-meta{ grid-template-columns:1fr; }
  .job-pin{ grid-template-columns:1fr; }
  .job-pin .pin-brand{ border-right:0; border-bottom:1px solid rgba(14,42,28,.9); }
}

@media print{
  body{ background:#fff !important; color:#000 !important; }
  .bg-noise,.top,.foot,.job-print-actions,.generate-job{ display:none !important; }
  .character-wrap,.job-page{ max-width:none !important; width:100% !important; padding:0 !important; }
  .pin-panel{ border:1px solid #000 !important; color:#000 !important; background:#fff !important; }
  .record-sheet,.job-rule-card,.generated-job{
    color:#000 !important; background:#fff !important; border-color:#000 !important; box-shadow:none !important;
  }
  .dim,.sheet-label,.job-rule-type,.job-section-head,.generated-id{ color:#333 !important; }
  .job-rule-card{ break-inside:avoid; }
  a{ color:#000 !important; text-decoration:none !important; }
}

/* Job Board profile selector — matches the Market profile pattern. */
.job-profile-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.job-profile-label{
  color:var(--dim);
  font-size:11px;
  letter-spacing:.08em;
}
.job-profile-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.job-profile-button.active{
  border-color:rgba(140,255,205,.7);
  box-shadow:0 0 16px rgba(140,255,205,.10);
  color:var(--txt);
}
