* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Roboto, sans-serif;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  color: #1a1a1a;
  background: #f7f7f8;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
h1 { font-size: 1.5rem; margin: 0; }
.card {
  background: #fff;
  border: 1px solid #e3e3e6;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.hidden { display: none; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab-btn {
  padding: 8px 14px;
  border: 1px solid #d0d0d5;
  background: #fafafa;
  border-radius: 6px;
  cursor: pointer;
}
.tab-btn.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.tab-panel { display: none; flex-direction: column; gap: 10px; }
.tab-panel.active { display: flex; }
form { display: flex; flex-direction: column; gap: 10px; }
label { display: flex; flex-direction: column; font-size: 0.9rem; gap: 4px; }
input, textarea, button {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid #d0d0d5;
  border-radius: 6px;
}
button {
  background: #1a1a1a;
  color: #fff;
  border: none;
  cursor: pointer;
  width: fit-content;
}
button#cancelApply { background: #e3e3e6; color: #1a1a1a; }
.msg { font-size: 0.85rem; min-height: 1em; }
.msg.error { color: #b3261e; }
.msg.ok { color: #146c2e; }
.job-item {
  border: 1px solid #e3e3e6;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.job-item h3 { margin: 0 0 4px; font-size: 1rem; }
.job-item p { margin: 0; font-size: 0.85rem; color: #555; }
.app-item {
  border: 1px solid #e3e3e6;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #eee;
}
