:root {
  --brand: #1a6d3a;
  --accent: #2f8f52;
  --ink: #1c1c1c;
  --muted: #6a6a6a;
  --line: #e2e2e2;
  --bg: #fafaf8;
  --card: #fff;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
header[ceots__jobs="header"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--brand);
  color: #fff;
}
header[ceots__jobs="header"] h1 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
header[ceots__jobs="header"] div[ceots__jobs="who"] {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}
header[ceots__jobs="header"] div[ceots__jobs="who"] a {
  color: #fff;
  opacity: 0.85;
}
main[ceots__jobs="main"] {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}
section {
  margin-bottom: 2rem;
}
section h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
div[ceots__jobs="pipeline"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.75rem;
}
.col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem;
}
.col .col__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.col .col__name {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: capitalize;
}
.col .col__value {
  font-size: 0.8rem;
  color: var(--muted);
}
.col .col__phase {
  font-size: 0.82rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
}
.col .col__empty {
  font-size: 0.8rem;
  color: var(--muted);
}
table[ceots__jobs="properties_table"] {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
table[ceots__jobs="properties_table"] th,
table[ceots__jobs="properties_table"] td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
table[ceots__jobs="properties_table"] th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
table[ceots__jobs="properties_table"] tr:last-child td {
  border-bottom: 0;
}
table[ceots__jobs="properties_table"] a {
  color: var(--accent);
}
.pill {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #eef3ef;
  color: var(--brand);
  font-size: 0.72rem;
  text-transform: capitalize;
}
.empty {
  color: var(--muted);
  font-size: 0.9rem;
}
.property__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.property__head h2 {
  margin: 0;
}
.property__head button {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  cursor: pointer;
}
div[ceots__jobs="zone_map"] {
  height: 480px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #dfe5df;
}
ul[ceots__jobs="zone_list"] {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}
ul[ceots__jobs="zone_list"] li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  font-size: 0.88rem;
}
ul[ceots__jobs="zone_list"] li:first-child {
  border-top: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
}
ul[ceots__jobs="zone_list"] li:last-child {
  border-radius: 0 0 6px 6px;
}
ul[ceots__jobs="zone_list"] li:only-child {
  border-radius: 6px;
}
button.property__open {
  font: inherit;
  font-size: 0.88rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}
.zone__label {
  font-size: 0.78rem;
  font-weight: 600;
}
div[ceots__jobs="survey"],
div[ceots__jobs="review"],
div[ceots__jobs="deliverable"],
div[ceots__jobs="costing"] {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
}
div[ceots__jobs="survey"] h3,
div[ceots__jobs="review"] h3,
div[ceots__jobs="deliverable"] h3,
div[ceots__jobs="costing"] h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}
div[ceots__jobs="survey"] button,
div[ceots__jobs="review"] button,
div[ceots__jobs="deliverable"] button,
div[ceots__jobs="costing"] button {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}
div[ceots__jobs="survey"] button:disabled,
div[ceots__jobs="review"] button:disabled,
div[ceots__jobs="deliverable"] button:disabled,
div[ceots__jobs="costing"] button:disabled {
  opacity: 0.5;
  cursor: default;
}
.survey__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 0.75rem 0;
}
.survey__row label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.survey__row input,
.survey__row select {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
ol[ceots__jobs="survey_checklist"] {
  margin: 0.5rem 0;
  padding-left: 1.4rem;
  font-size: 0.88rem;
}
ol[ceots__jobs="survey_checklist"] li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
}
ol[ceots__jobs="survey_checklist"] .survey__meta {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}
div[ceots__jobs="survey_player"] iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 6px;
  background: #000;
}
.review__zone {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0;
}
.review__zone h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.review__zone .review__confirmed {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
}
.review__zone .review__unconfirmed {
  color: #a15c00;
  font-size: 0.75rem;
  font-weight: 600;
}
.review__zone .review__declared {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.review__zone .review__photos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.review__zone .review__photos img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.review__zone ul {
  margin: 0.5rem 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--ink);
}
.checklist__answer {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
}
.checklist__answer input {
  flex: 1;
  font: inherit;
  font-size: 0.82rem;
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.checklist__answer button {
  padding: 0.25rem 0.6rem !important;
  font-size: 0.78rem !important;
}
button.secondary {
  background: #fff !important;
  color: var(--brand) !important;
}
table[ceots__jobs="draft_table"] {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
table[ceots__jobs="draft_table"] th,
table[ceots__jobs="draft_table"] td {
  text-align: left;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
table[ceots__jobs="draft_table"] td.num,
table[ceots__jobs="draft_table"] th.num {
  text-align: right;
  white-space: nowrap;
}
table[ceots__jobs="draft_table"] .draft__option {
  color: var(--muted);
  font-size: 0.75rem;
}
.draft__banner {
  margin: 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid #a15c00;
  background: #fff8ec;
  font-size: 0.82rem;
}
.money__editor {
  margin-top: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}
div[ceots__jobs="deliverable_clips"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.75rem 0;
}
.clip {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
}
.clip h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}
.clip iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 4px;
  background: #000;
}
.clip__approved {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
}
.clip__pending {
  color: #a15c00;
  font-size: 0.75rem;
  font-weight: 600;
}
.cost__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.6rem;
  margin: 0.6rem 0;
}
.cost__grid div {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
}
.cost__grid span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.cost__grid strong {
  font-size: 1.05rem;
}
.cost__warn {
  color: #a15c00;
  font-weight: 600;
}
div[ceots__jobs="reports"] {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 1rem;
}
div[ceots__jobs="reports"] h4 {
  margin: 0.5rem 0 0.25rem;
  font-size: 0.9rem;
}
