.roof-1 {
  left: 16%;
  top: 19%;
  width: 16.1%;
  height: 39%;
}
.planting-plan .box-title small,
.atlas .box-title small {
  color: #51665a;
  font-size: 0.85rem;
}
.bench-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 15px;
}
.bay-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 4px;
  background: #f0f2eb;
  border: 1px solid #d0d8cb;
  padding: 6px;
}
.bay-table th,
.bay-table td {
  padding: 0 !important;
  border: 0;
  text-align: center;
  background: none;
  color: #4b5a50;
  vertical-align: middle;
}
.bay-table th {
  font-size: 0.78rem;
  font-weight: 600;
}
.bay {
  width: 100%;
  min-height: 39px;
  border: 1px solid #8da68d;
  border-radius: 2px;
  color: #193b26;
  font-weight: 650;
  font-size: 0.88rem;
}
.tint-0 {
  background: #dae7d6;
}
.tint-1 {
  background: #e9e1eb;
}
.tint-2 {
  background: #dae4ea;
}
.tint-3 {
  background: #efe2c5;
}
.bay[aria-pressed="true"] {
  background: #193d26;
  color: white;
  border-color: #193d26;
  outline: 2px solid #193d26;
  outline-offset: 1px;
}
.bay-key {
  display: flex;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}
.bay-key li {
  font-size: 0.82rem;
}
.bay-key span {
  padding: 1px 6px;
  font-weight: 650;
}
.bay-detail,
.stop-card {
  background: #f0f4ee;
  border-left: 3px solid #436b47;
  padding: 13px 16px;
}
.bay-detail h3,
.stop-card h3 {
  font-size: 1.2rem;
  margin: 4px 0;
  letter-spacing: -0.02em;
}
.bay-detail small,
.bay-detail b {
  display: block;
}
.bay-detail small {
  color: var(--muted);
  margin-top: 12px;
}
.map-mode {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  padding:1px;
  margin:0 0 12px;
  background:#a8b6ac;
}
.map-mode button {
  min-width:0;
  min-height:44px;
  padding:7px 8px;
  border:0;
  border-radius:0;
  background:white;
  color:#30513a;
  font-weight:600;
}
.map-mode button:hover {background:#edf3ec;}
.map-mode button[aria-pressed="true"] {background:#1b4228;color:white;}
@media (max-width:540px) {
  .map-mode {grid-template-columns:repeat(2,minmax(0,1fr));}
}
.atlas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.territory-map {
  width: 100%;
  aspect-ratio: 840/690;
  position: relative;
  isolation: isolate;
  margin-top: 14px;
  border: 1px solid #c9cdbf;
  overflow: hidden;
  background: #eff1e9;
}
.territory-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.site-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(24px, 3.6vw, 32px);
  height: clamp(24px, 3.6vw, 32px);
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--pin);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}
.site-pin[aria-pressed="true"] {
  outline: 2px solid #172b1e;
  outline-offset: 1px;
  z-index: 1;
}
.site-pin:focus-visible {
  outline: 3px solid #9d4604;
  z-index: 2;
}
.map-north {
  position: absolute;
  right: 9px;
  top: 8px;
  color: #34483b;
  background: #fffffff0;
  padding: 4px 7px;
  font-size: 0.76rem;
  font-weight: 700;
}
.map-attribution {
  display: flex;
  justify-content: space-between;
  gap: 4px 14px;
  flex-wrap: wrap;
  margin: 6px 0 12px;
  color: #536158;
  font-size: 0.74rem;
}
.stop-card small {
  display: block;
  margin-top: 5px;
  color: #536158;
}
.stop-list label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
  font-size: 0.88rem;
}
.stop-list ol {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.stop-option {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  background: white;
  border: 0;
  border-top: 1px solid #d9ded8;
  width: 100%;
  border-radius: 0;
  padding: 9px 5px;
}
.stop-option[aria-pressed="true"] {
  background: #edf3eb;
}
.stop-option span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pin);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.stop-option small,
.stop-option b {
  display: block;
}
.stop-option small {
  color: #59665e;
  font-size: 0.83rem;
}
.map-launch {
  margin: 0 0 12px;
}
.map-launch button {
  color: #254e2f;
}
@media (max-width: 760px) {
  .atlas-layout,
  .bench-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .atlas-layout .box {
    margin-bottom: 4px;
  }
  .map-mode button {
    padding: 8px 10px;
    font-size: 0.87rem;
  }
  .bay-table {
    padding: 3px;
    border-spacing: 3px;
  }
  .bay-table th:first-child {
    width: 25px;
  }
  .bay {
    min-height: 35px;
    font-size: 0.78rem;
  }
  .bay-detail small {
    margin-top: 6px;
  }
  .territory-map {
    margin-top: 10px;
  }
  .bay-table th:last-child,
  .bay-table td:last-child {
    text-align: center;
  }
}

.water-launch {display:flex;align-items:center;gap:.35rem 1rem;flex-wrap:wrap;margin:.5rem 0 .7rem;}
.water-launch small {color:#495e50;font-size:.86rem;}
.water-plan .water-launch a {display:inline-flex;align-items:center;min-height:44px;padding:.45rem .8rem;background:#245337;color:white;border-radius:3px;text-decoration:none;font-weight:600;}
.route-tools-toggle {display:none;}
@media(max-width:760px){
 .route-tools-toggle {display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;gap:.5rem;padding:.55rem .7rem;border:1px solid #b4c3b6;background:#edf3ec;color:#294631;text-align:left;margin:0 0 .5rem;font:inherit;}
 .route-tools-toggle span:last-child {text-decoration:underline;text-underline-offset:3px;}
 .route-tools-toggle[aria-expanded="false"] + #route-filter-panel {display:none;}
 .atlas:has(.water-plan)>.box-title,.atlas:has(.water-plan)>.map-caption {display:none;}
 .atlas:has(.water-plan) .water-area-picker {margin:0;}
}

.water-plan iframe {width:100%;height:clamp(280px,38vw,420px);display:block;border:1px solid #bdc9bf;}
.water-route-head,.water-stop-row {display:flex;align-items:center;gap:.65rem;}
.water-route-head {justify-content:space-between;flex-wrap:wrap;margin:.9rem 0 .35rem;}
.water-route-head h3 {margin:0;font-size:1.04rem;}
.water-plan a {color:#245337;font-size:.9rem;text-underline-offset:3px;}
.water-stops {list-style:none;padding:0;margin:0 0 1rem;}
.water-stops li {border-top:1px solid #d6ded6;padding:.45rem 0;}
.water-stop-number {display:grid;place-items:center;min-width:1.6rem;height:1.6rem;background:#edf3ec;color:#254932;font-weight:650;}
.water-stop-row > div {flex:1;}
.water-stops small {display:block;color:#4b5f50;font-size:.86rem;}
.water-stops a {display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;}
.dialog:has(.water-plan) {width:min(94vw,760px);}
@media(max-width:760px){
 .atlas-layout:has(.water-plan) {display:flex;flex-direction:column;}
 .atlas-layout:has(.water-plan)>.box {width:100%;}
}
@media(max-width:440px){
 .dialog:has(.water-plan) {padding:15px;}
}
.water-area-picker {display:none}
@media(max-width:760px){
 .water-area-picker {display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:.65rem 0;color:#354b3c}
 .water-area-picker select {max-width:100%;min-height:38px}
}

.delivery-plan {margin:1rem 0;color:#253c2e}
.delivery-plan h3 {font-size:1.17rem;margin:0}
.delivery-plan .placement-count {margin:.2rem 0 .75rem;color:#43584a}
.placement-canvas {position:relative;aspect-ratio:600/340;border:1px solid #b6c2b4;isolation:isolate;overflow:hidden}
.placement-canvas svg {position:absolute;inset:0;width:100%;height:100%}
.placement-pin {position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:clamp(25px,3.5vw,35px);height:clamp(25px,3.5vw,35px);padding:0;background:#82472c;color:#fff;border:2px solid white;border-radius:50%;font:700 .85rem/1 system-ui}
.placement-pin[aria-pressed="true"] {background:#244e36;outline:2px solid #244e36;outline-offset:1px}
.placement-pin:focus-visible {outline:3px solid #152f22;outline-offset:2px}
.placement-detail {display:grid;gap:.15rem;background:#eef3ec;border-left:3px solid #356445;padding:.6rem .85rem}
.delivery-plan .placement-note,.delivery-google p {font-size:.86rem;margin:.48rem 0 .8rem;color:#4d6051}
.delivery-google {border-block:1px solid #c8d1c5}
.delivery-google summary {cursor:pointer;color:#2b533c;font-weight:650;padding:.75rem 0}
.delivery-google iframe {display:block;width:100%;height:clamp(210px,35vw,325px);border:0}
.delivery-google a {display:inline-block;margin:.55rem 0 .7rem;color:#28583a}
.dialog:has(.delivery-plan) {width:min(94vw,760px)}
@media(max-width:530px){
 .placement-canvas {aspect-ratio:600/435}
 .placement-canvas text {font-size:19px}
 .dialog:has(.delivery-plan) {padding:15px}
}

.delivery-ticket dl {margin:1rem 0;}
.delivery-ticket dl div {padding:.7rem 0;border-top:1px solid var(--line);}
.delivery-ticket dt {color:var(--muted);font-size:.88rem;margin:0 0 .2rem;}
.delivery-ticket dd {margin:0;font-weight:600;}
.delivery-layout .delivery-plan {margin:0;}
.delivery-layout .delivery-plan h2 {font-size:1.35rem;}
.delivery-layout .placement-count {margin:.25rem 0 1rem;}
@media(max-width:760px){
  .delivery-layout {display:flex;flex-direction:column;}
  .delivery-layout>.box {width:100%;}
}

.report-head:has(+ #intro[hidden]) {margin-bottom:1rem;}
.report-head:has(+ #intro[hidden]) .eyebrow {display:none;}

.field-notes {margin:0 0 .2rem 2.25rem;}
.field-notes summary {color:#265134;font-weight:600;font-size:.92rem;cursor:pointer;width:fit-content;min-height:44px;align-content:center;}
.note-content {border-left:2px solid #ccdacd;padding:0 .75rem .65rem;}
.note-history article {padding:.4rem 0 .6rem;overflow-wrap:anywhere;}
.note-history article p {white-space:pre-wrap;margin:.25rem 0;}
.field-note-form {display:grid;gap:.45rem;justify-items:start;}
.field-note-form label {display:grid;gap:.2rem;width:100%;font-weight:600;}
.field-note-form select,.field-note-form textarea {width:100%;max-width:100%;min-height:44px;padding:.5rem;font:inherit;font-size:1rem;font-weight:400;border:1px solid #aebdaf;border-radius:3px;background:white;color:#243c2c;}
.field-note-form textarea {resize:vertical;}
.field-note-form .quiet {min-height:44px;padding:.4rem .7rem;border:1px solid #79947e;border-radius:3px;}
.note-status {font-size:.9rem;color:#305337;}
.note-status:empty {display:none;}
@media(max-width:480px){.field-notes{margin-left:0;}}

.route-assignment {margin:.35rem 0 .5rem;color:#354b3c;font-size:.94rem}
.watering-status {margin-inline-start:auto;text-align:end;font-weight:650}
.stop-option .watering-status[data-state="Completed"] {color:#285436}
.stop-option .watering-status[data-state="In progress"] {color:#784d19}
.pot-picker {display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .8rem;padding:.55rem 0;font-weight:600}
.pot-picker select {min-height:44px;max-width:100%;font:inherit;font-weight:400}
@media(min-width:761px){.route-assignment {display:none}}
