html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, sans-serif; background: #f8fafc; color: #1e293b; }
.jb-wrap {
  max-width: 960px; margin: 0 auto;
  padding-top: 20px;
  padding-bottom: max(48px, env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.jb-wrap h1 { font-size: 1.45rem; margin: 0 0 8px; }
.jb-sub { color: #64748b; font-size: 0.95rem; margin-bottom: 22px; line-height: 1.5; }
.jb-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; margin-bottom: 20px;
}
.jb-toolbar label { font-size: 0.78rem; font-weight: 600; color: #475569; display: block; margin-bottom: 4px; }
.jb-toolbar input, .jb-toolbar select { padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; min-width: 140px; }
.jb-toolbar button {
  padding: 9px 18px; background: #175e7d; color: #fff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer;
}
.jb-toolbar a.jb-post-btn {
  padding: 9px 18px; background: #0f766e; color: #fff; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block;
}
.jb-bad { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 14px; border-radius: 10px; margin-bottom: 16px; }
.jb-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 14px; border-radius: 10px; margin-bottom: 16px; }
.jb-list { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.jb-row {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; align-items: start;
  padding: 14px 16px; border-bottom: 1px solid #f1f5f9; text-decoration: none; color: inherit;
}
.jb-row:last-child { border-bottom: none; }
.jb-row:hover { background: #f8fafc; }
.jb-badge {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 8px; border-radius: 6px; text-align: center;
}
.jb-badge.hire { background: #dbeafe; color: #1e40af; }
.jb-badge.seek { background: #fef3c7; color: #92400e; }
.jb-row-body { min-width: 0; }
.jb-row h2 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.jb-row-co { margin: 0 0 2px; font-size: 0.88rem; color: #475569; font-weight: 500; }
.jb-row-loc { margin: 0 0 2px; font-size: 0.88rem; color: #0f766e; font-weight: 600; }
.jb-row-extra { margin: 0; font-size: 0.82rem; color: #64748b; line-height: 1.4; }
.jb-meta { font-size: 0.88rem; color: #64748b; line-height: 1.45; }
.jb-dt { font-size: 0.82rem; color: #94a3b8; white-space: nowrap; align-self: start; padding-top: 2px; }
.jb-empty { text-align: center; color: #64748b; padding: 28px; line-height: 1.5; }
.jb-empty a { color: #175e7d; }
.jb-req { color: #b45309; font-weight: 700; }
.jb-view-loc { margin: 0 0 14px; font-size: 0.95rem; color: #0f766e; }
.jb-pager { margin-top: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.92rem; }
.jb-pager a { color: #175e7d; }
.jb-view-wrap { max-width: 720px; margin: 0 auto; padding: 20px 16px 48px; }
.jb-view-wrap a { color: #175e7d; }
.jb-view-meta { color: #64748b; font-size: 0.92rem; margin: 0 0 16px; line-height: 1.5; }
.jb-view-body { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; line-height: 1.6; white-space: pre-wrap; }
.jb-form label { display: block; font-weight: 600; margin: 14px 0 6px; font-size: 0.9rem; }
.jb-form input[type="text"], .jb-form input[type="email"], .jb-form input[type="tel"], .jb-form select, .jb-form textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit;
}
.jb-form textarea { min-height: 140px; resize: vertical; }
.jb-form-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.jb-btn { padding: 10px 18px; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; font: inherit; text-decoration: none; display: inline-block; }
.jb-btn--primary { background: #0f766e; color: #fff; }
.jb-btn--ghost { background: #f1f5f9; color: #334155; }
@media (max-width: 640px) {
  .jb-row { grid-template-columns: 1fr; gap: 8px; }
  .jb-dt { white-space: normal; grid-row: auto; }
  .jb-toolbar { flex-direction: column; align-items: stretch; }
  .jb-toolbar input, .jb-toolbar select { min-width: 0; width: 100%; }
  .jb-toolbar button, .jb-toolbar a.jb-post-btn { width: 100%; text-align: center; box-sizing: border-box; }
}
