:root {
  --brand: #1a6d3a;
  --ink: #1c1c1c;
  --muted: #5f6b62;
  --line: #dfe4df;
  --bg: #f4f6f3;
  --card: #fff;
  --warn: #a15c00;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
}
header[ceots__jobs__field="header"] {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  padding-top: max(.75rem, env(safe-area-inset-top));
  background: var(--brand);
  color: #fff;
}
header[ceots__jobs__field="header"] h1 {
  margin: 0;
  font-size: 1.15rem;
}
span[ceots__jobs__field="net"] {
  font-size: 0.85rem;
  font-weight: 600;
}
main[ceots__jobs__field="main"] {
  max-width: 560px;
  margin: 0 auto;
  padding: 0.75rem 0.75rem 5rem;
}
p[ceots__jobs__field="status"] {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 0.75rem;
}
div[ceots__jobs__field="prompt"] {
  background: #fff8ec;
  border: 2px solid var(--warn);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.job {
  margin-bottom: 1.25rem;
}
.job h2 {
  font-size: 1rem;
  margin: 0 0 0.15rem;
}
.job .job__where {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}
.phase {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  margin-bottom: 0.6rem;
}
.phase .phase__title {
  font-weight: 600;
  margin: 0 0 0.2rem;
}
.phase .phase__meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.7rem;
}
.phase .phase__done {
  color: var(--brand);
  font-weight: 600;
}
.phase__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.phase button,
.phase label.photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font: inherit;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid var(--brand);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  text-align: center;
  padding: 0.25rem 0.5rem;
}
.phase button.go {
  background: var(--brand);
  color: #fff;
}
.phase button:disabled {
  opacity: 0.45;
}
.phase label.photo {
  grid-column: 1/-1;
  min-height: 48px;
  font-weight: 600;
}
.phase label.photo input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.phase label.share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  grid-column: 1/-1;
  font-size: 0.9rem;
  color: var(--muted);
}
.phase label.share input {
  width: 22px;
  height: 22px;
}
.phase__photo {
  grid-column: 1/-1;
  font-size: 0.85rem;
  color: var(--muted);
}
.phase label.meter {
  justify-content: space-between;
}
.phase label.meter input {
  width: 7.5rem;
  height: auto;
  min-height: 44px;
  font: inherit;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
