/* water-test.css — 簡易CAD用（map-test.html と併用） */
#waterCadOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: #111;
  flex-direction: column;
}
#waterCadOverlay.open { display: flex; }
#waterCadHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #1a237e;
  color: #fff;
  flex-shrink: 0;
}
#waterCadMapWrap {
  flex: 1;
  position: relative;
  min-height: 0;
}
#waterCadMap { width: 100%; height: 100%; }
#waterCadPanel {
  background: #1e1e1e;
  color: #eee;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  flex-shrink: 0;
  border-top: 1px solid #333;
}
.water-cad-btn {
  border: none;
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
}
.water-cad-btn:disabled { opacity: 0.5; cursor: default; }
.water-cad-btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.water-cad-btn-row .water-cad-btn { flex: 1; min-width: 90px; }
