:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5ef;
  color: #172b22;
  font-weight: 400;
  --muted: #52645a;
  --line: #dce4db;
  --green: #174b38;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #247759; outline-offset: 3px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2rem, 49rem); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 4.2rem; }
.bar img { object-fit: contain; }
.bar span { color: var(--muted); font-size: .875rem; }
main { padding-block: 2rem; }
.property {
  overflow: hidden;
  background: #193b2c;
  color: #fff;
  border-radius: 1.125rem;
}
.property-info { padding: clamp(1.25rem, 4vw, 2rem); }
h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
dl { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 1.375rem; }
dt { color: #c3dfc9; font-size: .875rem; }
dd { font-weight: 600; font-variant-numeric: tabular-nums; margin-top: .15rem; }
.section-heading { margin-block: 1.9rem 1rem; }
h2 { font-size: clamp(1.375rem, 4vw, 1.85rem); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
#sections { display: grid; gap: 1rem; }
.upload-card { padding: clamp(1.125rem, 3.5vw, 1.5rem); background: white; border: 1px solid var(--line); border-radius: 1rem; }
.card-main { display: grid; gap: 1rem; }
h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.25; letter-spacing: -.015em; margin-block: .2rem; }
.instructions { color: var(--muted); line-height: 1.5; }
.add, .finish, .remove { min-height: 2.75rem; border-radius: .55rem; font-weight: 600; line-height: 1.25; }
.add { display: grid; grid-template-columns: clamp(5.5rem, 23vw, 8rem) minmax(0, 1fr); align-items: stretch; overflow: hidden; min-height: 4.25rem; padding: 0; background: var(--green); border: 1px solid #113b2c; color: white; text-align: left; box-shadow: 0 2px 0 #113b2c; }
.add-action { display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem; }
.camera-icon { position: relative; display: grid; place-items: center; flex: 0 0 1.125rem; height: .8125rem; border: 1.5px solid currentColor; border-radius: .2rem; }
.camera-icon::before { position: absolute; top: -.25rem; left: .18rem; width: .4rem; height: .2rem; border-radius: .1rem .1rem 0 0; background: currentColor; content: ""; }
.camera-icon::after { width: .35rem; height: .35rem; border: 1.5px solid currentColor; border-radius: 50%; content: ""; }
.add:not(:disabled):hover { background: #216248; }
.add:not(:disabled):active { transform: translateY(2px); box-shadow: none; }
.add:disabled { background: #405b4e; box-shadow: none; }
.example {
  aspect-ratio: 1.5;
  min-height: 3rem;
  border-right: 1px solid #ffffff40;
  background: url(cleaning-cartoons.jpg) var(--example-position, left) 54% / 300% auto no-repeat border-box;
}
.damage { --example-position: center; }
.after { --example-position: right; }
#damage-camera { width: min(100% - 2rem, 24rem); padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; color: inherit; background: white; }
#damage-camera::backdrop { background: #14271ec4; }
.camera-options { display: grid; gap: .5rem; margin-top: .75rem; }
.camera-options button { min-height: 2.75rem; padding: .5rem; border: 1px solid var(--line); border-radius: .55rem; background: #e9f2ea; color: var(--green); font-weight: 600; }
.camera-options button[value="cancel"] { background: white; }
.files { padding: .5rem 0 0; margin: .8rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.files li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.files a { color: var(--green); overflow-wrap: anywhere; }
.remove { border: 0; background: transparent; color: #88442e; padding-inline: .5rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.actions p { font-size: .875rem; color: var(--muted); }
.finish { min-height: 3.25rem; padding: .65rem 1.2rem; border: 0; background: var(--green); color: white; }
.finish:hover { background: #233f32; }
.finish:disabled { background: #405b4e; }
.finish span { margin-right: .25rem; }
#status:not(:empty) { margin-top: 1rem; font-weight: 600; color: var(--green); }
@media (max-width: 34rem) {
  main { padding-block: 1rem 1.5rem; }
  .bar { min-height: 3.5rem; }
  .property-info { padding: 1rem; }
  dl { margin-top: .75rem; gap: .5rem 1rem; }
  .section-heading { margin-top: 1.35rem; }
  .actions { flex-direction: column-reverse; align-items: stretch; text-align: center; }
}
